Skip to content

Commit 2f0ec65

Browse files
committed
ci: cleanup
1 parent 3178b9e commit 2f0ec65

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

.github/workflows/ci.yaml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,7 @@ jobs:
3535
# just need a random command that forces the installation of rust-toolchain
3636
# figure out native target triple while we're at it
3737
- name: install rust-toolchain
38-
run: |
39-
echo "TARGET=$(rustc --print host-tuple)" >> "$GITHUB_ENV"
40-
echo $TARGET
38+
run: echo "TARGET=$(rustc --print host-tuple)" >> "$GITHUB_ENV"
4139
# Fetch dependencies in a separate step to clearly show how long each part
4240
# of the testing takes
4341
- name: cargo fetch --locked
@@ -132,9 +130,7 @@ jobs:
132130
version: 1.4.309.0
133131
cache: true
134132
- name: install rust-toolchain
135-
run: |
136-
echo "TARGET=$(rustc --print host-tuple)" >> "$GITHUB_ENV"
137-
echo $TARGET
133+
run: echo "TARGET=$(rustc --print host-tuple)" >> "$GITHUB_ENV"
138134
- name: cargo fetch --locked
139135
run: cargo fetch --locked --target $TARGET
140136
- name: compiletest
@@ -164,9 +160,7 @@ jobs:
164160
sudo apt-get update
165161
sudo apt install -y xvfb libgl1-mesa-dri libxcb-xfixes0-dev mesa-vulkan-drivers
166162
- name: install rust-toolchain
167-
run: |
168-
echo "TARGET=$(rustc --print host-tuple)" >> "$GITHUB_ENV"
169-
echo $TARGET
163+
run: echo "TARGET=$(rustc --print host-tuple)" >> "$GITHUB_ENV"
170164
- name: cargo fetch --locked
171165
run: cargo fetch --locked --target $TARGET
172166
- name: cargo fetch --locked difftests

0 commit comments

Comments
 (0)