Skip to content

Commit

Permalink
ci: Setup python venv for cargo-zigbuild
Browse files Browse the repository at this point in the history
  • Loading branch information
encounter committed Oct 11, 2024
1 parent 5759000 commit c1ba4e9
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,11 @@ jobs:
uses: actions/checkout@v4
- name: Install cargo-zigbuild
if: matrix.build == 'zigbuild'
run: pip install ziglang==0.13.0 cargo-zigbuild==0.19.1
run: |
python3 -m venv .venv
. .venv/bin/activate
echo PATH=$PATH >> $GITHUB_ENV
pip install ziglang==0.13.0 cargo-zigbuild==0.19.1
- name: Setup Rust toolchain
uses: dtolnay/rust-toolchain@stable
with:
Expand Down

0 comments on commit c1ba4e9

Please sign in to comment.