fix: always print ELF information
This commit is contained in:
parent
c7560b3502
commit
64c25ea4a1
1 changed files with 4 additions and 2 deletions
|
@ -50,7 +50,8 @@ variables:
|
|||
- 'time ./cross/build.sh --locked --release'
|
||||
- 'mv "target/$TARGET/release/conduit" "conduit-$TARGET"'
|
||||
# assert that the binary is statically linked
|
||||
- 'file conduit-$TARGET | grep "static\(-pie\|ally\) linked"'
|
||||
- 'ldd conduit-$TARGET' # print linking information
|
||||
- 'file conduit-$TARGET | sed -e "/static\(-pie\|ally\) linked/!q1"' # print elf information
|
||||
cache:
|
||||
# https://doc.rust-lang.org/cargo/guide/cargo-home.html#caching-the-cargo-home-in-ci
|
||||
key: 'cargo-cache-$TARGET'
|
||||
|
@ -125,7 +126,8 @@ build:release:cargo:aarch64-unknown-linux-musl:
|
|||
- 'time ./cross/build.sh --locked'
|
||||
- 'mv "target/$TARGET/debug/conduit" "conduit-debug-$TARGET"'
|
||||
# assert that the binary is statically linked
|
||||
- 'file conduit-debug-$TARGET | grep "static\(-pie\|ally\) linked"'
|
||||
- 'ldd conduit-debug-$TARGET' # print linking information
|
||||
- 'file conduit-debug-$TARGET | sed -e "/static\(-pie\|ally\) linked/!q1"' # print elf information
|
||||
artifacts:
|
||||
expire_in: 4 weeks
|
||||
|
||||
|
|
Loading…
Reference in a new issue