Skip to content

Commit

Permalink
GitHub Actions: migrate macos environment from 10.15 to 12
Browse files Browse the repository at this point in the history
macos-10.15 Actions runner image is deprecated since 2022-05-31 and will be fully unsupported by 2022-08-31
macos-12    Actions runner image is available  since 2022-04-27

Reference:
actions/runner-images#5583
actions/runner-images#5446

Signed-off-by: leleliu008 <leleliu008@gmail.com>
  • Loading branch information
leleliu008 committed Aug 14, 2022
1 parent 81b5c49 commit 8bc1781
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cross-compile-android-ndk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
strategy:
fail-fast: false
matrix:
build-machine-os: [ubuntu-22.04, ubuntu-20.04, macos-10.15, macos-11]
build-machine-os: [ubuntu-22.04, ubuntu-20.04, macos-12, macos-11]

runs-on: ${{ matrix.build-machine-os }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cross-compile-mingw-w64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
strategy:
fail-fast: false
matrix:
build-machine-os: [ubuntu-22.04, ubuntu-20.04, macos-10.15, macos-11]
build-machine-os: [ubuntu-22.04, ubuntu-20.04, macos-12, macos-11]
target: [i686-w64-mingw32,x86_64-w64-mingw32]

runs-on: ${{ matrix.build-machine-os }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/testing-bsds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

jobs:
freebsd:
runs-on: macos-10.15
runs-on: macos-12

strategy:
fail-fast: false
Expand Down Expand Up @@ -40,7 +40,7 @@ jobs:
openbsd:
needs: freebsd
runs-on: macos-10.15
runs-on: macos-12

steps:
- uses: actions/checkout@v2
Expand Down Expand Up @@ -76,7 +76,7 @@ jobs:
netbsd:
needs: openbsd
runs-on: macos-10.15
runs-on: macos-12

steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/testing-freebsd.yml.bak
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

jobs:
testing:
runs-on: macos-10.15
runs-on: macos-12

strategy:
fail-fast: false
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/testing-mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:

strategy:
matrix:
os: [macos-11, macos-10.15]
os: [macos-11, macos-12]
compiler: [gcc, clang]

runs-on: ${{ matrix.os }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/testing-netbsd.yml.bak
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

jobs:
testing:
runs-on: macos-10.15
runs-on: macos-12

steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/testing-openbsd.yml.bak
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

jobs:
testing:
runs-on: macos-10.15
runs-on: macos-12

steps:
- uses: actions/checkout@v2
Expand Down

0 comments on commit 8bc1781

Please sign in to comment.