name: build on: [push] jobs: build: strategy: matrix: platform: [ubuntu-latest, macos-latest] runs-on: ${{ matrix.platform }} steps: - uses: actions/checkout@v1 - name: install dependencies run: | if [ "$RUNNER_OS" == "Linux" ]; then sudo apt-get install cython elif [ "$RUNNER_OS" == "macOS" ]; then if test -x "`which port`"; then sudo port install libtool autoconf automake cython else brew install libtool autoconf automake cython fi else echo "$RUNNER_OS not supported" exit 1 fi shell: bash - name: autogen run: ./autogen.sh - name: make run: make - name: make check run: make check - name: make distcheck run: make distcheck