@@ -2,45 +2,45 @@ name: Build / Regression
22
33on :
44 push :
5- branches : [ 'master', 'PG15 ' ]
5+ branches : [ 'master', 'PG16 ' ]
66 pull_request :
7- branches : [ 'master', 'PG15 ' ]
7+ branches : [ 'master', 'PG16 ' ]
88
99jobs :
1010 build :
1111 runs-on : ubuntu-latest
1212
1313 steps :
14- - name : Get latest commit id of PostgreSQL 15
14+ - name : Get latest commit id of PostgreSQL 16
1515 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
1717
18- - name : Cache PostgreSQL 15
18+ - name : Cache PostgreSQL 16
1919 uses : actions/cache@v3
20- id : pg15cache
20+ id : pg16cache
2121 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 }}
2424
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'
2727 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
3131 make install -j$(nproc) > /dev/null
3232
3333 - uses : actions/checkout@v3
3434
3535 - name : Build
3636 id : build
3737 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)
3939
4040 - name : Regression tests
4141 id : regression_tests
4242 run : |
43- make PG_CONFIG=$HOME/pg15 /bin/pg_config installcheck
43+ make PG_CONFIG=$HOME/pg16 /bin/pg_config installcheck
4444 continue-on-error : true
4545
4646 - name : Dump regression test errors
0 commit comments