Skip to content

Commit

Permalink
actions: use latest runners for macOS and Ubuntu
Browse files Browse the repository at this point in the history
  • Loading branch information
deltabeard authored Oct 9, 2024
1 parent 66f7959 commit f378e72
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/peanut-sdl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,17 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-22.04, macos-11]
os: [ubuntu-latest, macos-latest]
build_type: [RelWithDebInfo]
generator: [Ninja]
nice-arch: [x86_64]
include:
- os: ubuntu-22.04
nice-name: "Linux-glibc2.35"
- os: ubuntu-latest
nice-name: "Ubuntu-Linux"

- os: macos-11
nice-name: "macOS11"
- os: macos-latest
nice-name: "macOS"
nice-arch: "arm64"

- os: windows-2022
build_type: RelWithDebInfo
Expand All @@ -46,7 +47,7 @@ jobs:
nice-name: "WindowsXP"

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0

Expand All @@ -61,7 +62,7 @@ jobs:
- run: mkdir ${{ env.CPM_SOURCE_CACHE }}

- name: Cache multiple paths
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
${{ env.CPM_SOURCE_CACHE }}
Expand All @@ -86,7 +87,7 @@ jobs:
run: echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT

- name: Upload output
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.nice-name }}-${{ matrix.nice-arch }}-${{ matrix.build_type }}-${{ steps.vars.outputs.sha_short }}
path: |
Expand Down

0 comments on commit f378e72

Please sign in to comment.