diff --git a/.github/workflows/build-test-cxx.yml b/.github/workflows/build-test-cxx.yml index 14e3982..0001edb 100644 --- a/.github/workflows/build-test-cxx.yml +++ b/.github/workflows/build-test-cxx.yml @@ -15,7 +15,7 @@ on: itk-git-tag: required: false type: string - default: '171fb2ba33a87041f99328a2f26612ff33aa9cc8' + default: 'abf5fa10522a36bc51f42f20f426a622f42ed90d' jobs: build-test-cxx: @@ -23,13 +23,13 @@ jobs: strategy: max-parallel: 3 matrix: - os: [ubuntu-20.04, windows-2019, macos-11] + os: [ubuntu-20.04, windows-2022, macos-11] include: - os: ubuntu-20.04 c-compiler: "gcc" cxx-compiler: "g++" cmake-build-type: "MinSizeRel" - - os: windows-2019 + - os: windows-2022 c-compiler: "cl.exe" cxx-compiler: "cl.exe" cmake-build-type: "Release" @@ -52,7 +52,7 @@ jobs: python -m pip install ninja - name: Get specific version of CMake, Ninja - uses: lukka/get-cmake@v3.18.3 + uses: lukka/get-cmake@v3.22.2 - name: Download ITK run: | @@ -62,7 +62,7 @@ jobs: git checkout ${{ inputs.itk-git-tag }} - name: Build ITK - if: matrix.os != 'windows-2019' + if: matrix.os != 'windows-2022' run: | cd .. mkdir ITK-build @@ -71,12 +71,12 @@ jobs: ninja - name: Build ITK - if: matrix.os == 'windows-2019' + if: matrix.os == 'windows-2022' run: | cd .. mkdir ITK-build cd ITK-build - call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvars64.bat" + call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat" cmake -DCMAKE_C_COMPILER:FILEPATH="${{ matrix.c-compiler }}" -DBUILD_SHARED_LIBS:BOOL=ON -DCMAKE_CXX_COMPILER="${{ matrix.cxx-compiler }}" -DCMAKE_BUILD_TYPE:STRING=${{ matrix.cmake-build-type }} -DBUILD_TESTING:BOOL=OFF ${{ inputs.itk-cmake-options }} -GNinja ../ITK ninja shell: cmd @@ -131,13 +131,13 @@ jobs: cat dashboard.cmake - name: Build and test - if: matrix.os != 'windows-2019' + if: matrix.os != 'windows-2022' run: | ctest --output-on-failure -j 2 -V -S dashboard.cmake ${{ inputs.ctest-options }} - name: Build and test - if: matrix.os == 'windows-2019' + if: matrix.os == 'windows-2022' run: | - call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvars64.bat" + call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat" ctest --output-on-failure -j 2 -V -S dashboard.cmake ${{ inputs.ctest-options }} shell: cmd diff --git a/.github/workflows/build-test-package-python.yml b/.github/workflows/build-test-package-python.yml index f843040..e12070d 100644 --- a/.github/workflows/build-test-package-python.yml +++ b/.github/workflows/build-test-package-python.yml @@ -10,7 +10,7 @@ on: itk-wheel-tag: required: false type: string - default: 'v5.3rc04.post3' + default: 'v5.3rc04.post4' secrets: pypi_password: required: false # Packages will not be uploaded to PyPI if not set @@ -21,7 +21,7 @@ jobs: strategy: max-parallel: 2 matrix: - python-version: ["37", "38", "39", "310"] + python-version: ["37", "38", "39", "310", "311"] steps: - uses: actions/checkout@v2 @@ -35,6 +35,12 @@ jobs: sudo rm -rf "$AGENT_TOOLSDIRECTORY" df -h + - name: 'Fetch build dependencies' + shell: bash + run: | + sudo apt install zstd + unzstd --version + - name: 'Fetch build script' run: | curl -L https://raw.githubusercontent.com/InsightSoftwareConsortium/ITKPythonPackage/master/scripts/dockcross-manylinux-download-cache-and-build-module-wheels.sh -O @@ -101,11 +107,11 @@ jobs: path: dist build-windows-python-packages: - runs-on: windows-2019 + runs-on: windows-2022 strategy: max-parallel: 2 matrix: - python-version-minor: ["7", "8", "9", "10"] + python-version-minor: ["7", "8", "9", "10", "11"] steps: - name: Get specific version of CMake, Ninja @@ -137,7 +143,7 @@ jobs: shell: cmd run: | cd ../../im - call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvars64.bat" + call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat" set PATH=C:\P\grep;%PATH% set CC=cl.exe set CXX=cl.exe