Skip to content
Open
Show file tree
Hide file tree
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
14 changes: 14 additions & 0 deletions .github/workflows/pr_build_all_platforms.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,18 @@ jobs:
artifact_name: android-apk
artifact_path: open_wearable/build/app/outputs/flutter-apk/app-release.apk
android: true
- target: ios
name: iOS
os: macos-latest
build_command: flutter build ios --release --no-codesign
artifact_name: ios-runner
artifact_path: open_wearable/build/ios/iphoneos/Runner.app
- target: macos
name: macOS
os: macos-latest
build_command: flutter build macos --release
artifact_name: macos-app
artifact_path: open_wearable/build/macos/Build/Products/Release/open_wearable.app
- target: linux
name: Linux
os: ubuntu-latest
Expand Down Expand Up @@ -115,6 +127,8 @@ jobs:
const repoUrl = `${context.serverUrl}/${context.repo.owner}/${context.repo.repo}`;
const artifactLabels = new Map([
['android-apk', 'Android APK'],
['ios-runner', 'iOS Runner'],
['macos-app', 'macOS App'],
['linux-bundle', 'Linux Bundle'],
['windows-runner', 'Windows Runner'],
['web-bundle', 'Web Bundle'],
Expand Down
10 changes: 5 additions & 5 deletions open_wearable/ios/ci_scripts/ci_post_clone.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,17 +26,17 @@ cd $CI_WORKSPACE_PATH
echo "🟩 Install Flutter Dependencies"
cd repository/open_wearable
time flutter clean
time flutter pub get
time flutter pub upgrade
time flutter pub get --enforce-lockfile

echo "🟩 Install CocoaPods via Homebrew"
time HOMEBREW_NO_AUTO_UPDATE=1 brew install cocoapods

echo "🟩 Install CocoaPods dependencies..."
time cd ios && pod install
cd ../
cd ios
time pod install
cd ..

echo "🟩 build iOS"
time flutter build ios --release --no-codesign

exit 0
exit 0
Loading