-
Notifications
You must be signed in to change notification settings - Fork 5
61 lines (56 loc) · 1.69 KB
/
dart.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
name: Dart
on:
[push, pull_request]
jobs:
# Default test configurations.
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
sdk: [stable, beta, dev]
architecture: [x64, arm, arm64]
fail-fast: false
steps:
- uses: actions/checkout@v4
- uses: dart-lang/setup-dart@v1
with:
sdk: ${{ matrix.sdk }}
- name: Print DART_HOME
run: echo "Dart SDK installed in $DART_HOME"
- run: dart pub get
- run: dart format --output=none --set-exit-if-changed .
- run: dart run example/main.dart
- run: dart run example/box.dart
- run: dart run example/sealedbox.dart
- run: dart run example/secretbox.dart
- run: dart run example/secure.dart
- run: dart run example/signature.dart
- run: dart analyze
- run: dart test
# Default test configurations.
test_32bit:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
sdk: [stable]
architecture: [ia32, arm]
fail-fast: false
steps:
- uses: actions/checkout@v4
- uses: dart-lang/setup-dart@v1
with:
sdk: ${{ matrix.sdk }}
- name: Print DART_HOME
run: echo "Dart SDK installed in $DART_HOME"
- run: dart pub get
- run: dart format --output=none --set-exit-if-changed .
- run: dart run example/main.dart
- run: dart run example/box.dart
- run: dart run example/sealedbox.dart
- run: dart run example/secretbox.dart
- run: dart run example/secure.dart
- run: dart run example/signature.dart
- run: dart analyze
- run: dart test