File tree Expand file tree Collapse file tree 2 files changed +12
-12
lines changed Expand file tree Collapse file tree 2 files changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -131,6 +131,9 @@ jobs:
131
131
path : /tmp/.buildx-cache
132
132
key : ${{ matrix.target }}-buildx-${{ github.sha }}
133
133
restore-keys : ${{ matrix.target }}-buildx-
134
+ # Configure buildx to use Docker layer caching
135
+ - uses : docker/setup-buildx-action@v3
136
+ if : matrix.os == 'ubuntu-24.04'
134
137
135
138
- name : Cache compiler-rt
136
139
id : cache-compiler-rt
@@ -155,14 +158,10 @@ jobs:
155
158
shell : bash
156
159
run : ./ci/run.sh ${{ matrix.target }}
157
160
158
- # Configure buildx to use Docker layer caching
159
- - uses : docker/setup-buildx-action@v3
160
- if : matrix.os == 'ubuntu-24.04'
161
-
162
161
# Otherwise we use our docker containers to run builds
163
162
- name : Run in Docker
164
163
if : matrix.os == 'ubuntu-24.04'
165
- run : cargo generate-lockfile && ./ci/run-docker.sh ${{ matrix.target }}
164
+ run : ./ci/run-docker.sh ${{ matrix.target }}
166
165
167
166
- name : Print test logs if available
168
167
if : always()
@@ -193,7 +192,7 @@ jobs:
193
192
rustup default nightly
194
193
rustup component add clippy
195
194
- uses : Swatinem/rust-cache@v2
196
- - run : cargo clippy -- -D clippy:: all
195
+ - run : cargo clippy --workspace -- all-targets
197
196
198
197
benchmarks :
199
198
name : Benchmarks
Original file line number Diff line number Diff line change @@ -7,6 +7,13 @@ set -euxo pipefail
7
7
8
8
host_arch=" $( uname -m | sed ' s/arm64/aarch64/' ) "
9
9
10
+ # Directories and files that do not yet exist need to be created before
11
+ # calling docker, otherwise docker will create them but they will be owned
12
+ # by root.
13
+ mkdir -p target
14
+ cargo generate-lockfile
15
+ cargo generate-lockfile --manifest-path builtins-test-intrinsics/Cargo.toml
16
+
10
17
run () {
11
18
local target=" $1 "
12
19
@@ -19,12 +26,6 @@ run() {
19
26
echo " target is emulated"
20
27
fi
21
28
22
- # Directories and files that do not yet exist need to be created before
23
- # calling docker, otherwise docker will create them but they will be owned
24
- # by root.
25
- mkdir -p target
26
- cargo generate-lockfile --manifest-path builtins-test-intrinsics/Cargo.toml
27
-
28
29
run_cmd=" HOME=/tmp"
29
30
30
31
if [ " ${GITHUB_ACTIONS:- } " = " true" ]; then
You can’t perform that action at this time.
0 commit comments