File tree Expand file tree Collapse file tree 2 files changed +17
-13
lines changed Expand file tree Collapse file tree 2 files changed +17
-13
lines changed Original file line number Diff line number Diff line change 30
30
with :
31
31
ref : ${{ github.ref }}
32
32
33
+ - name : Set LD_LIBRARY_PATH
34
+ run : |
35
+ SYSROOT=$(rustc --print sysroot)
36
+ echo "LD_LIBRARY_PATH=${SYSROOT}/lib${LD_LIBRARY_PATH+:${LD_LIBRARY_PATH}}" >> $GITHUB_ENV
37
+
33
38
# Run
34
39
- name : Check Changelog
35
40
run : |
@@ -187,16 +192,14 @@ jobs:
187
192
- name : Extract Binaries
188
193
run : |
189
194
DIR=$CARGO_TARGET_DIR/debug
190
- rm $DIR/deps/integration-*.d
191
- mv $DIR/deps/integration-* $DIR/integration
195
+ find $DIR/deps/integration-* -executable ! -type d | xargs -I {} mv {} $DIR/integration
192
196
find $DIR ! -executable -o -type d ! -path $DIR | xargs rm -rf
193
- rm -rf $CARGO_TARGET_DIR/release
194
197
195
198
- name : Upload Binaries
196
- uses : actions/upload-artifact@v1
199
+ uses : actions/upload-artifact@v3
197
200
with :
198
- name : target
199
- path : target
201
+ name : binaries
202
+ path : target/debug
200
203
201
204
integration :
202
205
needs : integration_build
@@ -206,16 +209,13 @@ jobs:
206
209
matrix :
207
210
integration :
208
211
- ' rust-lang/cargo'
209
- # FIXME: re-enable once fmt_macros is renamed in RLS
210
- # - 'rust-lang/rls'
211
212
- ' rust-lang/chalk'
212
213
- ' rust-lang/rustfmt'
213
214
- ' Marwes/combine'
214
215
- ' Geal/nom'
215
216
- ' rust-lang/stdarch'
216
217
- ' serde-rs/serde'
217
- # FIXME: chrono currently cannot be compiled with `--all-targets`
218
- # - 'chronotope/chrono'
218
+ - ' chronotope/chrono'
219
219
- ' hyperium/hyper'
220
220
- ' rust-random/rand'
221
221
- ' rust-lang/futures-rs'
@@ -239,10 +239,10 @@ jobs:
239
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/*
Original file line number Diff line number Diff line change @@ -65,6 +65,10 @@ fn integration_test() {
65
65
. expect ( "unable to run clippy" ) ;
66
66
67
67
let stderr = String :: from_utf8_lossy ( & output. stderr ) ;
68
+
69
+ // debug:
70
+ eprintln ! ( "{stderr}" ) ;
71
+
68
72
if let Some ( backtrace_start) = stderr. find ( "error: internal compiler error" ) {
69
73
static BACKTRACE_END_MSG : & str = "end of query stack" ;
70
74
let backtrace_end = stderr[ backtrace_start..]
You can’t perform that action at this time.
0 commit comments