Skip to content

Commit 841d0e9

Browse files
committed
1 parent 148bc93 commit 841d0e9

File tree

1 file changed

+40
-36
lines changed

1 file changed

+40
-36
lines changed

.github/workflows/ci.yml

Lines changed: 40 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,14 @@ jobs:
2121
os: 'macos-15'
2222
ANDROID_API: 28
2323
ANDROID_ARCH: 'arm64-v8a'
24-
- name: 'macOS 26'
25-
os: 'macos-26'
24+
#- name: 'macOS 26'
25+
# os: 'macos-26'
26+
# ANDROID_API: 28
27+
# ANDROID_ARCH: 'arm64-v8a'
28+
- name: 'Ubuntu Latest'
29+
os: 'ubuntu-latest'
2630
ANDROID_API: 28
27-
ANDROID_ARCH: 'arm64-v8a'
31+
ANDROID_ARCH: 'x86_64'
2832
fail-fast: false
2933
runs-on: ${{ matrix.os }}
3034
env:
@@ -51,37 +55,37 @@ jobs:
5155
docker exec --privileged -it -e EMULATOR_TIMEOUT=300 androidContainer bash -c "./start_emu_headless.sh"
5256
adb shell 'echo Hello World'
5357
54-
- name: "Launch emulator"
55-
timeout-minutes: 10
56-
run: |
57-
# Install AVD files
58-
echo "y" | $ANDROID_HOME/cmdline-tools/latest/bin/sdkmanager --install "system-images;android-${ANDROID_API};default;${ANDROID_ARCH}"
59-
# Create emulator
60-
echo "y" | $ANDROID_HOME/cmdline-tools/latest/bin/avdmanager create avd -f -n test -d "Nexus 10" -k "system-images;android-${ANDROID_API};default;${ANDROID_ARCH}" --force
61-
echo "y" | $ANDROID_HOME/emulator/emulator -list-avds
62-
echo "Starting emulator"
63-
64-
# Start emulator in background
65-
nohup $ANDROID_HOME/emulator/emulator -avd test -no-snapshot -no-window -no-audio -no-boot-anim -no-accel -no-metrics &
66-
# Fixed quoting around "\r"
67-
$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'
68-
$ANDROID_HOME/platform-tools/adb devices
69-
echo "Emulator started"
70-
71-
- name: "Check Emulator"
72-
run: |
73-
$ANDROID_HOME/platform-tools/adb shell 'echo Hello Android!'
74-
75-
- name: "Install Skip"
76-
run: |
77-
brew install skiptools/skip/skip
78-
skip android sdk install
79-
80-
- name: "Test Swift Package"
81-
run: |
82-
mkdir PackageDemo
83-
cd PackageDemo
84-
swift package init
85-
swift test
86-
skip android test
58+
#- name: "Launch emulator"
59+
# timeout-minutes: 10
60+
# run: |
61+
# # Install AVD files
62+
# echo "y" | $ANDROID_HOME/cmdline-tools/latest/bin/sdkmanager --install "system-images;android-${ANDROID_API};default;${ANDROID_ARCH}"
63+
# # Create emulator
64+
# echo "y" | $ANDROID_HOME/cmdline-tools/latest/bin/avdmanager create avd -f -n test -d "Nexus 10" -k "system-images;android-${ANDROID_API};default;${ANDROID_ARCH}" --force
65+
# echo "y" | $ANDROID_HOME/emulator/emulator -list-avds
66+
# echo "Starting emulator"
67+
#
68+
# # Start emulator in background
69+
# nohup $ANDROID_HOME/emulator/emulator -avd test -no-snapshot -no-window -no-audio -no-boot-anim -no-accel -no-metrics &
70+
# # Fixed quoting around "\r"
71+
# $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'
72+
# $ANDROID_HOME/platform-tools/adb devices
73+
# echo "Emulator started"
74+
#
75+
#- name: "Check Emulator"
76+
# run: |
77+
# $ANDROID_HOME/platform-tools/adb shell 'echo Hello Android!'
78+
#
79+
#- name: "Install Skip"
80+
# run: |
81+
# brew install skiptools/skip/skip
82+
# skip android sdk install
83+
#
84+
#- name: "Test Swift Package"
85+
# run: |
86+
# mkdir PackageDemo
87+
# cd PackageDemo
88+
# swift package init
89+
# swift test
90+
# skip android test
8791

0 commit comments

Comments
 (0)