From 11a69cc8e3ea4a7d6ed3a0aa2d825f6c923a2b75 Mon Sep 17 00:00:00 2001 From: Simon Rit Date: Mon, 15 Apr 2024 08:59:07 +0200 Subject: [PATCH] ENH: Upgrade CUDA packaging CI to ITK v5.4rc4 --- .github/workflows/build-test-cxx-cuda.yml | 2 +- .../workflows/build-test-package-python-cuda.yml | 16 ++++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build-test-cxx-cuda.yml b/.github/workflows/build-test-cxx-cuda.yml index 5592395..baf6cad 100644 --- a/.github/workflows/build-test-cxx-cuda.yml +++ b/.github/workflows/build-test-cxx-cuda.yml @@ -3,7 +3,7 @@ name: 'Build, Test ITKCudaCommon with CUDA' on: [push,pull_request] env: - itk-git-tag: "v5.4rc01" + itk-git-tag: "v5.4rc04" jobs: build-test-cxx: diff --git a/.github/workflows/build-test-package-python-cuda.yml b/.github/workflows/build-test-package-python-cuda.yml index 873f39a..2a6690f 100644 --- a/.github/workflows/build-test-package-python-cuda.yml +++ b/.github/workflows/build-test-package-python-cuda.yml @@ -3,8 +3,8 @@ name: 'Package ITKCudaCommon with CUDA' on: [push,pull_request] env: - itk-wheel-tag: 'v5.4rc02' - itk-python-package-tag: '8b047b05ee19c01a1744af2b3ee36f7c893ee01e' + itk-wheel-tag: 'v5.4rc04' + itk-python-package-tag: 'e37dd9bf04affa58154bbffab311af731a872d64' itk-python-package-org: 'InsightSoftwareConsortium' jobs: @@ -13,7 +13,7 @@ jobs: strategy: max-parallel: 2 matrix: - python3-minor-version: ["8", "9", "10", "11"] + python3-minor-version: ["8","9","10","11"] manylinux-platform: ["_2_28-x64","2014-x64"] cuda-version: ["116","121"] @@ -53,7 +53,7 @@ jobs: fi MANYLINUX_PLATFORM=${{ matrix.manylinux-platform }} - if [[ ${MANYLINUX_PLATFORM} == "_2_28-x64" ]]; then + if test ${MANYLINUX_PLATFORM} == "_2_28-x64" && ${CUDA_VERSION} -lt 120; then export IMAGE_TAG=20230106-1aeaea0 fi echo "Manylinux platform ${MANYLINUX_PLATFORM}" @@ -84,7 +84,7 @@ jobs: /home/srit/miniconda3/envs/py310/bin/python -m twine check ${WHEEL_PATTERN} - name: Publish Python package as GitHub Artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: LinuxWheel3${{ matrix.python3-minor-version }}${{ matrix.manylinux-platform }}-cuda${{ matrix.cuda-version }} path: dist/*.whl @@ -98,7 +98,7 @@ jobs: cuda-version: ["116","121"] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: path: "im" @@ -160,7 +160,7 @@ jobs: python -m twine check ${WHEEL_PATTERN} - name: Publish Python package as GitHub Artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: WindowsWheel3${{ matrix.python3-minor-version }}-cuda${{ matrix.cuda-version }} path: dist/*.whl @@ -173,7 +173,7 @@ jobs: steps: - name: Download Python Packages - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 - name: Prepare packages for upload run: |