Skip to content

Commit

Permalink
Merge pull request #3 from eyro-labs/github-workflow
Browse files Browse the repository at this point in the history
Initialize github workflows
  • Loading branch information
alann-maulana authored Dec 18, 2019
2 parents 7e1a6e0 + 387f477 commit dccd8a7
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/flutter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Flutter CI

on: [push]

jobs:
build:
name: Build on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
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.1.1
with:
flutter-version: '1.11.0'
channel: 'beta'
- run: flutter packages get

test:
name: Test on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
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.1.1
with:
flutter-version: '1.11.0'
channel: 'beta'
- run: flutter test

0 comments on commit dccd8a7

Please sign in to comment.