Last active
June 12, 2020 01:57
-
-
Save erluxman/ac4916fedc3b37982181b0a631561d20 to your computer and use it in GitHub Desktop.
Snippet for flutter build on github
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
on: push | |
name: Flutter CI | |
jobs: | |
build: | |
name: Build and Test on ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
timeout-minutes: 10 | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows-latest, macos-latest] | |
steps: | |
- uses: actions/checkout@v1 | |
- uses: actions/setup-java@v1 | |
with: | |
java-version: '12.x' | |
- uses: subosito/flutter-action@v1 | |
with: | |
channel: 'stable' | |
- run: flutter pub get | |
- run: flutter build aot | |
- run: flutter analyze | |
- run: flutter test --coverage |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment