File tree Expand file tree Collapse file tree 2 files changed +18
-2
lines changed
Expand file tree Collapse file tree 2 files changed +18
-2
lines changed Original file line number Diff line number Diff line change 5656 run : |
5757 choco install cmake ninja -y
5858
59- - name : Configure CMake
59+ - name : Configure CMake (Windows)
60+ if : runner.os == 'Windows'
61+ run : cmake -B build -G Ninja -DCMAKE_C_COMPILER=cl -DCMAKE_CXX_COMPILER=cl -DCMAKE_BUILD_TYPE=Release
62+
63+ - name : Configure CMake (Unix)
64+ if : runner.os != 'Windows'
6065 run : cmake -B build -G Ninja -DCMAKE_BUILD_TYPE=Release
6166
6267 - name : Build
Original file line number Diff line number Diff line change 5959 run : |
6060 choco install cmake ninja -y
6161
62- - name : Configure CMake
62+ - name : Configure CMake (Windows)
63+ if : runner.os == 'Windows'
64+ run : |
65+ cmake -B build \
66+ -G Ninja \
67+ -DCMAKE_C_COMPILER=cl \
68+ -DCMAKE_CXX_COMPILER=cl \
69+ -DCMAKE_BUILD_TYPE=Release \
70+ -DCMAKE_INSTALL_PREFIX=/usr/local
71+
72+ - name : Configure CMake (Unix)
73+ if : runner.os != 'Windows'
6374 run : |
6475 cmake -B build \
6576 -G Ninja \
You can’t perform that action at this time.
0 commit comments