From 7cfe1465efe2efafaebe3e5431cfd15077b129ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Onur=20=C3=9Clgen?= Date: Wed, 12 Jun 2024 18:32:36 +0100 Subject: [PATCH] Update macOS images in GitHub Actions --- .github/workflows/release.yml | 6 +++--- .github/workflows/tests.yml | 6 +++--- niftyreg_build_version.txt | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9b001d7d..ff398f5f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,7 +9,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: [ubuntu-20.04, macos-latest, windows-2019] + os: [ubuntu-20.04, macos-12, windows-2019] platform: [cpu, cuda] include: - platform: cpu @@ -22,7 +22,7 @@ jobs: use-opencl: "ON" - os: ubuntu-20.04 # For Ubuntu only os-name: "Ubuntu" - - os: macos-latest # For macOS only + - os: macos-12 # For macOS only os-name: "macOS" use-opencl: "ON" - sudo: "sudo" # For Ubuntu and macOS @@ -35,7 +35,7 @@ jobs: cxx-compiler: "cl.exe" - build_type: "Release" # For all platforms exclude: - - os: macos-latest + - os: macos-12 platform: cuda steps: diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 5f1f5660..f523b0f5 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -5,12 +5,12 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: [ubuntu-latest, macos-latest, windows-latest] + os: [ubuntu-latest, macos-12, windows-latest] include: - - sudo: "sudo" # For ubuntu and macos + - sudo: "sudo" # For Ubuntu and macOS c-compiler: "gcc" cxx-compiler: "g++" - - os: windows-latest # For windows only + - os: windows-latest # For Windows only sudo: "" c-compiler: "cl.exe" cxx-compiler: "cl.exe" diff --git a/niftyreg_build_version.txt b/niftyreg_build_version.txt index 57214136..9524ef49 100644 --- a/niftyreg_build_version.txt +++ b/niftyreg_build_version.txt @@ -1 +1 @@ -423 +424