-
-
Notifications
You must be signed in to change notification settings - Fork 4
42 lines (40 loc) · 1.05 KB
/
build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: build
on: [ push, pull_request ]
jobs:
ubuntu:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
include:
- postgres: 15
os: ubuntu-22.04
# - postgres: 14
# os: ubuntu-22.04
# - postgres: 13
# os: ubuntu-20.04
# - postgres: 12
# os: ubuntu-20.04
# - postgres: 11
# os: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- uses: ankane/setup-postgres@v1
with:
postgres-version: ${{ matrix.postgres }}
dev-files: true
- name: Install dependencies
run: |
sudo apt update
sudo apt install -y build-essential \
pkg-config \
autoconf \
libtool \
jq libjq-dev
- run: make
env:
PG_CFLAGS: #-Wall -Wextra -Werror -Wno-unused-parameter -Wno-sign-compare
- run: |
export PG_CONFIG=`which pg_config`
sudo --preserve-env=PG_CONFIG make install
- run: make installcheck