-
Notifications
You must be signed in to change notification settings - Fork 2
62 lines (51 loc) · 1.38 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
name: build
on: [ push, pull_request ]
jobs:
ubuntu:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
include:
- postgres: 18
os: ubuntu-24.04
- postgres: 17
os: ubuntu-24.04
- postgres: 16
os: ubuntu-22.04
- postgres: 15
os: ubuntu-22.04
- postgres: 14
os: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- run: |
sudo apt update
- uses: ankane/setup-postgres@v1
with:
postgres-version: ${{ matrix.postgres }}
dev-files: true
- run: make PG_CFLAGS=-Wno-declaration-after-statement -Wno-format-security
- run: sudo make install
- run: make installcheck
- if: ${{ failure() }}
run: cat regression.diffs
mac:
runs-on: ${{ matrix.os }}
if: ${{ !startsWith(github.ref_name, 'windows') }}
strategy:
fail-fast: false
matrix:
include:
- postgres: 17
os: macos-14
steps:
- uses: actions/checkout@v4
- uses: ankane/setup-postgres@v1
with:
postgres-version: ${{ matrix.postgres }}
- run: make PG_CFLAGS=-Wno-declaration-after-statement -Wno-format-security
- run: make install
- run: make installcheck
- if: ${{ failure() }}
run: cat regression.diffs