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

Commit 1576416

Browse files
danolivoAndrey Lepikhov
authored and
Andrey Lepikhov
committed
Add CI script to automatize 'make check' on each commit.
Enable ICU and TAP tests in the AQO CI
1 parent d4be235 commit 1576416

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

.github/workflows/c-cpp.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: 'C/C++ CI for the stable12 branch'
2+
3+
on:
4+
push:
5+
branches: [ stable12* ]
6+
pull_request:
7+
branches: [ stable12* ]
8+
9+
jobs:
10+
build:
11+
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- name: Install additional packages
16+
run: sudo apt-get install -y libperl-dev libipc-run-perl
17+
- name: pg
18+
run: |
19+
echo "Deploying to production server on branch $GITHUB_REF"
20+
git config --global user.email "ci@postgrespro.ru"
21+
git config --global user.name "CI PgPro admin"
22+
git clone https://github.com/postgres/postgres.git pg
23+
cd pg
24+
git checkout REL_12_STABLE
25+
./configure --prefix=`pwd`/tmp_install
26+
git subtree add --prefix=contrib/aqo https://github.com/postgrespro/aqo.git $GITHUB_REF
27+
patch -p1 --no-backup-if-mismatch < contrib/aqo/aqo_pg13.patch
28+
make -j4 > /dev/null && make -j4 -C contrib > /dev/null
29+
make -C contrib/aqo check

0 commit comments

Comments
 (0)