Skip to content

Commit 1ff78b8

Browse files
committed
disable CI
1 parent 74238c0 commit 1ff78b8

File tree

1 file changed

+38
-31
lines changed

1 file changed

+38
-31
lines changed

.github/workflows/ci.yml

Lines changed: 38 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -57,37 +57,44 @@ jobs:
5757
run: zig build -Dandroid=true --verbose
5858
working-directory: examples/sdl2
5959

60-
- name: Enable KVM (For Android emulation)
61-
if: startsWith(matrix.os, 'ubuntu-')
62-
run: |
63-
echo 'KERNEL=="kvm", GROUP="kvm", MODE="0666", OPTIONS+="static_node=kvm"' | sudo tee /etc/udev/rules.d/99-kvm4all.rules
64-
sudo udevadm control --reload-rules
65-
sudo udevadm trigger --name-match=kvm
66-
67-
- name: Run Minimal Example (Android Emulator)
68-
if: startsWith(matrix.os, 'ubuntu-')
69-
uses: reactivecircus/android-emulator-runner@v2
70-
with:
71-
api-level: 34
72-
arch: x86_64
73-
profile: Nexus 6
74-
script: |
75-
adb install ./zig-out/bin/minimal.apk
76-
adb shell am start -S -W -n com.zig.minimal/android.app.NativeActivity
77-
working-directory: examples/minimal
78-
79-
- name: Run SDL2 Example (Android Emulator)
80-
if: startsWith(matrix.os, 'ubuntu-')
81-
uses: reactivecircus/android-emulator-runner@v2
82-
with:
83-
api-level: 34
84-
arch: x86_64
85-
profile: Nexus 6
86-
#script: adb install ./zig-out/bin/sdl-zig-demo.apk && adb shell am start -S -W -n com.zig.sdl2/com.zig.sdl2.ZigSDLActivity
87-
script: |
88-
adb install ./zig-out/bin/sdl-zig-demo.apk
89-
adb shell monkey --kill-process-after-error --monitor-native-crashes --pct-touch 100 -p com.zig.sdl2 -v 50
90-
working-directory: examples/sdl2
60+
# NOTE(jae): 2025-03-30
61+
# Attempted to run examples on Ubuntu OS but even though the SDL2 example
62+
# gets obvious errors with a dialog box popping up, I can't easily detect if a failure occurred.
63+
#
64+
# If I hacked the onCreate of SDLActivity and just made it throw an exception instead of having a dialog box
65+
# that would probably catch instantiation issues but not sure it's worth doing.
66+
67+
# - name: Enable KVM (For Android emulation)
68+
# if: startsWith(matrix.os, 'ubuntu-')
69+
# run: |
70+
# echo 'KERNEL=="kvm", GROUP="kvm", MODE="0666", OPTIONS+="static_node=kvm"' | sudo tee /etc/udev/rules.d/99-kvm4all.rules
71+
# sudo udevadm control --reload-rules
72+
# sudo udevadm trigger --name-match=kvm
73+
74+
# - name: Run Minimal Example (Android Emulator)
75+
# if: startsWith(matrix.os, 'ubuntu-')
76+
# uses: reactivecircus/android-emulator-runner@v2
77+
# with:
78+
# api-level: 34
79+
# arch: x86_64
80+
# profile: Nexus 6
81+
# script: |
82+
# adb install ./zig-out/bin/minimal.apk
83+
# adb shell am start -S -W -n com.zig.minimal/android.app.NativeActivity
84+
# working-directory: examples/minimal
85+
86+
# - name: Run SDL2 Example (Android Emulator)
87+
# if: startsWith(matrix.os, 'ubuntu-')
88+
# uses: reactivecircus/android-emulator-runner@v2
89+
# with:
90+
# api-level: 34
91+
# arch: x86_64
92+
# profile: Nexus 6
93+
# #script: adb install ./zig-out/bin/sdl-zig-demo.apk && adb shell am start -S -W -n com.zig.sdl2/com.zig.sdl2.ZigSDLActivity
94+
# script: |
95+
# adb install ./zig-out/bin/sdl-zig-demo.apk
96+
# adb shell monkey --kill-process-after-error --monitor-native-crashes --pct-touch 100 -p com.zig.sdl2 -v 50
97+
# working-directory: examples/sdl2
9198

9299
#
93100
# Nightly Zig Builds

0 commit comments

Comments
 (0)