File tree Expand file tree Collapse file tree 2 files changed +48
-36
lines changed Expand file tree Collapse file tree 2 files changed +48
-36
lines changed Original file line number Diff line number Diff line change
1
+ name : Rust
2
+
3
+ on :
4
+ push :
5
+ branches : [ master ]
6
+ pull_request :
7
+ branches : [ master ]
8
+
9
+ env :
10
+ CARGO_TERM_COLOR : always
11
+
12
+ jobs :
13
+ build :
14
+
15
+ runs-on : ubuntu-latest
16
+ strategy :
17
+ matrix :
18
+ include :
19
+ - qt : ' 5.6.2'
20
+ rust : stable
21
+ - qt : ' 5.15.2'
22
+ rust : stable
23
+ - qt : ' 5.9.2'
24
+ rust : beta
25
+ - qt : ' 5.12.2'
26
+ rust : nightly
27
+
28
+ steps :
29
+ - uses : actions/checkout@v2
30
+ - uses : actions-rs/toolchain@v1
31
+ with :
32
+ profile : minimal
33
+ toolchain : ${{ matrix.rust }}
34
+ override : true
35
+ components : rustfmt, clippy
36
+ - name : Cache Qt
37
+ id : cache-qt
38
+ uses : actions/cache@v1
39
+ with :
40
+ path : ../Qt
41
+ key : QtCache-${{ runner.os }}-${{ matrix.qt }}
42
+ - name : Install Qt
43
+ uses : jurplel/install-qt-action@v2
44
+ with :
45
+ version : ${{ matrix.qt }}
46
+ cached : ${{ steps.cache-qt.outputs.cache-hit }}
47
+ - name : Run tests
48
+ run : cargo test --all-features
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments