-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'feature/prebuilt' of https://github.com/100mslive/100ms…
…-flutter into feature/prebuilt
- Loading branch information
Showing
1 changed file
with
34 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
name: Flutter | ||
|
||
on: #events (push and pull_request) | ||
push: | ||
branches: [ "feature/prebuilt" ] | ||
pull_request: | ||
branches: [ "feature/prebuilt" ] | ||
|
||
|
||
jobs: #here we specify the jobs - We could have multiple jobs | ||
build: #name it something meaningful | ||
runs-on: macos-latest #runner: select a machine to use | ||
|
||
//put down the steps | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- uses: actions/setup-java@v1 | ||
with: | ||
java-version: '12.x' | ||
- uses: subosito/flutter-action@v1 | ||
with: | ||
channel: 'stable' | ||
|
||
- name: Install dependencies | ||
run: flutter pub get # action | ||
|
||
- name: Run tests | ||
run: flutter test | ||
|
||
- name: Build android apk and appBundle | ||
run: flutter build apk | ||
|
||
- name: Build android ios | ||
run: flutter build ios --releasee --no-codesign |