Skip to content

Commit

Permalink
Switch GH runners to run on ubuntu-latest (#1364)
Browse files Browse the repository at this point in the history
`macOS-latest` resulted in emulators failing to run since the
`macOS-latest` runner was updated to `mac14-arm64`.

Failed action with `macOS-latest`:
https://github.com/android/compose-samples/actions/runs/8835086121
Confirming that this change fixes emulator runs:
https://github.com/android/compose-samples/actions/runs/8837607669


...changing emulator arch to
[arm64](https://github.com/android/compose-samples/blob/main/.github/workflows/Reply.yaml#L62)
is perhaps another way to fix this.

Note: I had to use `macos-12` for Crane to fix emulator-related failures
(see
https://github.com/android/compose-samples/actions/runs/8837918596/job/24270240695)
  • Loading branch information
arriolac authored Apr 25, 2024
2 parents f4ad97f + 2b69e3a commit 7631197
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/Crane.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:

test:
needs: build
runs-on: macOS-latest # enables hardware acceleration in the virtual machine
runs-on: macos-13
timeout-minutes: 30
strategy:
matrix:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/JetLagged.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:

test:
needs: build
runs-on: macOS-latest # enables hardware acceleration in the virtual machine
runs-on: ubuntu-latest
timeout-minutes: 30
strategy:
matrix:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/JetNews.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:

androidTest:
needs: build
runs-on: macOS-latest # enables hardware acceleration in the virtual machine
runs-on: ubuntu-latest
timeout-minutes: 30
strategy:
matrix:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/Jetchat.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:

test:
needs: build
runs-on: macOS-latest # enables hardware acceleration in the virtual machine
runs-on: ubuntu-latest
timeout-minutes: 30
strategy:
matrix:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/Owl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:

test:
needs: build
runs-on: macOS-latest # enables hardware acceleration in the virtual machine
runs-on: ubuntu-latest
timeout-minutes: 30
strategy:
matrix:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/Reply.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:

test:
needs: build
runs-on: macOS-latest # enables hardware acceleration in the virtual machine
runs-on: ubuntu-latest
timeout-minutes: 30
strategy:
matrix:
Expand Down

0 comments on commit 7631197

Please sign in to comment.