File tree 2 files changed +63
-21
lines changed
2 files changed +63
-21
lines changed Original file line number Diff line number Diff line change
1
+ name : CI
2
+
3
+ on :
4
+ push :
5
+ branches : [auto]
6
+ pull_request :
7
+ workflow_dispatch :
8
+
9
+ jobs :
10
+ linux-ci :
11
+ name : Linux
12
+ runs-on : ubuntu-latest
13
+ strategy :
14
+ matrix :
15
+ toolchain :
16
+ - nightly
17
+ - beta
18
+ - stable
19
+ - 1.36.0
20
+ features :
21
+ -
22
+ - --features dummy_match_byte
23
+ include :
24
+ - toolchain : nightly
25
+ features : --features bench
26
+ - toolchain : nightly
27
+ features : --features bench,dummy_match_byte
28
+ steps :
29
+ - uses : actions/checkout@v2
30
+
31
+ - name : Install toolchain
32
+ uses : actions-rs/toolchain@v1
33
+ with :
34
+ profile : minimal
35
+ toolchain : ${{ matrix.toolchain }}
36
+ override : true
37
+
38
+ - name : Cargo build
39
+ run : cargo build ${{ matrix.features }}
40
+
41
+ - name : Cargo doc
42
+ run : cargo doc ${{ matrix.features }}
43
+
44
+ - name : Cargo test
45
+ run : cargo test ${{ matrix.features }}
46
+
47
+ - name : macros build
48
+ run : cargo build
49
+ working-directory : macros
50
+
51
+ build_result :
52
+ name : homu build finished
53
+ runs-on : ubuntu-latest
54
+ needs :
55
+ - " linux-ci"
56
+
57
+ steps :
58
+ - name : Mark the job as successful
59
+ run : exit 0
60
+ if : success()
61
+ - name : Mark the job as unsuccessful
62
+ run : exit 1
63
+ if : " !success()"
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments