From b4adf2464b0f53f6baafda6e21705bd6fa0abfd4 Mon Sep 17 00:00:00 2001 From: Stefan Weil Date: Wed, 16 Oct 2024 22:49:58 +0200 Subject: [PATCH] Replace deprecated runner macos-12 by macos-latest in GitHub actions The macOS 12 runner image will be removed by December 3rd, 2024. Signed-off-by: Stefan Weil --- .github/workflows/autotools-macos.yml | 5 ++--- .github/workflows/cmake.yml | 2 +- .github/workflows/unittest-macos.yml | 4 ++-- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/autotools-macos.yml b/.github/workflows/autotools-macos.yml index a370c6a9..e1f6656a 100644 --- a/.github/workflows/autotools-macos.yml +++ b/.github/workflows/autotools-macos.yml @@ -14,8 +14,7 @@ jobs: fail-fast: false matrix: config: - - { name: macos-12-clang-14-autotools, os: macos-12, cxx: clang++ } - #- { name: macos-12-gcc-11-autotools, os: macos-12, cxx: g++-11 } + - { name: macos-latest-clang-autotools, os: macos-latest, cxx: clang++ } steps: - uses: actions/checkout@v4 @@ -114,7 +113,7 @@ jobs: fail-fast: false matrix: config: - - { name: macos-12-clang-14-autotools, os: macos-12, cxx: clang++ } + - { name: macos-latest-clang-autotools, os: macos-latest, cxx: clang++ } steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index d27c96ff..e7238711 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -14,7 +14,7 @@ jobs: fail-fast: false matrix: config: - - { name: macos-14-clang-15-cmake, os: macos-14, cxx: clang++ } # default + - { name: macos-14-clang-15-cmake, os: macos-14, cxx: clang++ } # default - { name: macos-14-gcc-14-cmake, os: macos-14, cxx: g++-14 } #installed - { name: macos-15-clang-cmake, os: macos-15, cxx: clang++ } # default diff --git a/.github/workflows/unittest-macos.yml b/.github/workflows/unittest-macos.yml index cda9727b..bf501135 100644 --- a/.github/workflows/unittest-macos.yml +++ b/.github/workflows/unittest-macos.yml @@ -14,8 +14,8 @@ jobs: matrix: config: - { name: macos-arm-14-clang-unittest, os: macos-14, cxx: clang++ } # Apple silicon - - { name: macos-12-clang-unittest, os: macos-12, cxx: clang++ } - - { name: macos-12-gcc-unittest, os: macos-12, cxx: g++ } + - { name: macos-latest-clang-unittest, os: macos-latest, cxx: clang++ } + - { name: macos-latest-gcc-unittest, os: macos-latest, cxx: g++ } steps: - uses: actions/checkout@v4