Skip to content

Commit c1ba4e9

Browse files
committed
ci: Setup python venv for cargo-zigbuild
1 parent 5759000 commit c1ba4e9

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/build.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,11 @@ jobs:
142142
uses: actions/checkout@v4
143143
- name: Install cargo-zigbuild
144144
if: matrix.build == 'zigbuild'
145-
run: pip install ziglang==0.13.0 cargo-zigbuild==0.19.1
145+
run: |
146+
python3 -m venv .venv
147+
. .venv/bin/activate
148+
echo PATH=$PATH >> $GITHUB_ENV
149+
pip install ziglang==0.13.0 cargo-zigbuild==0.19.1
146150
- name: Setup Rust toolchain
147151
uses: dtolnay/rust-toolchain@stable
148152
with:

0 commit comments

Comments
 (0)