Skip to content

Commit c086c44

Browse files
committed
more path
1 parent 19674d9 commit c086c44

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/test.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,13 @@ jobs:
6262
$env:CMAKE_GENERATOR = 'Ninja'
6363
$env:CMAKE_BUILD_PARALLEL_LEVEL = '2'
6464
65+
# *** Add the conda env Scripts (where pip dropped ninja.exe) ***
66+
$env:PATH = "C:\Miniconda\envs\zerod\Scripts;$env:PATH"
67+
68+
# *** Tell CMake exactly which ninja to use (belt-and-suspenders) ***
69+
$ninja = "C:\Miniconda\envs\zerod\Scripts\ninja.exe"
70+
if (Test-Path $ninja) { $env:CMAKE_MAKE_PROGRAM = $ninja }
71+
6572
$env:CMAKE_ARGS = @(
6673
'-DCMAKE_POLICY_DEFAULT_CMP0077=NEW',
6774
'-DBUILD_TESTING=OFF',

0 commit comments

Comments
 (0)