File tree Expand file tree Collapse file tree 1 file changed +3
-9
lines changed Expand file tree Collapse file tree 1 file changed +3
-9
lines changed Original file line number Diff line number Diff line change 35
35
# just need a random command that forces the installation of rust-toolchain
36
36
# figure out native target triple while we're at it
37
37
- 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"
41
39
# Fetch dependencies in a separate step to clearly show how long each part
42
40
# of the testing takes
43
41
- name : cargo fetch --locked
@@ -132,9 +130,7 @@ jobs:
132
130
version : 1.4.309.0
133
131
cache : true
134
132
- 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"
138
134
- name : cargo fetch --locked
139
135
run : cargo fetch --locked --target $TARGET
140
136
- name : compiletest
@@ -164,9 +160,7 @@ jobs:
164
160
sudo apt-get update
165
161
sudo apt install -y xvfb libgl1-mesa-dri libxcb-xfixes0-dev mesa-vulkan-drivers
166
162
- 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"
170
164
- name : cargo fetch --locked
171
165
run : cargo fetch --locked --target $TARGET
172
166
- name : cargo fetch --locked difftests
You can’t perform that action at this time.
0 commit comments