Skip to content

Commit 12dece6

Browse files
committed
feat: add ci build workflow
1 parent c9b512d commit 12dece6

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/build.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Test Build
2+
3+
on:
4+
push:
5+
6+
jobs:
7+
build:
8+
runs-on: ubuntu-latest
9+
container: pgxn/pgxn-tools
10+
strategy:
11+
matrix:
12+
pg: [12, 13, 14, 15, 16, 17]
13+
name: 🐘 Postgres ${{ matrix.pg }}
14+
steps:
15+
- name: Checkout
16+
uses: actions/checkout@v4
17+
- name: Start PostgreSQL ${{ matrix.pg }}
18+
run: pg-start ${{ matrix.pg }}
19+
- name: Setup Rust Cache
20+
uses: Swatinem/rust-cache@v2
21+
- name: Setup Rust
22+
uses: dtolnay/rust-toolchain@stable
23+
- name: Test on PostgreSQL ${{ matrix.pg }}
24+
run: pgrx-build-test

0 commit comments

Comments
 (0)