Skip to content

Commit

Permalink
Build PG17
Browse files Browse the repository at this point in the history
  • Loading branch information
kathia-barahona committed Aug 16, 2024
1 parent 1da6e18 commit 1309d4b
Show file tree
Hide file tree
Showing 2 changed files with 71 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,17 @@ jobs:
strategy:
max-parallel: 3
matrix:
pg-version: [11, 12, 13, 14, 15, 16]
pg-version: [11, 12, 13, 14, 15, 16, 17]
steps:
- id: install
run: |
sudo apt-get update
# Remove preinstalled Postgres because this will conflict with the version we actually want.
sudo apt-get remove -u postgresql\*
# Get the postgresql gpg key
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 7FCC7D46ACCC4CF8
# Setup the Postgres repositories
sudo sh -c 'echo "deb https://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list'
sudo sh -c 'echo "deb https://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main ${{ matrix.pg-version }}" > /etc/apt/sources.list.d/pgdg.list'
sudo apt-get update
# Install build deps
sudo apt-get install -y postgresql-server-dev-${{ matrix.pg-version }}
Expand Down
68 changes: 68 additions & 0 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 1309d4b

Please sign in to comment.