File tree 2 files changed +19
-5
lines changed
2 files changed +19
-5
lines changed Original file line number Diff line number Diff line change 60
60
id : jobs
61
61
job :
62
62
name : ${{ matrix.name }}
63
- needs : [ calculate_matrix ]
63
+ needs : [calculate_matrix]
64
64
runs-on : " ${{ matrix.os }}"
65
65
defaults :
66
66
run :
@@ -104,6 +104,16 @@ jobs:
104
104
with :
105
105
fetch-depth : 2
106
106
107
+ - if : contains(matrix.os, 'windows')
108
+ uses : samypr100/setup-dev-drive@1d65529cfd809844a9e91e400a560294b6820a68
109
+ with :
110
+ # use as much space as is sensible, upper github limits are 14gb and 300gb
111
+ drive-size : ${{ matrix.os == 'windows-2022' && '12gb' || '250gb' }}
112
+ # pre-allocate the space to avoid out of disk errors and improve long-running performance
113
+ drive-type : Fixed
114
+ # mount the dev drive in the CWD
115
+ mount-path : ${{ github.workspace }}
116
+
107
117
# Rust Log Analyzer can't currently detect the PR number of a GitHub
108
118
# Actions build on its own, so a hint in the log message is needed to
109
119
# point it in the right direction.
@@ -230,7 +240,7 @@ jobs:
230
240
outcome :
231
241
name : bors build finished
232
242
runs-on : ubuntu-latest
233
- needs : [ calculate_matrix, job ]
243
+ needs : [calculate_matrix, job]
234
244
# !cancelled() executes the job regardless of whether the previous jobs passed or failed
235
245
if : ${{ !cancelled() && contains(fromJSON('["auto", "try"]'), needs.calculate_matrix.outputs.run_type) }}
236
246
steps :
Original file line number Diff line number Diff line change 2
2
# dynamically in CI from ci.yml.
3
3
runners :
4
4
- &base-job
5
- env : { }
5
+ env : {}
6
6
7
7
- &job-linux-4c
8
8
os : ubuntu-20.04-4core-16gb
51
51
NO_DEBUG_ASSERTIONS : 1
52
52
NO_OVERFLOW_CHECKS : 1
53
53
54
- production :
55
- &production
54
+ production : &production
56
55
DEPLOY_BUCKET : rust-lang-ci2
57
56
# AWS_SECRET_ACCESS_KEYs are stored in GitHub's secrets storage, named
58
57
# AWS_SECRET_ACCESS_KEY_<keyid>. Including the key id in the name allows to
97
96
<< : *job-linux-16c
98
97
- image : x86_64-gnu-tools
99
98
<< : *job-linux-16c
99
+ - image : x86_64-msvc
100
+ env :
101
+ RUST_CONFIGURE_ARGS : --build=x86_64-pc-windows-msvc --enable-profiler
102
+ SCRIPT : make ci-msvc
103
+ << : *job-windows-8c
100
104
101
105
# Jobs that run when you perform a try build (@bors try)
102
106
# These jobs automatically inherit envs.try, to avoid repeating
You can’t perform that action at this time.
0 commit comments