Skip to content

Commit

Permalink
Should fix conditional RC compilation step for windows only builds
Browse files Browse the repository at this point in the history
  • Loading branch information
peekxc committed Dec 5, 2023
1 parent 5d55852 commit 23012b4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
python -m pip install cibuildwheel
- name: Set VSDev RC (windows only)
if: ${{ matrix.buildplat[1] }} == 'win'
if: runner.os == 'Windows'
run: |
function Invoke-VSDevEnvironment {
$vswhere = "${env:ProgramFiles(x86)}\Microsoft Visual Studio\Installer\vswhere.exe"
Expand All @@ -59,7 +59,7 @@ jobs:
}
Invoke-VSDevEnvironment
Get-Command rc.exe | Format-Table -AutoSize
- name: Build wheels
uses: pypa/[email protected]
env:
Expand Down
2 changes: 1 addition & 1 deletion tools/cibw_windows.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@
# Invoke-VSDevEnvironment
# Get-Command rc.exe | Format-Table -AutoSize

choco install rtools -y --no-progress --force --version=4.0.0.20220206"
choco install rtools -y --no-progress --force --version=4.0.0.20220206
set PATH=C:\rtools40\ucrt64\bin\;%PATH%

0 comments on commit 23012b4

Please sign in to comment.