Skip to content

Commit f990b4d

Browse files
committed
Test macos-26
1 parent baab754 commit f990b4d

File tree

2 files changed

+28
-12
lines changed

2 files changed

+28
-12
lines changed

.github/workflows/ci.yml

Lines changed: 25 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,35 +9,49 @@ jobs:
99
strategy:
1010
matrix:
1111
include:
12-
- name: 'macOS 13'
13-
os: 'macos-13'
14-
ANDROID_API: 28
15-
ANDROID_ARCH: 'x86_64'
16-
- name: 'macOS 14'
17-
os: 'macos-14'
12+
- name: 'macOS 26'
13+
os: 'macos-26'
1814
ANDROID_API: 28
1915
ANDROID_ARCH: 'arm64-v8a'
16+
ANDROID_GPU: 'swiftshader_indirect'
2017
- name: 'macOS 15'
2118
os: 'macos-15'
2219
ANDROID_API: 28
2320
ANDROID_ARCH: 'arm64-v8a'
24-
#- name: 'macOS 26'
25-
# os: 'macos-26'
26-
# ANDROID_API: 28
27-
# ANDROID_ARCH: 'arm64-v8a'
21+
ANDROID_GPU: 'swiftshader_indirect'
22+
- name: 'macOS 14'
23+
os: 'macos-14'
24+
ANDROID_API: 28
25+
ANDROID_ARCH: 'arm64-v8a'
26+
ANDROID_GPU: 'swiftshader_indirect'
27+
- name: 'macOS 13'
28+
os: 'macos-13'
29+
ANDROID_API: 28
30+
ANDROID_ARCH: 'x86_64'
31+
ANDROID_GPU: 'swiftshader_indirect'
2832
- name: 'Ubuntu Latest'
2933
os: 'ubuntu-latest'
3034
ANDROID_API: 28
3135
ANDROID_ARCH: 'x86_64'
36+
ANDROID_GPU: 'none'
3237
fail-fast: false
3338
runs-on: ${{ matrix.os }}
3439
env:
3540
ANDROID_API: ${{ matrix.ANDROID_API }}
3641
ANDROID_ARCH: ${{ matrix.ANDROID_ARCH }}
42+
ANDROID_GPU: ${{ matrix.ANDROID_GPU }}
43+
#ANDROID_BUILD_TOOLS_VERSION: 36.0.0
44+
ANDROID_BUILD_TOOLS_VERSION: 'latest'
3745
steps:
46+
- name: "Setup Environment"
47+
run: |
48+
echo "$ANDROID_HOME/cmdline-tools/latest/bin:$ANDROID_HOME/emulator:$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools:$ANDROID_HOME/build-tools/${{ env.ANDROID_BUILD_TOOLS_VERSION }}" >> $GITHUB_PATH
49+
3850
- name: "Launch emulator"
3951
timeout-minutes: 10
4052
run: |
53+
yes Y | $ANDROID_HOME/cmdline-tools/latest/bin/sdkmanager --licenses
54+
4155
# Install AVD files
4256
echo "y" | $ANDROID_HOME/cmdline-tools/latest/bin/sdkmanager --install "system-images;android-${ANDROID_API};default;${ANDROID_ARCH}"
4357
# Create emulator
@@ -46,7 +60,7 @@ jobs:
4660
echo "Starting emulator"
4761
4862
# Start emulator in background
49-
nohup $ANDROID_HOME/emulator/emulator -avd test -no-snapshot -no-window -no-audio -no-boot-anim -no-accel -no-metrics &
63+
nohup $ANDROID_HOME/emulator/emulator -avd test -no-snapshot -no-window -no-audio -no-boot-anim -no-accel -no-metrics -camera-back none -accel off -gpu ${ANDROID_GPU} &
5064
# Fixed quoting around "\r"
5165
$ANDROID_HOME/platform-tools/adb wait-for-device shell 'while [[ -z $(getprop sys.boot_completed | tr -d "\r") ]]; do sleep 1; done; input keyevent 82'
5266
$ANDROID_HOME/platform-tools/adb devices

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1-
# sdk-install-demo
1+
# sdk-install-demo
2+
3+
Simple test repository for testing launch of Android emulator on runners.

0 commit comments

Comments
 (0)