Skip to content

Commit d3b5714

Browse files
committed
use cmd shell to setup build
1 parent 3a6fa6e commit d3b5714

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/windows.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,14 +81,16 @@ jobs:
8181
echo CIBW_ENVIRONMENT_WINDOWS=$env:CIBW_ENVIRONMENT_WINDOWS
8282
8383
- name: Build
84+
shell: cmd
8485
run: |
85-
if ( "${{ matrix.plat }}" -eq "arm64") {
86+
if "${{ matrix.plat }}" == "arm64" (
8687
echo Setting up ARM64 Developer Command Prompt
8788
CALL "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvarsarm64.bat"
89+
if errorlevel 1 exit /b 1
8890
PATH=C:\Program Files\LLVM\bin;%PATH%
89-
}
91+
)
9092
git submodule update --init --recursive
91-
& $env:BASH_PATH -lc tools/build_steps_windows.sh
93+
%BASH_PATH% -lc tools/build_steps_windows.sh
9294
9395
- name: Test
9496
run: |

0 commit comments

Comments
 (0)