From 94a6c04933d2ab7bfc19590eb92eead6396cac57 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C5=BEenan=20Zuki=C4=87?= Date: Mon, 25 Nov 2024 11:48:11 -0500 Subject: [PATCH] ENH: Update CI to ITK 5.4.0 --- .github/workflows/build-test-package.yml | 14 +++++++++++--- .github/workflows/clang-format-linter.yml | 2 +- .github/workflows/test-python-hasi.yml | 18 +++++++++--------- 3 files changed, 21 insertions(+), 13 deletions(-) diff --git a/.github/workflows/build-test-package.yml b/.github/workflows/build-test-package.yml index 71459ec..e81331e 100644 --- a/.github/workflows/build-test-package.yml +++ b/.github/workflows/build-test-package.yml @@ -1,15 +1,23 @@ name: Build, test, package -on: [push,pull_request] +on: + push: + branches: + - main + tags: + - 'v*' + pull_request: + branches: + - main jobs: cxx-build-workflow: - uses: InsightSoftwareConsortium/ITKRemoteModuleBuildTestPackageAction/.github/workflows/build-test-cxx.yml@36e33ec40332bb8fd85bfcd3ee899f82aa108e79 + uses: InsightSoftwareConsortium/ITKRemoteModuleBuildTestPackageAction/.github/workflows/build-test-cxx.yml@v5.4.0 with: itk-module-deps: 'BoneEnhancement@e6935aa760c3fa4e247ca0f4924a4fe3e420bf91:IOScanco@10a73c1ab2de044c4dd73608f91cf52012aff5e4' python-build-workflow: - uses: InsightSoftwareConsortium/ITKRemoteModuleBuildTestPackageAction/.github/workflows/build-test-package-python.yml@36e33ec40332bb8fd85bfcd3ee899f82aa108e79 + uses: InsightSoftwareConsortium/ITKRemoteModuleBuildTestPackageAction/.github/workflows/build-test-package-python.yml@v5.4.0 with: itk-module-deps: 'InsightSoftwareConsortium/ITKBoneEnhancement@e6935aa760c3fa4e247ca0f4924a4fe3e420bf91' secrets: diff --git a/.github/workflows/clang-format-linter.yml b/.github/workflows/clang-format-linter.yml index 69166d9..630ae57 100644 --- a/.github/workflows/clang-format-linter.yml +++ b/.github/workflows/clang-format-linter.yml @@ -7,7 +7,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v4 with: fetch-depth: 1 - uses: InsightSoftwareConsortium/ITKClangFormatLinterAction@master diff --git a/.github/workflows/test-python-hasi.yml b/.github/workflows/test-python-hasi.yml index ef3918f..641f4ca 100644 --- a/.github/workflows/test-python-hasi.yml +++ b/.github/workflows/test-python-hasi.yml @@ -11,19 +11,19 @@ jobs: strategy: max-parallel: 3 matrix: - os: [ubuntu-18.04, windows-2019, macos-10.15] + os: [ubuntu-22.04, windows-2022, macos-10.15] include: - - os: ubuntu-18.04 - - os: windows-2019 + - os: ubuntu-22.04 + - os: windows-2022 - os: macos-10.15 steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v4 - - name: Set up Python 3.7 + - name: Set up Python 3.11 uses: actions/setup-python@v1 with: - python-version: 3.7 + python-version: 3.11 - name: Setup ipfs uses: ibnesayeed/setup-ipfs@master @@ -37,9 +37,9 @@ jobs: - name: Install build dependencies run: | python -m pip install --upgrade pip - python -m pip install itk==5.2.0.post2 - python -m pip install itk-shape==0.2.1 - python -m pip install dwd==1.0.1 + python -m pip install itk==5.4.0 + python -m pip install itk-shape==0.4.0 + python -m pip install dwd==1.0.5 python -m pip install seaborn python -m pip install matplotlib python -m pip install pytest