Skip to content

Commit 6366a05

Browse files
committed
COMP: Update the CI package dependancies.
1 parent bba02e2 commit 6366a05

File tree

3 files changed

+24
-26
lines changed

3 files changed

+24
-26
lines changed

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@ jobs:
3636
strategy:
3737
max-parallel: 3
3838
matrix:
39-
os: [ubuntu-22.04, windows-2022, macos-13, macos-15]
39+
os: [ubuntu-24.04, windows-2022, macos-13, macos-15]
4040
include:
41-
- os: ubuntu-22.04
41+
- os: ubuntu-24.04
4242
c-compiler: "gcc"
4343
cxx-compiler: "g++"
4444
cmake-build-type: "MinSizeRel"
@@ -56,16 +56,16 @@ jobs:
5656
cmake-build-type: "MinSizeRel"
5757

5858
steps:
59-
- uses: actions/checkout@v4
59+
- uses: actions/checkout@v4.2.2
6060

6161
- name: Free Disk Space (Ubuntu)
62-
if: matrix.os == 'ubuntu-22.04'
62+
if: matrix.os == 'ubuntu-24.04'
6363
uses: jlumbroso/free-disk-space@v1.3.1
6464
with:
6565
large-packages: false
6666

6767
- name: Set up Python 3.11
68-
uses: actions/setup-python@v5
68+
uses: actions/setup-python@v5.4.0
6969
with:
7070
python-version: "3.11"
7171

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

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -58,15 +58,15 @@ on:
5858
jobs:
5959

6060
build-linux-py:
61-
runs-on: ubuntu-22.04
61+
runs-on: ubuntu-24.04
6262
strategy:
6363
max-parallel: 2
6464
matrix:
6565
python3-minor-version: ${{ fromJSON(inputs.python3-minor-versions) }}
6666
manylinux-platform: ${{ fromJSON(inputs.manylinux-platforms) }}
6767

6868
steps:
69-
- uses: actions/checkout@v4
69+
- uses: actions/checkout@v4.2.2
7070

7171
- name: Free Disk Space (Ubuntu)
7272
uses: jlumbroso/free-disk-space@v1.3.1
@@ -105,7 +105,7 @@ jobs:
105105
./dockcross-manylinux-download-cache-and-build-module-wheels.sh cp3${{ matrix.python3-minor-version }} $CMAKE_OPTIONS
106106
107107
- name: Set up Python 3.11 for Validation
108-
uses: actions/setup-python@v5
108+
uses: actions/setup-python@v5.4.0
109109
with:
110110
python-version: "3.11"
111111

@@ -133,14 +133,14 @@ jobs:
133133
path: dist/*.whl
134134

135135
build-macos-py:
136-
runs-on: macos-12
136+
runs-on: macos-15
137137
strategy:
138138
max-parallel: 2
139139
matrix:
140140
python3-minor-version: ${{ fromJSON(inputs.python3-minor-versions) }}
141141

142142
steps:
143-
- uses: actions/checkout@v4
143+
- uses: actions/checkout@v4.2.2
144144

145145
- name: 'Specific XCode version'
146146
run: |
@@ -178,7 +178,7 @@ jobs:
178178
./macpython-download-cache-and-build-module-wheels.sh $CMAKE_OPTIONS "3.${{ matrix.python3-minor-version }}"
179179
180180
- name: Set up Python 3.11 for Validation
181-
uses: actions/setup-python@v5
181+
uses: actions/setup-python@v5.4.0
182182
with:
183183
python-version: "3.11"
184184

@@ -206,14 +206,14 @@ jobs:
206206
path: dist/*.whl
207207

208208
build-macos-arm-py:
209-
runs-on: macos-14
209+
runs-on: macos-15
210210
strategy:
211211
max-parallel: 2
212212
matrix:
213213
python3-minor-version: ${{ fromJSON(inputs.python3-minor-versions) }}
214214

215215
steps:
216-
- uses: actions/checkout@v4
216+
- uses: actions/checkout@v4.2.2
217217

218218
- name: 'Specific XCode version'
219219
run: |
@@ -253,7 +253,7 @@ jobs:
253253
./macpython-download-cache-and-build-module-wheels.sh $CMAKE_OPTIONS "3.${{ matrix.python3-minor-version }}"
254254
255255
- name: Set up Python 3.11 for Validation
256-
uses: actions/setup-python@v5
256+
uses: actions/setup-python@v5.4.0
257257
with:
258258
python-version: "3.11"
259259

@@ -293,7 +293,7 @@ jobs:
293293
- name: Get specific version of CMake, Ninja
294294
uses: lukka/get-cmake@v3.29.0
295295

296-
- uses: actions/checkout@v4
296+
- uses: actions/checkout@v4.2.2
297297
with:
298298
path: "im"
299299

@@ -338,7 +338,7 @@ jobs:
338338
cp 'dist\*.whl' '${{ github.workspace }}\dist'
339339
340340
- name: Set up Python 3.11 for Validation
341-
uses: actions/setup-python@v5
341+
uses: actions/setup-python@v5.4.0
342342
with:
343343
python-version: "3.11"
344344

@@ -363,12 +363,12 @@ jobs:
363363
if: inputs.test-notebooks
364364
needs:
365365
- build-linux-py
366-
runs-on: ubuntu-22.04
366+
runs-on: ubuntu-24.04
367367

368368
steps:
369-
- uses: actions/checkout@v4
369+
- uses: actions/checkout@v4.2.2
370370

371-
- uses: actions/setup-python@v5
371+
- uses: actions/setup-python@v5.4.0
372372
with:
373373
python-version: "3.${{ fromJSON(inputs.python3-minor-versions)[0] }}"
374374

@@ -411,7 +411,7 @@ jobs:
411411
- build-macos-py
412412
- build-macos-arm-py
413413
- build-windows-python-packages
414-
runs-on: ubuntu-22.04
414+
runs-on: ubuntu-24.04
415415

416416
steps:
417417
- name: Download Python Packages

README.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -87,12 +87,12 @@ on: [push,pull_request]
8787

8888
jobs:
8989
cxx-build-workflow:
90-
uses: InsightSoftwareConsortium/ITKRemoteModuleBuildTestPackageAction/.github/workflows/build-test-cxx.yml@d4a5ce4f219b66b78269a15392e15c95f90e7e00
90+
uses: InsightSoftwareConsortium/ITKRemoteModuleBuildTestPackageAction/.github/workflows/build-test-cxx.yml@bba02e2438336fc309d56a4ad8e588680e2c7f12
9191
with:
9292
itk-cmake-options: '-DITK_BUILD_DEFAULT_MODULES:BOOL=OFF -DITKGroup_Core:BOOL=ON'
9393

9494
python-build-workflow:
95-
uses: InsightSoftwareConsortium/ITKRemoteModuleBuildTestPackageAction/.github/workflows/build-test-package-python.yml@d4a5ce4f219b66b78269a15392e15c95f90e7e00
95+
uses: InsightSoftwareConsortium/ITKRemoteModuleBuildTestPackageAction/.github/workflows/build-test-package-python.yml@bba02e2438336fc309d56a4ad8e588680e2c7f12
9696
secrets:
9797
pypi_password: ${{ secrets.pypi_password }}
9898
```
@@ -117,7 +117,7 @@ The top-level jobs used to organize the run. Reusable workflows may provide mult
117117

118118
```yaml
119119
cxx-build-workflow:
120-
uses: InsightSoftwareConsortium/ITKRemoteModuleBuildTestPackageAction/.github/workflows/build-test-cxx.yml@d4a5ce4f219b66b78269a15392e15c95f90e7e00
120+
uses: InsightSoftwareConsortium/ITKRemoteModuleBuildTestPackageAction/.github/workflows/build-test-cxx.yml@bba02e2438336fc309d56a4ad8e588680e2c7f12
121121
```
122122
Tells GHA to fetch and run the `build-test-cxx.yml` workflow.
123123
A commit hash or tagged version may be provided.
@@ -132,7 +132,7 @@ certain modules are built before the external module itself is subsequently buil
132132

133133
```yaml
134134
python-build-workflow:
135-
uses: InsightSoftwareConsortium/ITKRemoteModuleBuildTestPackageAction/.github/workflows/build-test-package-python.yml@d4a5ce4f219b66b78269a15392e15c95f90e7e00
135+
uses: InsightSoftwareConsortium/ITKRemoteModuleBuildTestPackageAction/.github/workflows/build-test-package-python.yml@bba02e2438336fc309d56a4ad8e588680e2c7f12
136136
```
137137
Tells GHA to fetch and run the `build-test-package-python.yml` workflow.
138138
A commit hash or tagged version may be provided.
@@ -348,11 +348,9 @@ The `build-test-cxx` workflow supports building and running C++ tests on GitHub
348348
Windows, Linux, and macOS. Image details are available [here](https://github.com/actions/runner-images).
349349

350350
The `build-test-package-python.yml` workflow supports Python package generation for the following platforms and architectures:
351-
- Windows 10 x86_64 platforms
352351
- Windows 11 x86_64 platforms
353352
- macOS 10.9+ x86_64 platforms
354353
- macOS 11.0+ ARM64 platforms
355-
- Linux glibc 2.17+ (E.g. Ubuntu 18.04+) x86_64 platforms
356354
- Linux glibc 2.28+ (E.g. Ubuntu 20.04+) aarch64 (ARMv8) platforms
357355

358356
### What should I do if my target platform/architecture does not appear on the list above?

0 commit comments

Comments
 (0)