Skip to content

moved repository to indimail org #229

moved repository to indimail org

moved repository to indimail org #229

name: libqmail Ubuntu, Mac OSX CI
on:
push:
paths:
- '**'
- .github/workflows/libqmail-c-cpp.yml
- '!**/debian/*'
- '!**/libqmail.spec.in'
- '!**/doc/*'
- '!**.md'
- '!**.3'
- '!**/obs/*'
- '!**/libqmail-freebsd.yml'
- '!**/libqmail-obs.yml'
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: checkout
uses: actions/checkout@v2
- name: Darwin
run: |
if [ "${OS}" = "macos-latest" ]; then brew install automake autoconf libtool pkgconfig openssl; fi
if [ "${OS}" = "ubuntu-latest" ] ; then sudo apt-get install gcc g++ automake autoconf libtool libssl-dev libsodium-dev; fi
env:
OS: ${{ matrix.host }}
- name: configure
run: env CPPFLAGS="-I/usr/local/opt/openssl@1.1/include" LDFLAGS="-L/usr/local/opt/openssl@1.1/lib" ./default.configure
- name: make
run: env CPPFLAGS="-I/usr/local/opt/openssl@1.1/include" LDFLAGS="-L/usr/local/opt/openssl@1.1/lib" make