Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit bdbc327

Browse files
committed
Update c-cpp.yml
Arrange with stable15 and use -O2 optimization because pg with O3 can't compile
1 parent 2f6f36f commit bdbc327

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/c-cpp.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,10 @@ on:
44
push:
55
branches: [ stable13 ]
66
pull_request:
7-
87
branches: [ stable13 ]
98

109
env:
11-
BRANCH_NAME: ${{ github.head_ref || github.ref_name }}
10+
BRANCH_NAME: ${{ github.head_ref || github.ref_name }}
1211

1312
jobs:
1413
build:
@@ -19,6 +18,7 @@ jobs:
1918
- name: pg
2019
run: |
2120
sudo apt install libipc-run-perl
21+
2222
echo "Deploying to production server on branch" $BRANCH_NAME
2323
git config --global user.email "ci@postgrespro.ru"
2424
git config --global user.name "CI PgPro admin"
@@ -28,10 +28,10 @@ jobs:
2828
cd pg
2929
3030
git checkout REL_13_STABLE
31-
./configure $CONFIGURE_OPTS CFLAGS="-O3"
3231
git clone https://github.com/postgrespro/aqo.git contrib/aqo
3332
git -C contrib/aqo checkout $BRANCH_NAME
3433
patch -p1 --no-backup-if-mismatch < contrib/aqo/aqo_pg13.patch
34+
./configure $CONFIGURE_OPTS CFLAGS="-O2"
3535
make -j4 > /dev/null && make -j4 -C contrib > /dev/null
3636
env CLIENTS=50 THREADS=50 make -C contrib/aqo check
3737

aqo.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
autovacuum = off
22
shared_preload_libraries = 'postgres_fdw, aqo'
33
max_parallel_maintenance_workers = 1 # switch off parallel workers because of unsteadiness
4-
aqo.wide_search = 'on'
4+
aqo.wide_search = 'on'

0 commit comments

Comments
 (0)