Skip to content

Commit

Permalink
Use macos-12 to keep using Docker (avoid ARM runners)
Browse files Browse the repository at this point in the history
Github's macos-latest runners now use ARM (M-series) chips, which
don't support nested virtualization. Colima is not even installed
anymore on these machines.
Therefore, to keep using Docker, we need to use macos-12 runners
at most, which still use intel chips.
  • Loading branch information
joffrey-bion committed May 13, 2024
1 parent 437bfe9 commit 8154160
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
os: [ubuntu-latest, macos-13] # macos-latest uses ARM which doesn't support virtualization
jdk-version: [21]
steps:
- name: Checkout repository
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ run-name: "Release ${{ inputs.version }}-(cdp-version)"

jobs:
release:
runs-on: macos-latest
runs-on: macos-13 # macos-latest uses ARM which doesn't support virtualization
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand Down

0 comments on commit 8154160

Please sign in to comment.