-
Notifications
You must be signed in to change notification settings - Fork 55
30 lines (26 loc) · 961 Bytes
/
c-cpp.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
name: 'C/C++ CI for the stable12 branch'
on:
push:
branches: [ stable12* ]
pull_request:
branches: [ stable12* ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Install additional packages
run: sudo apt-get install -y libperl-dev libipc-run-perl
- name: check
run: |
echo "Deploying to production server on branch $GITHUB_REF"
git config --global user.email "[email protected]"
git config --global user.name "CI PgPro admin"
git clone https://github.com/postgres/postgres.git pg
cd pg
git checkout REL_12_STABLE
./configure --prefix=`pwd`/tmp_install
git subtree add --prefix=contrib/aqo https://github.com/postgrespro/aqo.git $GITHUB_REF
patch -p1 --no-backup-if-mismatch < contrib/aqo/aqo_pg12.patch
make -j4 > /dev/null && make -j4 -C contrib > /dev/null
make -C contrib/aqo check
make -C contrib/aqo aqo-regress