Commit from GitHub Actions (Forui Presubmit) #119
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Forui Example Build | |
on: | |
workflow_dispatch: {} | |
push: | |
paths: | |
- .github/workflows/forui_example_build.yaml | |
- forui/** | |
jobs: | |
build-android: | |
name: Build Android | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: forui/example | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-java@v4 | |
with: | |
distribution: 'temurin' | |
java-version: 17 | |
- 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: 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: forui/example | |
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: forui/example/ios | |
- run: flutter build ios --debug --no-codesign --no-pub |