Skip to content

Commit 2ea5939

Browse files
alexreinkingclaude
andcommitted
Install cmake/ninja in Linux test environment
The test phase runs in a fresh venv where the cmake/ninja installed during BEFORE_ALL aren't available. Use CIBW_BEFORE_TEST_LINUX to install them into the test venv. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 0519e4e commit 2ea5939

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/pip.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ jobs:
138138
CMAKE_GENERATOR=Ninja
139139
CMAKE_PREFIX_PATH='${{ github.workspace }}\opt'
140140
SETUPTOOLS_SCM_OVERRIDES_FOR_HALIDE='{local_scheme="no-local-version"}'
141+
CIBW_BEFORE_TEST_LINUX: pip install cmake ninja
141142
CIBW_TEST_COMMAND: >
142143
cmake -G Ninja -S {project}/python_bindings/apps -B build -DCMAKE_BUILD_TYPE=Release &&
143144
cmake --build build &&

0 commit comments

Comments
 (0)