Skip to content

Commit

Permalink
try setting PATH at the wheel build step
Browse files Browse the repository at this point in the history
  • Loading branch information
tangowithfoxtrot committed Nov 20, 2023
1 parent 0cb4f6b commit 86c41d3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/build-python-wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,6 @@ jobs:

- os: windows-2022
target: aarch64-pc-windows-msvc
build: |
$env:Path += ";C:\Program Files (x86)\Microsoft Visual Studio\2022\Enterprise\VC\Tools\Llvm\x64\bin"

- os: ubuntu-22.04
target: x86_64-unknown-linux-gnu
Expand Down Expand Up @@ -97,6 +95,7 @@ jobs:
- name: Build wheels
uses: PyO3/maturin-action@b9e8f88fd4448fdecf5095864cdc7e39a544aa9f # v1.40.7
with:
env: PATH="$PATH:/c/Program Files (x86)/Microsoft Visual Studio/2022/Enterprise/VC/Tools/Llvm/x64/bin"
target: ${{ matrix.settings.target }}
args: --release --find-interpreter --sdist
sccache: 'true'
Expand Down

0 comments on commit 86c41d3

Please sign in to comment.