-
Notifications
You must be signed in to change notification settings - Fork 116
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
Adds gh actions pipeline for build & test #136
Open
gurkanindibay
wants to merge
9
commits into
master
Choose a base branch
from
hll-gha
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 6 commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
edc96c3
Adds gh actions pipeline for build & test
gurkanindibay 14cfc09
Adds gh actions pipeline for build & test
gurkanindibay 1629991
Fixes yml error
gurkanindibay 2065e11
Fixes yml error
gurkanindibay 3f59dd5
Adds matrix parameter as env variable
gurkanindibay 9f54efb
Update build-package.yml
gurkanindibay 26dc105
Fix broken tests for v2.17
hanefi de8bcb6
Update .github/workflows/build-package.yml
hanefi 96d234f
Fixes pg15 build
gurkanindibay File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
name: Build & Test HLL | ||
|
||
env: | ||
PG_PRELOAD: hll | ||
on: | ||
push: | ||
branches: | ||
- "**" | ||
|
||
workflow_dispatch: | ||
|
||
jobs: | ||
build_package: | ||
name: Build | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
PGVERSION: | ||
- 9.4 | ||
- 9.5 | ||
- 9.6 | ||
hanefi marked this conversation as resolved.
Show resolved
Hide resolved
|
||
- 10 | ||
- 11 | ||
- 12 | ||
- 13 | ||
- 14 | ||
- 15 | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v2 | ||
|
||
- name: Clone tools branch | ||
run: git clone -b v0.8.18 --depth=1 https://github.com/citusdata/tools.git tools | ||
|
||
- name: Install package dependencies | ||
run: sudo apt-get update && sudo apt-get install libcurl4-openssl-dev libssl-dev python3-testresources | ||
|
||
|
||
- name: Before Install | ||
run: | | ||
sudo make -C tools install | ||
setup_apt | ||
nuke_pg | ||
env: | ||
PGVERSION: ${{ matrix.PGVERSION }} | ||
|
||
- name: Install | ||
run: | | ||
install_uncrustify | ||
install_pg | ||
env: | ||
PGVERSION: ${{ matrix.PGVERSION }} | ||
|
||
- name: Before Script | ||
run: | | ||
config_and_start_cluster | ||
echo "extra_float_digits = 0" >> "/etc/postgresql/${PGVERSION}/test/postgresql.conf" | ||
pg_ctlcluster "${PGVERSION}" test restart | ||
env: | ||
PGVERSION: ${{ matrix.PGVERSION }} | ||
|
||
- name: Script | ||
run: | | ||
pg_travis_test | ||
env: | ||
PGVERSION: ${{ matrix.PGVERSION }} |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These PG versions are not supported anymore. We can drop them.