Skip to content

Commit

Permalink
Adds support for pg17
Browse files Browse the repository at this point in the history
  • Loading branch information
pksunkara committed Sep 27, 2024
1 parent 24054b8 commit 4142d5a
Show file tree
Hide file tree
Showing 5 changed files with 563 additions and 555 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
strategy:
fail-fast: false
matrix:
postgres: [14, 15, 16]
postgres: [14, 15, 16, 17]
runner:
- ubuntu-22.04
- buildjet-8vcpu-ubuntu-2204-arm
Expand All @@ -35,7 +35,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Install rust
uses: dtolnay/rust-toolchain@1.74.0
uses: dtolnay/rust-toolchain@1.76.0
with:
components: rustfmt, clippy
- name: Checkout
Expand All @@ -52,6 +52,6 @@ jobs:
- name: Checkout
uses: actions/checkout@v3
- name: Install rust
uses: dtolnay/rust-toolchain@1.74.0
uses: dtolnay/rust-toolchain@1.76.0
- name: Lockfile check
run: cargo update -w --locked
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
strategy:
fail-fast: false
matrix:
postgres: [14, 15, 16]
postgres: [14, 15, 16, 17]
box:
- runner: ubuntu-22.04
arch: amd64
Expand All @@ -42,7 +42,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v3
- name: Install rust
uses: dtolnay/rust-toolchain@1.74.0
uses: dtolnay/rust-toolchain@1.76.0
- name: Install dependencies
run: |
# Add postgres package repo
Expand All @@ -60,7 +60,7 @@ jobs:
# Ensure installed pg_config is first on path
export PATH=$PATH:/usr/lib/postgresql/${{ matrix.postgres }}/bin
cargo install cargo-pgrx --version 0.11.2 --locked
cargo install cargo-pgrx --version 0.12.5 --locked
cargo pgrx init --pg${{ matrix.postgres }}=/usr/lib/postgresql/${{ matrix.postgres }}/bin/pg_config
- name: Build artifacts
run: |
Expand Down
Loading

0 comments on commit 4142d5a

Please sign in to comment.