updated run_type field in bogofilter.cf #132
This file contains 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: indimail-spamfilter Ubuntu, Mac OSX CI | |
on: | |
push: | |
paths: | |
- '**/indimail-spamfilter-x/**' | |
- '**/prepare_obs' | |
- '**/catChangeLog' | |
- .github/workflows/indimail-spamfilter-c-cpp.yml | |
- '!**/indimail-spamfilter-x/debian/*' | |
- '!**/doc/*' | |
- '!**.md' | |
workflow_dispatch: | |
jobs: | |
build: | |
name: ${{ matrix.host }}-${{ matrix.config.name }} | |
runs-on: ${{ matrix.host }} | |
strategy: | |
fail-fast: false | |
matrix: | |
host: [ubuntu-latest, macos-latest] | |
steps: | |
- name: extra_packages | |
run: | | |
if [ "${OS}" = "macos-latest" ] ; then brew install automake autoconf libtool pkgconfig xmlto asciidoc docbook docbook-xsl berkeley-db; fi | |
if [ "${OS}" = "ubuntu-latest" ] ; then sudo apt-get update && sudo apt-get install gcc g++ automake autoconf libtool xmlto libgsl-dev bison flex libdb-dev; fi | |
env: | |
OS: ${{ matrix.host }} | |
- name: checkout_main | |
uses: actions/checkout@v2 | |
- name: build indimail-spamfilter | |
run: | | |
cd indimail-spamfilter-x | |
if [ "${OS}" = "macos-latest" ] ; then env CPPFLAGS="-I/opt/local/include -I/usr/local/Cellar/berkeley-db/18.1.40_2/include" LDFLAGS=-L/usr/local/Cellar/berkeley-db/18.1.40_2/lib ./default.configure --with-libdb-prefix=/usr/local/Cellar/berkeley-db/18.1.40_2/lib; else ./default.configure; fi | |
if [ "${OS}" = "macos-latest" ] ; then env XML_CATALOG_FILES=/usr/local/etc/xml/catalog make; else make; fi | |
env: | |
OS: ${{ matrix.host }} |