Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 15 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,7 @@ jobs:
submodules: recursive

- name: Set up Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
uses: dtolnay/rust-toolchain@stable

- name: Set up Flutter
uses: subosito/flutter-action@v2
Expand All @@ -31,7 +29,7 @@ jobs:
flutter-version: 3.24.0

- name: Set up Java
uses: actions/setup-java@v2
uses: actions/setup-java@v5
with:
java-version: '21'
distribution: 'temurin'
Expand Down Expand Up @@ -64,6 +62,18 @@ jobs:
cp rustpush/certs/legacy-fairplay/fairplay.crt rustpush/certs/fairplay/$name.crt
done

# Keep the test gate whole rather than maintaining a hand-curated file
# list. This upstream base has no test/ directory yet, so the guard is
# intentionally a clean no-op until Dart tests are present.
- name: Run the complete Dart test suite
run: |
set -euo pipefail
if [ -d test ]; then
flutter test
else
echo "No test/ directory in this upstream base; Dart suite not present."
fi

# First run is expected to fail until ffmpeg_kit_flutter_new is fixed.
- name: Run Build Script
run: |
Expand All @@ -72,4 +82,4 @@ jobs:
- uses: actions/upload-artifact@v4
with:
name: Alpha Debug APK
path: build/app/outputs/flutter-apk/app-alpha-debug.apk
path: build/app/outputs/flutter-apk/app-alpha-debug.apk