Skip to content

Commit

Permalink
Add iOS build for samples
Browse files Browse the repository at this point in the history
  • Loading branch information
Pante committed May 9, 2024
1 parent 6747451 commit df7cf25
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion .github/workflows/samples_build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,24 @@ jobs:
- run: flutter pub run build_runner build --delete-conflicting-outputs
- run: flutter analyze
- run: flutter test
- run: flutter build appbundle --debug --no-pub --no-tree-shake-icons
- run: flutter build appbundle --debug --no-pub --no-tree-shake-icons

build-ios:
name: Build iOS
runs-on: macos-14 # TODO: macos-latest still points to MacOS 12 which doesn't support XCode 15, https://github.blog/changelog/2024-01-30-github-actions-macos-14-sonoma-is-now-available/
defaults:
run:
working-directory: samples
steps:
- uses: actions/checkout@v4
- uses: subosito/[email protected]
with:
cache: true

- run: flutter pub get
- run: flutter pub run build_runner build --delete-conflicting-outputs
- run: flutter analyze
- run: flutter test
- run: pod repo update
working-directory: samples/ios
- run: flutter build ios --debug --no-codesign --no-pub --flavor development --dart-define=DEVELOPMENT

0 comments on commit df7cf25

Please sign in to comment.