Skip to content

Commit

Permalink
rust
Browse files Browse the repository at this point in the history
  • Loading branch information
richardkiss committed Jan 7, 2024
1 parent 89a1be1 commit 98ffde8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/build_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,15 @@ jobs:
steps:
- uses: actions/checkout@v4

- uses: actions-rust-lang/setup-rust-toolchain@v1
if: ${{ !startsWith(matrix.os, 'ubuntu') }}

- name: Build wheels
uses: pypa/[email protected]
env:
CIBW_TEST_REQUIRES: pytest
CIBW_TEST_COMMAND: "pytest {project}/tests"
CIBW_BEFORE_ALL: "curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh"
CIBW_BEFORE_BUILD_LINUX: "curl -o rustup.sh --proto '=https' --tlsv1.2 https://sh.rustup.rs && sh ./rustup.sh -y"

- uses: actions/upload-artifact@v4
with:
Expand Down

0 comments on commit 98ffde8

Please sign in to comment.