Skip to content

Commit 601c8e1

Browse files
committed
ci: Setup python venv for cargo-zigbuild
1 parent 2e524e6 commit 601c8e1

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/build.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,11 @@ jobs:
129129
sudo apt-get -y install ${{ matrix.packages }}
130130
- name: Install cargo-zigbuild
131131
if: matrix.build == 'zigbuild'
132-
run: pip install ziglang==0.13.0 cargo-zigbuild==0.19.1
132+
run: |
133+
python3 -m venv .venv
134+
. .venv/bin/activate
135+
echo PATH=$PATH >> $GITHUB_ENV
136+
pip install ziglang==0.13.0 cargo-zigbuild==0.19.1
133137
- name: Setup Rust toolchain
134138
uses: dtolnay/rust-toolchain@stable
135139
with:

0 commit comments

Comments
 (0)