diff --git a/.github/workflows/build-test-package.yml b/.github/workflows/build-test-package.yml index 2ac455f..9ae670e 100644 --- a/.github/workflows/build-test-package.yml +++ b/.github/workflows/build-test-package.yml @@ -13,17 +13,17 @@ jobs: - os: ubuntu-18.04 c-compiler: "gcc" cxx-compiler: "g++" - itk-git-tag: "v5.1.1" + itk-git-tag: "abd38d5a0040b9a8fbb0ad3127089dbb72a93342" cmake-build-type: "MinSizeRel" - os: windows-2019 c-compiler: "cl.exe" cxx-compiler: "cl.exe" - itk-git-tag: "v5.1.1" + itk-git-tag: "abd38d5a0040b9a8fbb0ad3127089dbb72a93342" cmake-build-type: "Release" - os: macos-10.15 c-compiler: "clang" cxx-compiler: "clang++" - itk-git-tag: "v5.1.1" + itk-git-tag: "abd38d5a0040b9a8fbb0ad3127089dbb72a93342" cmake-build-type: "MinSizeRel" steps: @@ -39,6 +39,9 @@ jobs: python -m pip install --upgrade pip python -m pip install ninja + - name: Get specific version of CMake, Ninja + uses: lukka/get-cmake@v3.18.3 + - name: Download ITK run: | cd .. @@ -133,7 +136,7 @@ jobs: matrix: python-version: [36, 37, 38, 39] include: - - itk-python-git-tag: "v5.1.1.post1" + - itk-python-git-tag: "v5.2rc01" steps: - uses: actions/checkout@v2 @@ -169,11 +172,18 @@ jobs: max-parallel: 2 matrix: include: - - itk-python-git-tag: "v5.1.1.post1" + - itk-python-git-tag: "v5.2rc01" steps: - uses: actions/checkout@v2 + - name: 'Specific XCode version' + run: | + sudo xcode-select -s "/Applications/Xcode_11.7.app" + + - name: Get specific version of CMake, Ninja + uses: lukka/get-cmake@v3.18.3 + - name: 'Fetch build script' run: | curl -L https://raw.githubusercontent.com/InsightSoftwareConsortium/ITKPythonPackage/master/scripts/macpython-download-cache-and-build-module-wheels.sh -O @@ -198,9 +208,12 @@ jobs: matrix: python-version-minor: [6, 7, 8, 9] include: - - itk-python-git-tag: "v5.1.1.post1" + - itk-python-git-tag: "v5.2rc01" steps: + - name: Get specific version of CMake, Ninja + uses: lukka/get-cmake@v3.18.3 + - uses: actions/checkout@v2 with: path: "im" @@ -215,7 +228,7 @@ jobs: shell: bash run: | mv im ../../ - cd ../../ + cd ../../im curl -L "https://github.com/InsightSoftwareConsortium/ITKPythonBuilds/releases/download/${{ matrix.itk-python-git-tag }}/ITKPythonBuilds-windows.zip" -o "ITKPythonBuilds-windows.zip" 7z x ITKPythonBuilds-windows.zip -o/c/P -aoa -r curl -L "https://data.kitware.com/api/v1/file/5c0ad59d8d777f2179dd3e9c/download" -o "doxygen-1.8.11.windows.bin.zip" @@ -236,7 +249,7 @@ jobs: - name: Publish Python package as GitHub Artifact uses: actions/upload-artifact@v1 with: - name: WindowWheel3.${{ matrix.python-version-minor }} + name: WindowsWheel3.${{ matrix.python-version-minor }} path: ../../im/dist publish-python-packages-to-pypi: diff --git a/setup.py b/setup.py index ea4b20b..5a7777e 100644 --- a/setup.py +++ b/setup.py @@ -47,6 +47,6 @@ keywords='ITK InsightToolkit MGH Slicer', url=r'https://itk.org/', install_requires=[ - r'itk>=5.1.1' + r'itk>=5.2rc1' ] )