Merge pull request #328 from thegushi/fix/issue-262-spf-helo-macro-v2 #2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: | |
| push: | |
| branches: [ develop ] | |
| pull_request: | |
| branches: [ develop ] | |
| 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 | |
| - name: Build miltertest from OpenDKIM | |
| run: | | |
| git clone --depth=1 https://github.com/trusteddomainproject/OpenDKIM.git /tmp/opendkim | |
| cd /tmp/opendkim | |
| autoreconf -fvi | |
| ./configure --enable-lua CFLAGS='-g -O2 -Wno-pointer-sign' | |
| make -j$(nproc) | |
| sudo make -C miltertest 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: Test | |
| run: make check |