@@ -2,6 +2,17 @@ name: ci
2
2
on : [ push, pull_request ]
3
3
4
4
jobs :
5
+ checks :
6
+ name : checks
7
+ runs-on : ubuntu-latest
8
+ outputs :
9
+ has-codecov-token : ${{ steps.has-codecov-token.outputs.defined }}
10
+ steps :
11
+ - id : has-codecov-token
12
+ env :
13
+ CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
14
+ if : " ${{ env.CODECOV_TOKEN != '' }}"
15
+ run : echo "::set-output name=defined::true"
5
16
lint :
6
17
name : ${{ matrix.component }} ${{ matrix.os }}
7
18
runs-on : ${{ matrix.os }}
@@ -101,11 +112,11 @@ jobs:
101
112
# # M1 CPU
102
113
- os : macos-14
103
114
- os : windows-2019
104
- cuda : " 11.1 "
115
+ cuda : " 11.8 "
105
116
# Oldest supported version, keep in sync with README.md
106
117
rustc : " 1.75.0"
107
118
extra_args : --no-fail-fast
108
- extra_desc : cuda11.1
119
+ extra_desc : cuda11.8
109
120
- os : windows-2019
110
121
cuda : " 11.8"
111
122
rustc : nightly
@@ -141,6 +152,7 @@ jobs:
141
152
BINARY_DIR : " target/debug"
142
153
GRCOV_IGNORE_OPTION : ' --ignore build.rs --ignore "/*" --ignore "[a-zA-Z]:/*"'
143
154
GRCOV_EXCLUDE_OPTION : ' --excl-br-line "^\s*((debug_)?assert(_eq|_ne)?!|#\[derive\()"'
155
+ SCCACHE_DEBUG : 1
144
156
steps :
145
157
- uses : ilammy/msvc-dev-cmd@v1
146
158
@@ -282,7 +294,7 @@ jobs:
282
294
if : ${{ !matrix.container }}
283
295
284
296
- name : Build
285
- run : cargo build --locked --release --bin ${{ matrix.binary || 'sccache' }} --target ${{ matrix.target }} --features=openssl/ vendored ${{ matrix.extra_args }}
297
+ run : cargo build --locked --release --bin ${{ matrix.binary || 'sccache' }} --target ${{ matrix.target }} --features=vendored-openssl ${{ matrix.extra_args }}
286
298
env :
287
299
MACOSX_DEPLOYMENT_TARGET : ${{ matrix.macosx_deployment_target }}
288
300
DEVELOPER_DIR : ${{ matrix.developer_dir }}
@@ -322,7 +334,7 @@ jobs:
322
334
mem : 8192
323
335
usesh : true
324
336
sync : rsync
325
- copyback : false
337
+ copyback : true
326
338
prepare : pkg install -y ca_root_nss curl gmake gtar pot sudo
327
339
run : |
328
340
#####################################################################################
0 commit comments