From aa2a2465eef9c0dad0c51eff4bc1572834de2442 Mon Sep 17 00:00:00 2001 From: Marc Fehling Date: Tue, 25 Feb 2025 19:11:46 +0100 Subject: [PATCH] Added matrix strategy for OS versions in MacOS jobs. --- .github/workflows/osx.yml | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/.github/workflows/osx.yml b/.github/workflows/osx.yml index 70740635af..51072c467d 100644 --- a/.github/workflows/osx.yml +++ b/.github/workflows/osx.yml @@ -26,8 +26,8 @@ jobs: osx-serial: # simple serial build using apple clang - name: OSX serial - runs-on: [macos-latest] + name: ${{ matrix.os }} serial + runs-on: ${{ matrix.os }} # # The following condition only runs the workflow on 'push' or if the @@ -37,6 +37,11 @@ jobs: # # if: ${{ github.event_name == 'push' || !github.event.pull_request.draft }} + strategy: + fail-fast: false + matrix: + os: [macos-13, macos-14] + steps: - uses: actions/checkout@v4 - name: info @@ -68,8 +73,8 @@ jobs: osx-parallel64: # MPI build using apple clang and 64 bit indices - name: OSX parallel 64bit - runs-on: [macos-latest] + name: ${{ matrix.os }} parallel 64bit + runs-on: ${{ matrix.os }} # # The following condition only runs the workflow on 'push' or if the @@ -79,6 +84,11 @@ jobs: # # if: ${{ github.event_name == 'push' || !github.event.pull_request.draft }} + strategy: + fail-fast: false + matrix: + os: [macos-13, macos-14] + steps: - uses: actions/checkout@v4 - name: setup -- 2.39.5