modified AC_PREREQ for older distributions #86
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: fetchmail Ubuntu, Mac OSX CI | |
on: | |
push: | |
paths: | |
- '**/fetchmail-x/**' | |
- .github/workflows/fetchmail-c-cpp.yml | |
- '!**/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 openssl; fi | |
if [ "${OS}" = "ubuntu-latest" ] ; then sudo apt-get install gcc g++ automake autoconf libtool gettext autopoint; fi | |
env: | |
OS: ${{ matrix.host }} | |
- name: checkout_main | |
uses: actions/checkout@v2 | |
- name: build fetchmail | |
run: | | |
cd fetchmail-x | |
if [ "${OS}" = "macos-latest" ] ; then env CPPFLAGS="-I/usr/local/opt/[email protected]/include" LDFLAGS="-L/usr/local/opt/[email protected]/lib" ./default.configure; else ./default.configure; fi | |
if [ "${OS}" = "macos-latest" ] ; then env CPPFLAGS="-I/usr/local/opt/[email protected]/include" LDFLAGS="-L/usr/local/opt/[email protected]/lib" make; else make; fi | |
env: | |
OS: ${{ matrix.host }} |