name: Build and test (latest Ubuntu/macOS) on: [push, pull_request] jobs: build: runs-on: ${{ matrix.os }} strategy: matrix: os: [ubuntu-latest, macos-latest] steps: - uses: actions/checkout@v4 - name: install macOS autogen prerequisites run: brew install autoconf automake libtool if: runner.os == 'macOS' - name: bootstrap run: ./bootstrap - name: configure run: ./configure - name: make run: make - name: make check run: make check - name: make distcheck run: make distcheck if: runner.os == 'Linux'