Skip to content

Commit

Permalink
feat: add pgxn builder
Browse files Browse the repository at this point in the history
  • Loading branch information
frectonz committed Nov 17, 2024
1 parent 34562fe commit cf4e7cf
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Test Build

on:
push:

jobs:
build:
runs-on: ubuntu-latest
container: pgxn/pgxn-tools
strategy:
matrix:
pg: [12, 13, 14, 15, 16, 17]
name: 🐘 Postgres ${{ matrix.pg }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Start PostgreSQL ${{ matrix.pg }}
run: pg-start ${{ matrix.pg }}
- name: Setup Rust Cache
uses: Swatinem/rust-cache@v2
- name: Setup Rust
uses: dtolnay/rust-toolchain@stable
- name: Test on PostgreSQL ${{ matrix.pg }}
run: pgrx-build-test

0 comments on commit cf4e7cf

Please sign in to comment.