Skip to content

Commit 2014706

Browse files
committed
ci: use macos-11 and macos-12 runner
1 parent 9fa7a9e commit 2014706

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/macos.yml

+5-4
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ on: [push, pull_request]
44

55
jobs:
66
build:
7-
name: AppleClang-${{matrix.build_type}}-${{matrix.lib}}-${{matrix.components}}-${{matrix.metis}}
8-
runs-on: macos-latest
7+
name: ${{matrix.os}}-AppleClang-${{matrix.build_type}}-${{matrix.lib}}-${{matrix.components}}-${{matrix.metis}}
8+
runs-on: ${{matrix.os}}
99
defaults:
1010
run:
1111
shell: bash
@@ -14,6 +14,7 @@ jobs:
1414
strategy:
1515
fail-fast: true
1616
matrix:
17+
os: [macos-11, macos-12]
1718
build_type: [Release, Debug]
1819
lib: [shared, static]
1920
components: [minimal, lgpl, gpl]
@@ -48,8 +49,8 @@ jobs:
4849
uses: actions/cache@v2
4950
with:
5051
path: ${{env.CCACHE_DIR}}
51-
key: ${{runner.os}}-${{matrix.build_type}}-${{matrix.lib}}-${{matrix.components}}-${{matrix.metis}}-ccache-${{github.run_id}}
52-
restore-keys: ${{runner.os}}-${{matrix.build_type}}-${{matrix.lib}}-${{matrix.components}}-${{matrix.metis}}-ccache-
52+
key: ${{matrix.os}}-${{matrix.build_type}}-${{matrix.lib}}-${{matrix.components}}-${{matrix.metis}}-ccache-${{github.run_id}}
53+
restore-keys: ${{matrix.os}}-${{matrix.build_type}}-${{matrix.lib}}-${{matrix.components}}-${{matrix.metis}}-ccache-
5354

5455
- name: Configure
5556
run: |

0 commit comments

Comments
 (0)