File tree Expand file tree Collapse file tree 1 file changed +47
-67
lines changed Expand file tree Collapse file tree 1 file changed +47
-67
lines changed Original file line number Diff line number Diff line change 1212
1313jobs :
1414 job-matrix :
15- name : ${{ matrix.make.name }} (${{ matrix.rust }}; ${{ matrix.os }})
15+ name : ${{ matrix.make.task }} (${{ matrix.rust }}; ${{ matrix.os }})
1616 runs-on : ${{ matrix.os }}
1717 strategy :
1818 fail-fast : false
1919 matrix :
20- os :
21- - ubuntu-latest
22- rust :
23- - nightly
24- - stable
25- - 1.57.0 # MSRV
26- make :
27- - name : format
28- task : format
29- - name : lint
30- task : lint
31- - name : test
32- task : build test
33- - name : example-run
34- task : example-run
35- - name : doc
36- task : doc
37- - name : deadlink
38- task : deadlink
39- install-cargo-deadlinks : true
40- install-mlc : true
41- - name : codecov
42- task : lcov
43- install-grcov : true
44- - name : copyright
45- task : copyright
46- rust-free : true
47- exclude :
48- - rust : nightly
49- make :
50- name : format
51- - rust : 1.57.0
52- make :
53- name : format
54- - rust : nightly
55- make :
56- name : lint
57- - rust : 1.57.0
58- make :
59- name : lint
60- - rust : nightly
61- make :
62- name : doc
63- - rust : 1.57.0
64- make :
65- name : doc
66- - rust : nightly
67- make :
68- name : deadlink
69- - rust : 1.57.0
70- make :
71- name : deadlink
72- - rust : stable
73- make :
74- name : codecov
75- - rust : 1.57.0
76- make :
77- name : codecov
78- - rust : nightly
79- make :
80- name : copyright
81- - rust : 1.57.0
82- make :
83- name : copyright
20+ include :
21+ - make :
22+ task : lint
23+ os : ubuntu-latest
24+ rust : stable
25+ - make :
26+ task : doc
27+ os : ubuntu-latest
28+ rust : stable
29+ - make :
30+ task : deadlink
31+ install-cargo-deadlinks : true
32+ install-mlc : true
33+ os : ubuntu-latest
34+ rust : stable
35+ - make :
36+ task : lcov
37+ install-grcov : true
38+ os : ubuntu-latest
39+ rust : nightly
40+ - make :
41+ task : copyright
42+ rust-free : true
43+ os : ubuntu-latest
44+
45+ - make :
46+ task : test
47+ os : ubuntu-latest
48+ rust : nightly
49+ - make :
50+ task : test
51+ os : ubuntu-latest
52+ rust : stable
53+ - make :
54+ task : test
55+ os : ubuntu-latest
56+ rust : 1.57.0
57+
58+ # Example does not cover various envs. Should be done in test.
59+ - make :
60+ task : example-run
61+ os : ubuntu-latest
62+ rust : stable
63+
8464 env :
8565 RUST_BACKTRACE : full
8666 CACHE_RESET_KEY : 20211022-01
10484 path : |
10585 ~/.cargo/registry
10686 ~/.cargo/git
107- key : ${{ env.CACHE_RESET_KEY }}-${{ runner.os }}-${{ matrix.rust }}-cargo-${{ matrix.make.name }}-${{ hashFiles('**/Cargo.lock') }}
87+ key : ${{ env.CACHE_RESET_KEY }}-${{ runner.os }}-${{ matrix.rust }}-cargo-${{ matrix.make.task }}-${{ hashFiles('**/Cargo.lock') }}
10888 restore-keys : |
109- ${{ env.CACHE_RESET_KEY }}-${{ runner.os }}-${{ matrix.rust }}-cargo-${{ matrix.make.name }}-
89+ ${{ env.CACHE_RESET_KEY }}-${{ runner.os }}-${{ matrix.rust }}-cargo-${{ matrix.make.task }}-
11090 ${{ env.CACHE_RESET_KEY }}-${{ runner.os }}-${{ matrix.rust }}-cargo-
11191
11292 - name : Install cargo-make
You can’t perform that action at this time.
0 commit comments