Skip to content

Commit ee173c1

Browse files
committed
ci: Use Ninja on Windows to use ccache
1 parent d3f7e16 commit ee173c1

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.github/workflows/conda/environment_windows.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,6 @@ dependencies:
77
- numpy
88
- pkg-config
99
- boost
10+
- cmake
11+
- ccache
12+
- ninja

.github/workflows/windows-conda.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
mkdir build
4545
pushd build
4646
cmake ^
47-
-G "NMake Makefiles" ^
47+
-G "Ninja" ^
4848
-DCMAKE_INSTALL_PREFIX=%CONDA_PREFIX%\Library ^
4949
-DCMAKE_CXX_COMPILER_LAUNCHER=ccache ^
5050
-DCMAKE_BUILD_TYPE=Release ^
@@ -70,7 +70,7 @@ jobs:
7070
:: Test packaging
7171
7272
cmake -B test-packaging -S unittest/packaging/cmake ^
73-
-G "NMake Makefiles" ^
73+
-G "Ninja" ^
7474
-DPYTHON_EXECUTABLE=%CONDA_PREFIX%\python.exe
7575
if errorlevel 1 exit 1
7676
@@ -81,7 +81,7 @@ jobs:
8181
mkdir build
8282
pushd build
8383
cmake ^
84-
-G "NMake Makefiles" ^
84+
-G "Ninja" ^
8585
-DCMAKE_INSTALL_PREFIX=%CONDA_PREFIX%\Library ^
8686
-DCMAKE_BUILD_TYPE=Release ^
8787
-DPYTHON_EXECUTABLE=%CONDA_PREFIX%\python.exe ^

0 commit comments

Comments
 (0)