8000 Add CI script to automatize 'make check' on each commit. · postgrespro/aqo@2667678 · GitHub
[go: up one dir, main page]

Skip to content

Commit 2667678

Browse files
danolivoAndrey Lepikhov
authored andcommitted
Add CI script to automatize 'make check' on each commit.
Enable ICU and TAP tests in the AQO CI
1 parent 9b8c598 commit 2667678

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 stable13'
2+
3+
on:
4+
push:
5+
branches: [ stable13 ]
6+
pull_request:
7+
branches: [ stable13 ]
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_13_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)
0