forked from dnfield/vector_graphics
-
Notifications
You must be signed in to change notification settings - Fork 0
66 lines (61 loc) · 1.5 KB
/
compiler.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
name: analyze and test compiler
on:
push:
branches: [main]
paths-ignore:
- '**/*.md'
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: packages/vector_graphics_compiler
steps:
- uses: actions/checkout@v3
- uses: subosito/flutter-action@v2
with:
channel: 'master'
- run: flutter --version
- run: flutter pub get
- run: dart format --set-exit-if-changed .
- run: flutter analyze .
- run: flutter test --coverage
# - uses: romeovs/[email protected]
# with:
# lcov-file: ./packages/vector_graphics_compiler/coverage/lcov.info
# github-token: ${{ secrets.GITHUB_TOKEN }}
test_windows:
runs-on: windows-2022
defaults:
run:
working-directory: packages/vector_graphics_compiler
steps:
- uses: actions/checkout@v4
- uses: subosito/flutter-action@v2
with:
cache: true
- run: flutter test
test_mac_x86:
runs-on: macos-13
defaults:
run:
working-directory: packages/vector_graphics_compiler
steps:
- uses: actions/checkout@v4
- uses: subosito/flutter-action@v2
with:
cache: true
- run: flutter test
test_mac_m1:
runs-on: macos-14
defaults:
run:
working-directory: packages/vector_graphics_compiler
steps:
- uses: actions/checkout@v4
- uses: subosito/flutter-action@v2
with:
cache: true
- run: flutter test