-
Notifications
You must be signed in to change notification settings - Fork 3
53 lines (48 loc) · 1.41 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
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/cardano_shelley_icarus_keys.dart
- run: dart run example/cardano_signing.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/cardano_shelley_icarus_keys.dart
- run: dart run example/cardano_signing.dart
- run: dart analyze
- run: dart test