@@ -2,45 +2,45 @@ name: Build / Regression
2
2
3
3
on :
4
4
push :
5
- branches : [ 'master', 'PG15 ' ]
5
+ branches : [ 'master', 'PG16 ' ]
6
6
pull_request :
7
- branches : [ 'master', 'PG15 ' ]
7
+ branches : [ 'master', 'PG16 ' ]
8
8
9
9
jobs :
10
10
build :
11
11
runs-on : ubuntu-latest
12
12
13
13
steps :
14
- - name : Get latest commit id of PostgreSQL 15
14
+ - name : Get latest commit id of PostgreSQL 16
15
15
run : |
16
- echo "PG_COMMIT_HASH=$(git ls-remote git://git.postgresql.org/git/postgresql.git refs/heads/REL_15_STABLE | awk '{print $1}')" >> $GITHUB_ENV
16
+ echo "PG_COMMIT_HASH=$(git ls-remote git://git.postgresql.org/git/postgresql.git refs/heads/REL_16_STABLE | awk '{print $1}')" >> $GITHUB_ENV
17
17
18
- - name : Cache PostgreSQL 15
18
+ - name : Cache PostgreSQL 16
19
19
uses : actions/cache@v3
20
- id : pg15cache
20
+ id : pg16cache
21
21
with :
22
- path : ~/pg15
23
- key : ${{ runner.os }}-v1-pg15 -${{ env.PG_COMMIT_HASH }}
22
+ path : ~/pg16
23
+ key : ${{ runner.os }}-v1-pg16 -${{ env.PG_COMMIT_HASH }}
24
24
25
- - name : Install PostgreSQL 15
26
- if : steps.pg15cache .outputs.cache-hit != 'true'
25
+ - name : Install PostgreSQL 16
26
+ if : steps.pg16cache .outputs.cache-hit != 'true'
27
27
run : |
28
- git clone --depth 1 --branch REL_15_STABLE git://git.postgresql.org/git/postgresql.git ~/pg15source
29
- cd ~/pg15source
30
- ./configure --prefix=$HOME/pg15 CFLAGS="-std=gnu99 -ggdb -O0" --enable-cassert
28
+ git clone --depth 1 --branch REL_16_STABLE git://git.postgresql.org/git/postgresql.git ~/pg16source
29
+ cd ~/pg16source
30
+ ./configure --prefix=$HOME/pg16 CFLAGS="-std=gnu99 -ggdb -O0" --enable-cassert
31
31
make install -j$(nproc) > /dev/null
32
32
33
33
- uses : actions/checkout@v3
34
34
35
35
- name : Build
36
36
id : build
37
37
run : |
38
- make PG_CONFIG=$HOME/pg15 /bin/pg_config install -j$(nproc)
38
+ make PG_CONFIG=$HOME/pg16 /bin/pg_config install -j$(nproc)
39
39
40
40
- name : Regression tests
41
41
id : regression_tests
42
42
run : |
43
- make PG_CONFIG=$HOME/pg15 /bin/pg_config installcheck
43
+ make PG_CONFIG=$HOME/pg16 /bin/pg_config installcheck
44
44
continue-on-error : true
45
45
46
46
- name : Dump regression test errors
0 commit comments