Skip to content

Commit

Permalink
[ci][win] Change shell back to cmd
Browse files Browse the repository at this point in the history
  • Loading branch information
jslee02 committed Mar 14, 2024
1 parent efd112c commit 8bf4c98
Showing 1 changed file with 25 additions and 21 deletions.
46 changes: 25 additions & 21 deletions .github/workflows/ci_windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,28 +48,32 @@ jobs:
pip install -U pytest
- name: Build
shell: cmd
run: |
cmake `
-S . `
-B build `
-G "Visual Studio 17 2022" `
-A x64 `
-Wno-dev ${{ matrix.toolset }} `
-DCMAKE_BUILD_TYPE=${{ matrix.build_type }} `
-DCMAKE_TOOLCHAIN_FILE="${{ github.workspace }}/vcpkg/scripts/buildsystems/vcpkg.cmake" `
-DDART_MSVC_DEFAULT_OPTIONS=ON `
-DDART_VERBOSE=ON `
-DBUILD_SHARED_LIBS=${{ matrix.build_shared_libs }}
cmake `
--build build `
--config ${{ matrix.build_type }} `
--target ALL_BUILD `
--parallel
ctest `
--test-dir build `
--rerun-failed `
--output-on-failure `
--build-config ${{ matrix.build_type }}
cmake ^
-S . ^
-B build ^
-G "Visual Studio 17 2022" ^
-A x64 ^
-Wno-dev ${{ matrix.toolset }} ^
-DCMAKE_BUILD_TYPE=${{ matrix.build_type }} ^
-DCMAKE_TOOLCHAIN_FILE="${{ github.workspace }}/vcpkg/scripts/buildsystems/vcpkg.cmake" ^
-DDART_MSVC_DEFAULT_OPTIONS=ON ^
-DDART_VERBOSE=ON ^
-DBUILD_SHARED_LIBS=${{ matrix.build_shared_libs }} ^
|| exit /b
cmake ^
--build build ^
--config ${{ matrix.build_type }} ^
--target ALL_BUILD ^
--parallel ^
|| exit /b
ctest ^
--test-dir build ^
--rerun-failed ^
--output-on-failure ^
--build-config ${{ matrix.build_type }} ^
|| exit /b
build_on_pixi:
name: win-pixi
Expand Down

0 comments on commit 8bf4c98

Please sign in to comment.