Skip to content

Commit 051fec9

Browse files
committed
bump GHA runners to ubuntu-22.04 due to ubuntu-20.04 brown-out and pending deprecation
1 parent ec24412 commit 051fec9

File tree

1 file changed

+16
-4
lines changed

1 file changed

+16
-4
lines changed

.github/workflows/ci.yml

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,17 @@ name: ci
22
on: [ push, pull_request ]
33

44
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"
516
lint:
617
name: ${{ matrix.component }} ${{ matrix.os }}
718
runs-on: ${{ matrix.os }}
@@ -101,11 +112,11 @@ jobs:
101112
# # M1 CPU
102113
- os: macos-14
103114
- os: windows-2019
104-
cuda: "11.1"
115+
cuda: "11.8"
105116
# Oldest supported version, keep in sync with README.md
106117
rustc: "1.75.0"
107118
extra_args: --no-fail-fast
108-
extra_desc: cuda11.1
119+
extra_desc: cuda11.8
109120
- os: windows-2019
110121
cuda: "11.8"
111122
rustc: nightly
@@ -141,6 +152,7 @@ jobs:
141152
BINARY_DIR: "target/debug"
142153
GRCOV_IGNORE_OPTION: '--ignore build.rs --ignore "/*" --ignore "[a-zA-Z]:/*"'
143154
GRCOV_EXCLUDE_OPTION: '--excl-br-line "^\s*((debug_)?assert(_eq|_ne)?!|#\[derive\()"'
155+
SCCACHE_DEBUG: 1
144156
steps:
145157
- uses: ilammy/msvc-dev-cmd@v1
146158

@@ -282,7 +294,7 @@ jobs:
282294
if: ${{ !matrix.container }}
283295

284296
- 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 }}
286298
env:
287299
MACOSX_DEPLOYMENT_TARGET: ${{ matrix.macosx_deployment_target }}
288300
DEVELOPER_DIR: ${{ matrix.developer_dir }}
@@ -322,7 +334,7 @@ jobs:
322334
mem: 8192
323335
usesh: true
324336
sync: rsync
325-
copyback: false
337+
copyback: true
326338
prepare: pkg install -y ca_root_nss curl gmake gtar pot sudo
327339
run: |
328340
#####################################################################################

0 commit comments

Comments
 (0)