Skip to content

Commit 56efe67

Browse files
committed
ci: Run CI on all branches and pin CFD library version
- Remove branch restriction to run CI on any push (not just main/master) - Add CFD_VERSION env variable to pin CFD C library to v0.1.5 - Use ref parameter to checkout specific CFD release tag
1 parent 722a3cb commit 56efe67

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/build-wheels.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,14 @@ name: Build and Test Wheels
22

33
on:
44
push:
5-
branches: [main, master]
65
pull_request:
76
workflow_dispatch:
87
workflow_call:
98

9+
env:
10+
# CFD C library version to build against
11+
CFD_VERSION: "v0.1.5"
12+
1013
jobs:
1114
build_wheel:
1215
name: Build wheel on ${{ matrix.os }}
@@ -24,6 +27,7 @@ jobs:
2427
uses: actions/checkout@v4
2528
with:
2629
repository: ${{ github.repository_owner }}/cfd
30+
ref: ${{ env.CFD_VERSION }}
2731
path: cfd
2832
fetch-depth: 0
2933

0 commit comments

Comments
 (0)