File tree Expand file tree Collapse file tree 1 file changed +69
-0
lines changed Expand file tree Collapse file tree 1 file changed +69
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Integration
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - auto
7
+ - try
8
+ # Don't run integration tests, when only textfiles were modified
9
+ paths-ignore :
10
+ - ' COPYRIGHT'
11
+ - ' LICENSE-*'
12
+ - ' **.md'
13
+ - ' **.txt'
14
+
15
+ env :
16
+ RUST_BACKTRACE : 1
17
+
18
+ jobs :
19
+ integration :
20
+ strategy :
21
+ fail-fast : false
22
+ matrix :
23
+ integration :
24
+ - ' rust-lang/rls'
25
+ - ' rust-lang/cargo'
26
+ - ' rust-lang/chalk'
27
+ - ' Geal/nom'
28
+ - ' rust-lang/rustfmt'
29
+ - ' hyperium/hyper'
30
+ - ' rust-itertools/itertools'
31
+ - ' serde-rs/serde'
32
+ - ' rust-lang/stdarch'
33
+ - ' rust-random/rand'
34
+ - ' rust-lang/futures-rs'
35
+ - ' Marwes/combine'
36
+ - ' rust-lang-nursery/failure'
37
+ - ' rust-lang/log'
38
+ - ' chronotope/chrono'
39
+ runs-on : ubuntu-latest
40
+
41
+ steps :
42
+ - name : rust-toolchain
43
+ uses :
actions-rs/[email protected]
44
+ with :
45
+ toolchain : nightly
46
+ target : x86_64-unknown-linux-gnu
47
+ profile : minimal
48
+ - name : Cache cargo dir
49
+ uses : actions/cache@v1
50
+ with :
51
+ path : ~/.cargo
52
+ key : ${{ runner.os }}-x86_64-unknown-linux-gnu
53
+ - name : Checkout
54
+
55
+ - name : Master Toolchain Setup
56
+ run : bash setup-toolchain.sh
57
+
58
+ - name : Build
59
+ run : cargo build --features integration
60
+ - name : Test ${{ matrix.integration }}
61
+ run : cargo test --test integration --features integration
62
+ env :
63
+ INTEGRATION : ${{ matrix.integration }}
64
+
65
+ - name : Run cargo-cache --autoclean
66
+ run : |
67
+ cargo install cargo-cache --debug
68
+ find ~/.cargo/bin ! -type d -exec strip {} \;
69
+ cargo cache --autoclean
You can’t perform that action at this time.
0 commit comments