File tree Expand file tree Collapse file tree 1 file changed +10
-31
lines changed Expand file tree Collapse file tree 1 file changed +10
-31
lines changed Original file line number Diff line number Diff line change 4141 command : check
4242 args : --target ${{ matrix.TARGET }}
4343
44- prebuild :
45- name : Prebuild
46- runs-on : ubuntu-latest
47- strategy :
48- matrix :
49- rust : [stable, nightly, 1.51.0]
50-
51- steps :
52- - uses : actions/checkout@v3
53-
54- - uses : actions-rs/toolchain@v1
55- with :
56- profile : minimal
57- toolchain : ${{ matrix.rust }}
58- override : true
59-
60- - name : Cache
61- uses : Swatinem/rust-cache@v1
62- with :
63- sharedKey : prebuilded-${{ matrix.rust }}
64-
65- - name : Self install
66- run : |
67- cargo install svd2rust --path .
68-
6944 ci-linux :
7045 runs-on : ubuntu-latest
71- needs : [check, prebuild ]
46+ needs : [check]
7247 strategy :
7348 matrix :
7449 # All generated code should be running on stable now
@@ -116,8 +91,10 @@ jobs:
11691
11792 - name : Cache
11893 uses : Swatinem/rust-cache@v1
119- with :
120- sharedKey : prebuilded-${{ matrix.rust }}
94+
95+ - name : Self install
96+ run : |
97+ cargo install svd2rust --path .
12198
12299 - name : Run CI script for `${{ matrix.vendor }}` under rust `${{ matrix.rust }}` with options=`${{ matrix.options }}`
123100 env :
@@ -128,7 +105,7 @@ jobs:
128105
129106 ci-clippy :
130107 runs-on : ubuntu-latest
131- needs : [check, prebuild ]
108+ needs : [check]
132109 steps :
133110 - uses : actions/checkout@v3
134111
@@ -140,8 +117,10 @@ jobs:
140117
141118 - name : Cache
142119 uses : Swatinem/rust-cache@v1
143- with :
144- sharedKey : prebuilded-stable
120+
121+ - name : Self install
122+ run : |
123+ cargo install svd2rust --path .
145124
146125 - name : Run CI script
147126 env :
You can’t perform that action at this time.
0 commit comments