Skip to content

Commit f4cd028

Browse files
committed
ENH: Specify the same CMake version for Linux Python package builds
As Linux comes with some version of CMake, this problem sneaked in without detection. If CMake version is important, this difference between version on different OSes can be confusing.
1 parent 1c3c00a commit f4cd028

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/build-test-package.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,9 @@ jobs:
161161
with:
162162
python-version: 3.8
163163

164+
- name: Get specific version of CMake, Ninja
165+
uses: lukka/get-cmake@v3.18.3
166+
164167
- name: Evaluate template
165168
shell: bash
166169
run: |

{{cookiecutter.project_name}}/.github/workflows/build-test-package.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,9 @@ jobs:
149149
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
150150
df -h
151151
152+
- name: Get specific version of CMake, Ninja
153+
uses: lukka/get-cmake@v3.18.3
154+
152155
- name: 'Fetch build script'
153156
run: |
154157
curl -L https://raw.githubusercontent.com/InsightSoftwareConsortium/ITKPythonPackage/master/scripts/dockcross-manylinux-download-cache-and-build-module-wheels.sh -O

0 commit comments

Comments
 (0)