Skip to content

Commit 9f4ac68

Browse files
committed
do
1 parent 22f4fde commit 9f4ac68

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,14 +65,14 @@ jobs:
6565
sudo udevadm trigger --name-match=kvm
6666
6767
- name: Run Minimal Example (Android Emulator)
68-
uses: reactivecircus/android-emulator-runner@v2
6968
if: startsWith(matrix.os, 'ubuntu-')
70-
working-directory: examples/minimal
69+
uses: reactivecircus/android-emulator-runner@v2
7170
with:
7271
api-level: 34
7372
system-image-api-level: 34-ext9
7473
target: android-automotive
7574
script: adb shell am start -n com.zig.minimal/android.app.NativeActivity
75+
working-directory: examples/minimal
7676

7777
#
7878
# Nightly Zig Builds

examples/minimal/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,12 @@
22

33
As of 2024-09-19, this is a thrown together, very quick copy-paste of the minimal example from the original [ZigAndroidTemplate](https://github.com/ikskuh/ZigAndroidTemplate/blob/master/examples/minimal/main.zig) repository.
44

5-
### Build and install to test one target against a local emulator
5+
### Build, install to test one target against a local emulator and run
66

77
```sh
88
zig build -Dtarget=x86_64-linux-android
99
adb install ./zig-out/bin/minimal.apk
10+
adb shell am start -S -n com.zig.minimal/android.app.NativeActivity
1011
```
1112

1213
### Build and install for all supported Android targets

0 commit comments

Comments
 (0)