Skip to content

fix: declare opendmarc_policy_fetch_fo() in dmarc.h.in (#407) #156

fix: declare opendmarc_policy_fetch_fo() in dmarc.h.in (#407)

fix: declare opendmarc_policy_fetch_fo() in dmarc.h.in (#407) #156

Workflow file for this run

name: CI
on:
push:
branches: [ develop ]
paths-ignore:
- '**.md'
- 'doc/**'
- 'contrib/**'
pull_request:
branches: [ develop ]
paths-ignore:
- '**.md'
- 'doc/**'
- 'contrib/**'
workflow_dispatch:
jobs:
build-test-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install dependencies
run: |
sudo apt-get update -q
sudo apt-get install -y \
autoconf automake libtool pkg-config \
libssl-dev libmilter-dev \
lua5.4 liblua5.4-dev \
libdbi-perl libwww-perl libio-compress-perl libjson-perl \
libnet-dns-perl
- name: Build miltertest
run: |
git clone --depth=1 https://github.com/thegushi/miltertest.git /tmp/miltertest
cd /tmp/miltertest
autoreconf -fvi
./configure CFLAGS='-g -O2 -Wno-pointer-sign'
make -j$(nproc)
sudo make install
- name: Bootstrap build system
run: autoreconf -fvi
- name: Configure
run: |
./configure --enable-live-tests \
CFLAGS='-g -O2 -Wno-pointer-sign'
- name: Build
run: make -j$(nproc)
- name: Check Perl syntax
run: |
perl -c reports/opendmarc-expire
perl -c reports/opendmarc-import
perl -c reports/opendmarc-importstats
perl -c reports/opendmarc-params
perl -c reports/opendmarc-reports
- name: Test
run: make check