@@ -187,16 +187,14 @@ jobs:
187
187
- name : Extract Binaries
188
188
run : |
189
189
DIR=$CARGO_TARGET_DIR/debug
190
- rm $DIR/deps/integration-*.d
191
- mv $DIR/deps/integration-* $DIR/integration
190
+ find $DIR/deps/integration-* -executable ! -type d | xargs -I {} mv {} $DIR/integration
192
191
find $DIR ! -executable -o -type d ! -path $DIR | xargs rm -rf
193
- rm -rf $CARGO_TARGET_DIR/release
194
192
195
193
- name : Upload Binaries
196
- uses : actions/upload-artifact@v1
194
+ uses : actions/upload-artifact@v3
197
195
with :
198
- name : target
199
- path : target
196
+ name : binaries
197
+ path : target/debug
200
198
201
199
integration :
202
200
needs : integration_build
@@ -206,16 +204,13 @@ jobs:
206
204
matrix :
207
205
integration :
208
206
- ' rust-lang/cargo'
209
- # FIXME: re-enable once fmt_macros is renamed in RLS
210
- # - 'rust-lang/rls'
211
207
- ' rust-lang/chalk'
212
208
- ' rust-lang/rustfmt'
213
209
- ' Marwes/combine'
214
210
- ' Geal/nom'
215
211
- ' rust-lang/stdarch'
216
212
- ' serde-rs/serde'
217
- # FIXME: chrono currently cannot be compiled with `--all-targets`
218
- # - 'chronotope/chrono'
213
+ - ' chronotope/chrono'
219
214
- ' hyperium/hyper'
220
215
- ' rust-random/rand'
221
216
- ' rust-lang/futures-rs'
@@ -237,12 +232,17 @@ jobs:
237
232
- name : Install toolchain
238
233
run : rustup show active-toolchain
239
234
235
+ - name : Set LD_LIBRARY_PATH
236
+ run : |
237
+ SYSROOT=$(rustc --print sysroot)
238
+ echo "LD_LIBRARY_PATH=${SYSROOT}/lib${LD_LIBRARY_PATH+:${LD_LIBRARY_PATH}}" >> $GITHUB_ENV
239
+
240
240
# Download
241
241
- name : Download target dir
242
- uses : actions/download-artifact@v1
242
+ uses : actions/download-artifact@v3
243
243
with :
244
- name : target
245
- path : target
244
+ name : binaries
245
+ path : target/debug
246
246
247
247
- name : Make Binaries Executable
248
248
run : chmod +x $CARGO_TARGET_DIR/debug/*
@@ -251,7 +251,7 @@ jobs:
251
251
- name : Test ${{ matrix.integration }}
252
252
run : |
253
253
RUSTUP_TOOLCHAIN="$(rustup show active-toolchain | grep -o -E "nightly-[0-9]{4}-[0-9]{2}-[0-9]{2}")" \
254
- $CARGO_TARGET_DIR/debug/integration
254
+ $CARGO_TARGET_DIR/debug/integration --show-output
255
255
env :
256
256
INTEGRATION : ${{ matrix.integration }}
257
257
0 commit comments