File tree Expand file tree Collapse file tree 2 files changed +58
-42
lines changed
Expand file tree Collapse file tree 2 files changed +58
-42
lines changed Original file line number Diff line number Diff line change 5353 chmod +x verify.sh
5454 ./verify.sh
5555
56- emulator-smoke :
57- name : Emulator Startup Smoke
58- runs-on : ubuntu-latest
59- needs : core-build
60-
61- steps :
62- - uses : actions/checkout@v4
63-
64- - name : Set up JDK 17
65- uses : actions/setup-java@v4
66- with :
67- java-version : ' 17'
68- distribution : ' temurin'
69-
70- - name : Setup Android SDK
71- uses : android-actions/setup-android@v3
72-
73- - name : Install Rust Toolchain
74- uses : dtolnay/rust-toolchain@stable
75- with :
76- targets : aarch64-linux-android,armv7-linux-androideabi,x86_64-linux-android
77-
78- - name : Cache Rust artifacts
79- uses : Swatinem/rust-cache@v2
80- with :
81- workspaces : loader/app/src/main/rust
82-
83- - name : Install cargo-ndk
84- run : cargo install cargo-ndk --locked
85-
86- - name : Run connected startup smoke test
87- uses : reactivecircus/android-emulator-runner@v2
88- with :
89- api-level : 30
90- target : google_apis
91- arch : x86_64
92- profile : Nexus 6
93- disable-animations : false
94- emulator-options : -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
95- script : |
96- bash scripts/ci_emulator_smoke.sh
97-
9856 gui-package :
9957 name : GUI Package (${{ matrix.platform.name }})
10058 runs-on : ${{ matrix.platform.os }}
Original file line number Diff line number Diff line change 1+ name : Emulator Smoke
2+
3+ on :
4+ workflow_dispatch :
5+ push :
6+ branches : ["main"]
7+ paths :
8+ - " .github/workflows/emulator-smoke.yml"
9+ - " scripts/ci_emulator_smoke.sh"
10+ - " fixtures/test-apps/**"
11+ - " loader/**"
12+ - " pack.py"
13+
14+ env :
15+ CARGO_TERM_COLOR : always
16+
17+ jobs :
18+ emulator-smoke :
19+ name : Emulator Startup Smoke
20+ runs-on : ubuntu-latest
21+ timeout-minutes : 35
22+
23+ steps :
24+ - uses : actions/checkout@v4
25+
26+ - name : Set up JDK 17
27+ uses : actions/setup-java@v4
28+ with :
29+ java-version : ' 17'
30+ distribution : ' temurin'
31+
32+ - name : Setup Android SDK
33+ uses : android-actions/setup-android@v3
34+
35+ - name : Install Rust Toolchain
36+ uses : dtolnay/rust-toolchain@stable
37+ with :
38+ targets : aarch64-linux-android,armv7-linux-androideabi,x86_64-linux-android
39+
40+ - name : Cache Rust artifacts
41+ uses : Swatinem/rust-cache@v2
42+ with :
43+ workspaces : loader/app/src/main/rust
44+
45+ - name : Install cargo-ndk
46+ run : cargo install cargo-ndk --locked
47+
48+ - name : Run connected startup smoke test
49+ uses : reactivecircus/android-emulator-runner@v2
50+ with :
51+ api-level : 30
52+ target : google_apis
53+ arch : x86_64
54+ profile : Nexus 6
55+ disable-animations : false
56+ emulator-options : -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
57+ script : |
58+ bash scripts/ci_emulator_smoke.sh
You can’t perform that action at this time.
0 commit comments