-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from KendiJ/workflows
workflows
- Loading branch information
Showing
5 changed files
with
165 additions
and
5 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,58 @@ | ||
name: Main branch | ||
|
||
on: | ||
|
||
push: | ||
branches: [ main ] | ||
|
||
|
||
|
||
jobs: | ||
|
||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
|
||
|
||
- name : Checkout Repo | ||
uses: actions/checkout@v2 | ||
|
||
- name: Setup Java | ||
uses: actions/setup-java@v1 | ||
with: | ||
java-version: '12.x' | ||
|
||
- name : Setup Flutter | ||
uses: subosito/flutter-action@v1 | ||
with: | ||
flutter-version: '3.13.3' | ||
|
||
- name: Flutter Pub get | ||
run : | | ||
echo flutter clean | ||
echo flutter pub get | ||
- name : Flutter Analyze | ||
run : flutter analyze | ||
|
||
# - name : Run Test | ||
# run : flutter test | ||
|
||
# - name : Run Test Coverage | ||
# run : flutter test --coverage | ||
|
||
- name : Install lcov | ||
run : sudo apt-get install -y lcov | ||
|
||
|
||
- name : Upload Coverage To Codecov | ||
uses: codecov/codecov-action@v2 | ||
# with: | ||
# token: ${{ secrets.CODECOV_TOKEN }} | ||
# files: coverage/lcov.info | ||
|
||
- name : Build Apk | ||
run: flutter build apk --target-platform android-arm,android-arm64,android-x64 --split-per-abi | ||
|
||
|
||
|
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,58 @@ | ||
name: Main branch | ||
|
||
on: | ||
|
||
push: | ||
branches: [ main ] | ||
|
||
|
||
|
||
jobs: | ||
|
||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
|
||
|
||
- name : Checkout Repo | ||
uses: actions/checkout@v2 | ||
|
||
- name: Setup Java | ||
uses: actions/setup-java@v1 | ||
with: | ||
java-version: '12.x' | ||
|
||
- name : Setup Flutter | ||
uses: subosito/flutter-action@v1 | ||
with: | ||
flutter-version: '3.13.3' | ||
|
||
- name: Flutter Pub get | ||
run : | | ||
echo flutter clean | ||
echo flutter pub get | ||
- name : Flutter Analyze | ||
run : flutter analyze | ||
|
||
# - name : Run Test | ||
# run : flutter test | ||
|
||
# - name : Run Test Coverage | ||
# run : flutter test --coverage | ||
|
||
- name : Install lcov | ||
run : sudo apt-get install -y lcov | ||
|
||
|
||
- name : Upload Coverage To Codecov | ||
uses: codecov/codecov-action@v2 | ||
# with: | ||
# token: ${{ secrets.CODECOV_TOKEN }} | ||
# files: coverage/lcov.info | ||
|
||
- name : Build Apk | ||
run: flutter build apk --target-platform android-arm,android-arm64,android-x64 --split-per-abi | ||
|
||
|
||
|
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,45 @@ | ||
name: develop branch | ||
|
||
on: | ||
|
||
push: | ||
branches: [ develop ] | ||
|
||
|
||
|
||
jobs: | ||
|
||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
|
||
|
||
- name : Checkout Repo | ||
uses: actions/checkout@v2 | ||
|
||
- name: Setup Java | ||
uses: actions/setup-java@v1 | ||
with: | ||
java-version: '12.x' | ||
|
||
- name : Setup Flutter | ||
uses: subosito/flutter-action@v1 | ||
with: | ||
flutter-version: '3.13.3' | ||
|
||
- name: Flutter Pub get | ||
run : | | ||
echo flutter clean | ||
echo flutter pub get | ||
- name : Flutter Analyze | ||
run : flutter analyze | ||
|
||
|
||
|
||
|
||
- name : Build Apk | ||
run: flutter build apk --target-platform android-arm,android-arm64,android-x64 --split-per-abi | ||
|
||
|
||
|
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
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