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

Stable11 ci #30

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
Jun 13, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 38 additions & 0 deletions .github/workflows/c-cpp.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: 'C/C++ CI for the stable11'

on:
push:
branches: [ stable11 ]
pull_request:
branches: [ stable11 ]

jobs:
build:

runs-on: ubuntu-latest

steps:
- name: pg
run: |
echo "Deploying to production server on branch $GITHUB_REF"
git config --global user.email "ci@postgrespro.ru"
git config --global user.name "CI PgPro admin"
git clone https://github.com/postgres/postgres.git pg
cd pg
git checkout REL_11_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_pg11.patch
make -j4 > /dev/null && make -j4 -C contrib > /dev/null
make -C contrib/aqo check

git reset --hard HEAD
git clean -fdx

# Test for PG10
git checkout REL_10_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_pg11.patch
make -j4 > /dev/null && make -j4 -C contrib > /dev/null
make -C contrib/aqo check