macos-latest changed from macOS 12 on amd64 to arm64

This seems to have happened around 2024.04.23

https://github.blog/changelog/2024-04-01-macos-14-sonoma-is-generally-available-and-the-latest-macos-runner-image/
This commit is contained in:
David Hummel 2024-04-26 10:58:32 -07:00
parent 6e81004cfb
commit 8afed63683

View file

@ -29,16 +29,24 @@ jobs:
Build & Test
(${{ matrix.os }})
(C++ ${{ matrix.cxx-standard }})
${{ startsWith(matrix.os, 'macos-') && (matrix.os == 'macos-14' && '(ARM64)' || '(AMD64)') || '' }}
needs: checkSource
strategy:
fail-fast: false
matrix:
os: [macos-latest, windows-latest, ubuntu-latest]
cxx-standard: [17]
os:
- macos-13
- macos-14
- ubuntu-latest
- windows-latest
cxx-standard:
- 17
include:
- os: ubuntu-latest
- os: macos-13
mono: mono
- os: macos-latest
- os: macos-14
mono: mono
- os: ubuntu-latest
mono: mono
- os: windows-latest
@ -75,15 +83,10 @@ jobs:
nuget-pat: ${{ secrets.GITHUB_TOKEN }}
mono: ${{ matrix.mono }}
- id: lc_platform
uses: ASzc/change-string-case-action@v6
with:
string: ${{ runner.os }}
- name: set lower case runner os
shell: bash
run: |
echo "PRESET=${{ steps.lc_platform.outputs.lowercase }}-ci" >>${GITHUB_ENV}
echo "PRESET=$(echo "${{ runner.os }}" | perl -ne "print lc")-ci" >> ${GITHUB_ENV}
- name: Configure CMake
shell: bash