diff --git a/.github/workflows/folio.yml b/.github/workflows/folio.yml index 94f1dcf..dc46bfb 100644 --- a/.github/workflows/folio.yml +++ b/.github/workflows/folio.yml @@ -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: