name: build on: [push, pull_request] jobs: ubuntu: runs-on: ${{ matrix.os }} if: ${{ !startsWith(github.ref_name, 'mac') && !startsWith(github.ref_name, 'windows') }} strategy: fail-fast: false matrix: include: - postgres: 17 os: ubuntu-22.04 - postgres: 16 os: ubuntu-22.04 - postgres: 15 os: ubuntu-22.04 - postgres: 14 os: ubuntu-22.04 - postgres: 13 os: ubuntu-20.04 - postgres: 12 os: ubuntu-20.04 steps: - uses: actions/checkout@v4 - uses: ankane/setup-postgres@v1 with: postgres-version: ${{ matrix.postgres }} dev-files: true - run: make env: PG_CFLAGS: -Wall -Wextra -Werror -Wno-unused-parameter -Wno-sign-compare - run: sudo make install - run: make installcheck - if: ${{ failure() }} run: cat regression.diffs - run: | sudo apt-get update sudo apt-get install libipc-run-perl - run: make prove_installcheck