mirror of
https://github.com/priyanshujain/sanderling.git
synced 2026-10-02 19:17:10 +00:00
ci(folio): give the ios leg its jdk, android sdk, just, and a clean app start
This commit is contained in:
1 parent
dfff790805
commit
b7d3b1b7cb
1 file changed
+20
-3
@@ -94,7 +94,6 @@ jobs:
|
||||
api-level: 34
|
||||
target: google_apis
|
||||
arch: x86_64
|
||||
profile: pixel_6
|
||||
emulator-options: -no-window -gpu swiftshader_indirect -no-snapshot -noaudio -no-boot-anim
|
||||
disable-animations: true
|
||||
script: .github/scripts/folio-run.sh android
|
||||
@@ -128,8 +127,20 @@ jobs:
|
||||
with:
|
||||
bun-version: "1.3.13"
|
||||
|
||||
- name: Install idb-companion and xcodegen
|
||||
run: brew install idb-companion xcodegen
|
||||
- name: Install idb-companion, xcodegen and just
|
||||
run: brew install idb-companion xcodegen just
|
||||
|
||||
- name: Set up JDK 17
|
||||
uses: actions/setup-java@v4
|
||||
with:
|
||||
distribution: temurin
|
||||
java-version: "17"
|
||||
|
||||
# The iOS app builds its Kotlin framework through the folio gradle
|
||||
# project, which configures :app:androidApp and so needs an Android SDK
|
||||
# even on this leg.
|
||||
- name: Set up Android SDK
|
||||
uses: android-actions/setup-android@v3
|
||||
|
||||
# Both asset tarballs are built by the prepare scripts, and the runner
|
||||
# bundle is an xcodebuild of companion/Sources. Keyed on the scripts and
|
||||
@@ -158,6 +169,12 @@ jobs:
|
||||
env:
|
||||
IOS_DEVICE: iPhone 16 Pro
|
||||
|
||||
# `just ios` leaves the app running, and the run's own clear-data
|
||||
# reinstall on top of a live app has raced FrontBoard into refusing the
|
||||
# launch ("app.folio is unknown to FrontBoard") with the run then hanging.
|
||||
- name: Stop the app before the run
|
||||
run: xcrun simctl terminate booted app.folio || true
|
||||
|
||||
- name: Fuzz folio on the simulator
|
||||
run: .github/scripts/folio-run.sh ios
|
||||
env:
|
||||
|
||||
Reference in new issue
Block a user