Skip to content

Fixed CI

Fixed CI #84

Workflow file for this run

name: build
on: [push, pull_request]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-22.04]
postgres-version: [12]
steps:
- uses: actions/checkout@v4
- uses: ./.
with:
postgres-version: ${{ matrix.postgres-version }}
config: |
shared_preload_libraries = 'pg_stat_statements'
database: testdb
dev-files: ${{ matrix.postgres-version == 12 }}
- run: createdb testdb2
- run: psql -d testdb -c 'SHOW server_version'
- run: psql -d testdb -h localhost -c 'SHOW server_version'
- run: psql --version
- run: pg_config
- if: ${{ matrix.postgres-version == 12 }}
run: test -f $(pg_config --includedir-server)/postgres.h