mirror of
https://github.com/zarzet/SpotiFLAC-Mobile.git
synced 2026-09-30 13:19:44 +02:00
fix(ci): audit stripped iOS archives and configure FFmpeg tests
This commit is contained in:
1 parent
146b2acd4d
commit
1e3414b3d0
5 files changed
+144
-6
No files matched your search
@@ -51,6 +51,7 @@ jobs:
|
||||
- 'ios/**'
|
||||
- 'scripts/build_ios.sh'
|
||||
- 'scripts/check_backend_ios.py'
|
||||
- 'scripts/test_check_backend_ios.py'
|
||||
- 'lib/**'
|
||||
- 'assets/**'
|
||||
- 'pubspec.yaml'
|
||||
@@ -178,6 +179,7 @@ jobs:
|
||||
|
||||
- name: Build and audit Rust iOS release application
|
||||
run: |
|
||||
python3 -m unittest discover -s scripts -p 'test_check_backend_ios.py'
|
||||
flutter build ios --release --no-codesign --target lib/main.dart
|
||||
python3 scripts/check_backend_ios.py build/ios/iphoneos/Runner.app \
|
||||
--backend rust --archs arm64 --platform ios --release
|
||||
@@ -225,12 +227,14 @@ jobs:
|
||||
- name: Configure Flutter SDK for Gradle
|
||||
run: echo "flutter.sdk=$FLUTTER_ROOT" > android/local.properties
|
||||
|
||||
- name: Install Rust application build prerequisites
|
||||
- name: Install Rust application build and media test prerequisites
|
||||
run: |
|
||||
cd rust_backend
|
||||
rustup show
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y libclang-dev
|
||||
sudo apt-get install -y libclang-dev ffmpeg
|
||||
ffmpeg -version
|
||||
echo "SPOTIFLAC_TEST_FFMPEG=$(command -v ffmpeg)" >> "$GITHUB_ENV"
|
||||
|
||||
- name: Package Rust application and run native unit tests
|
||||
run: gradle -p android :app:assembleDebug :app:testDebugUnitTest
|
||||
|
||||
Reference in new issue
Block a user