8000 Create build.yml · efraespada/flutter-webrtc@b50f62d · GitHub
[go: up one dir, main page]

Skip to content

Commit b50f62d

Browse files
authored
Create build.yml
1 parent f073dcd commit b50f62d

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

.github/workflows/build.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Build
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
- master
8+
- dev
9+
10+
jobs:
11+
test:
12+
name: Test on ${{ matrix.os }}
13+
runs-on: ${{ matrix.os }}
14+
strategy:
15+
matrix:
16+
os: [ubuntu-latest]
17+
# os: [ubuntu-latest, windows-latest, macos-latest]
18+
steps:
19+
- uses: actions/checkout@v2
20+
- uses: actions/setup-java@v1
21+
with:
22+
java-version: '12.x'
23+
- uses: subosito/flutter-action@v1
24+
with:
25+
flutter-version: '2.0.5'
26+
channel: 'stable'
27+
- run: flutter packages get
28+
- run: flutter format lib/ test/ --set-exit-if-changed
29+
- run: flutter pub run import_sorter:main --no-comments --exit-if-changed
30+
- run: flutter analyze
31+
- run: flutter test
32+
- run: flutter build web
33+

0 commit comments

Comments
 (0)
0