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:
parent
6e81004cfb
commit
8afed63683
1 changed files with 13 additions and 10 deletions
23
.github/workflows/build_and_test.yml
vendored
23
.github/workflows/build_and_test.yml
vendored
|
@ -29,16 +29,24 @@ jobs:
|
||||||
Build & Test
|
Build & Test
|
||||||
(${{ matrix.os }})
|
(${{ matrix.os }})
|
||||||
(C++ ${{ matrix.cxx-standard }})
|
(C++ ${{ matrix.cxx-standard }})
|
||||||
|
${{ startsWith(matrix.os, 'macos-') && (matrix.os == 'macos-14' && '(ARM64)' || '(AMD64)') || '' }}
|
||||||
needs: checkSource
|
needs: checkSource
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
os: [macos-latest, windows-latest, ubuntu-latest]
|
os:
|
||||||
cxx-standard: [17]
|
- macos-13
|
||||||
|
- macos-14
|
||||||
|
- ubuntu-latest
|
||||||
|
- windows-latest
|
||||||
|
cxx-standard:
|
||||||
|
- 17
|
||||||
include:
|
include:
|
||||||
- os: ubuntu-latest
|
- os: macos-13
|
||||||
mono: mono
|
mono: mono
|
||||||
- os: macos-latest
|
- os: macos-14
|
||||||
|
mono: mono
|
||||||
|
- os: ubuntu-latest
|
||||||
mono: mono
|
mono: mono
|
||||||
- os: windows-latest
|
- os: windows-latest
|
||||||
|
|
||||||
|
@ -75,15 +83,10 @@ jobs:
|
||||||
nuget-pat: ${{ secrets.GITHUB_TOKEN }}
|
nuget-pat: ${{ secrets.GITHUB_TOKEN }}
|
||||||
mono: ${{ matrix.mono }}
|
mono: ${{ matrix.mono }}
|
||||||
|
|
||||||
- id: lc_platform
|
|
||||||
uses: ASzc/change-string-case-action@v6
|
|
||||||
with:
|
|
||||||
string: ${{ runner.os }}
|
|
||||||
|
|
||||||
- name: set lower case runner os
|
- name: set lower case runner os
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
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
|
- name: Configure CMake
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
Loading…
Reference in a new issue