ci: use macos arm64 runners

make usage of the new arm64 macOS GitHub actions runners
Signed-off-by: Thiago Mendes <tzig@tutanota.de>
This commit is contained in:
Thiago Mendes 2024-02-01 11:27:47 +01:00 committed by Florent BENOIT
parent dc7ec24f79
commit a05b03068d
4 changed files with 10 additions and 10 deletions

View file

@ -75,7 +75,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [windows-2022, ubuntu-22.04, macos-12]
os: [windows-2022, ubuntu-22.04, macos-14]
timeout-minutes: 60
steps:
- uses: actions/checkout@v4
@ -95,7 +95,7 @@ jobs:
run: echo "dir=$(yarn cache dir)" >> ${env:GITHUB_OUTPUT}
- name: Get yarn cache directory path (mac/Linux)
if: ${{ matrix.os=='ubuntu-22.04' || matrix.os=='macos-12' }}
if: ${{ matrix.os=='ubuntu-22.04' || matrix.os=='macos-14' }}
id: yarn-cache-dir-path-unix
run: echo "dir=$(yarn cache dir)" >> ${GITHUB_OUTPUT}
@ -109,7 +109,7 @@ jobs:
${{ runner.os }}-yarn-
- uses: actions/cache@v4
if: ${{ matrix.os=='ubuntu-22.04' || matrix.os=='macos-12' }}
if: ${{ matrix.os=='ubuntu-22.04' || matrix.os=='macos-14' }}
id: yarn-cache-unix
with:
path: ${{ steps.yarn-cache-dir-path-unix.outputs.dir }}

View file

@ -137,7 +137,7 @@ jobs:
darwin:
name: macOS
runs-on: macos-12
runs-on: macos-14
timeout-minutes: 40
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@ -302,4 +302,4 @@ jobs:
if: always()
with:
name: smoke-e2e-tests
path: ./tests/output/
path: ./tests/output/

View file

@ -30,7 +30,7 @@ jobs:
publish-to-brew:
name: Publish Podman Desktop to Brew cask
runs-on: macos-12
runs-on: macos-14
steps:
- name: Set version
id: VERSION

View file

@ -128,8 +128,8 @@ jobs:
- os: "windows-2022"
- os: "windows-2022"
airgap: "true"
- os: "macos-12"
- os: "macos-12"
- os: "macos-14"
- os: "macos-14"
airgap: "true"
- os: "ubuntu-22.04"
timeout-minutes: 60
@ -153,7 +153,7 @@ jobs:
run: echo "dir=$(yarn cache dir)" >> ${env:GITHUB_OUTPUT}
- name: Get yarn cache directory path (mac/Linux)
if: ${{ matrix.os=='ubuntu-22.04' || matrix.os=='macos-12' }}
if: ${{ matrix.os=='ubuntu-22.04' || matrix.os=='macos-14' }}
id: yarn-cache-dir-path-unix
run: echo "dir=$(yarn cache dir)" >> ${GITHUB_OUTPUT}
@ -167,7 +167,7 @@ jobs:
${{ runner.os }}-yarn-
- uses: actions/cache@v4
if: ${{ matrix.os=='ubuntu-22.04' || matrix.os=='macos-12' }}
if: ${{ matrix.os=='ubuntu-22.04' || matrix.os=='macos-14' }}
id: yarn-cache-unix
with:
path: ${{ steps.yarn-cache-dir-path-unix.outputs.dir }}