@@ -27,11 +27,15 @@ jobs:
27
27
cp /usr/share/AAVMF/AAVMF_CODE.fd uefi-test-runner/QEMU_EFI-pflash.raw
28
28
cp /usr/share/AAVMF/AAVMF_VARS.fd uefi-test-runner/vars-template-pflash.raw
29
29
30
+ - name : Install stable
31
+ uses : actions-rs/toolchain@v1
32
+ with :
33
+ toolchain : stable
34
+
30
35
- name : Install latest nightly
31
36
uses : actions-rs/toolchain@v1
32
37
with :
33
38
toolchain : nightly
34
- override : true
35
39
components : rust-src
36
40
# TODO: cache Rust binaries
37
41
@@ -54,11 +58,15 @@ jobs:
54
58
sudo apt-get update
55
59
sudo apt-get install qemu-system-x86 ovmf -y
56
60
61
+ - name : Install stable
62
+ uses : actions-rs/toolchain@v1
63
+ with :
64
+ toolchain : stable
65
+
57
66
- name : Install latest nightly
58
67
uses : actions-rs/toolchain@v1
59
68
with :
60
69
toolchain : nightly
61
- override : true
62
70
components : rust-src
63
71
# TODO: cache Rust binaries
64
72
@@ -97,11 +105,15 @@ jobs:
97
105
curl -o uefi-test-runner/OVMF32_CODE.fd https://raw.githubusercontent.com/retrage/edk2-nightly/${EDK2_NIGHTLY_COMMIT}/bin/RELEASEIa32_OVMF_CODE.fd
98
106
curl -o uefi-test-runner/OVMF32_VARS.fd https://raw.githubusercontent.com/retrage/edk2-nightly/${EDK2_NIGHTLY_COMMIT}/bin/RELEASEIa32_OVMF_VARS.fd
99
107
108
+ - name : Install stable
109
+ uses : actions-rs/toolchain@v1
110
+ with :
111
+ toolchain : stable
112
+
100
113
- name : Install latest nightly
101
114
uses : actions-rs/toolchain@v1
102
115
with :
103
116
toolchain : nightly
104
- override : true
105
117
components : rust-src
106
118
# TODO: cache Rust binaries
107
119
@@ -119,16 +131,20 @@ jobs:
119
131
- name : Checkout sources
120
132
uses : actions/checkout@v2
121
133
134
+ - name : Install stable
135
+ uses : actions-rs/toolchain@v1
136
+ with :
137
+ toolchain : stable
138
+
122
139
- name : Install latest nightly
123
140
uses : actions-rs/toolchain@v1
124
141
with :
125
142
profile : minimal
126
143
toolchain : nightly
127
144
components : rust-src
128
- override : true
129
145
130
146
- name : Run cargo test
131
- run : cargo xtask test
147
+ run : cargo +stable xtask test
132
148
133
149
lints :
134
150
name : Lints
@@ -137,13 +153,17 @@ jobs:
137
153
- name : Checkout sources
138
154
uses : actions/checkout@v2
139
155
156
+ - name : Install stable
157
+ uses : actions-rs/toolchain@v1
158
+ with :
159
+ toolchain : stable
160
+
140
161
- name : Install latest nightly
141
162
uses : actions-rs/toolchain@v1
142
163
with :
143
164
profile : minimal
144
165
toolchain : nightly
145
166
components : rustfmt, clippy, rust-src
146
- override : true
147
167
148
168
- name : Run cargo fmt
149
169
uses : actions-rs/cargo@v1
@@ -164,6 +184,11 @@ jobs:
164
184
- name : Checkout sources
165
185
uses : actions/checkout@v2
166
186
187
+ - name : Install stable
188
+ uses : actions-rs/toolchain@v1
189
+ with :
190
+ toolchain : stable
191
+
167
192
- name : Install latest nightly toolchain that includes Miri
168
193
uses : actions-rs/toolchain@v1
169
194
with :
@@ -188,11 +213,15 @@ jobs:
188
213
- name : Checkout sources
189
214
uses : actions/checkout@v2
190
215
216
+ - name : Install stable
217
+ uses : actions-rs/toolchain@v1
218
+ with :
219
+ toolchain : stable
220
+
191
221
- name : Install latest nightly
192
222
uses : actions-rs/toolchain@v1
193
223
with :
194
224
toolchain : nightly
195
- override : true
196
225
components : rust-src
197
226
198
227
- name : Build
0 commit comments