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 41
41
command : check
42
42
args : --target ${{ matrix.TARGET }}
43
43
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
-
69
44
ci-linux :
70
45
runs-on : ubuntu-latest
71
- needs : [check, prebuild ]
46
+ needs : [check]
72
47
strategy :
73
48
matrix :
74
49
# All generated code should be running on stable now
@@ -116,8 +91,10 @@ jobs:
116
91
117
92
- name : Cache
118
93
uses : Swatinem/rust-cache@v1
119
- with :
120
- sharedKey : prebuilded-${{ matrix.rust }}
94
+
95
+ - name : Self install
96
+ run : |
97
+ cargo install svd2rust --path .
121
98
122
99
- name : Run CI script for `${{ matrix.vendor }}` under rust `${{ matrix.rust }}` with options=`${{ matrix.options }}`
123
100
env :
@@ -128,7 +105,7 @@ jobs:
128
105
129
106
ci-clippy :
130
107
runs-on : ubuntu-latest
131
- needs : [check, prebuild ]
108
+ needs : [check]
132
109
steps :
133
110
- uses : actions/checkout@v3
134
111
@@ -140,8 +117,10 @@ jobs:
140
117
141
118
- name : Cache
142
119
uses : Swatinem/rust-cache@v1
143
- with :
144
- sharedKey : prebuilded-stable
120
+
121
+ - name : Self install
122
+ run : |
123
+ cargo install svd2rust --path .
145
124
146
125
- name : Run CI script
147
126
env :
You can’t perform that action at this time.
0 commit comments