Skip to content
Snippets Groups Projects
Unverified Commit 64c25ea4 authored by Maxim De Clercq's avatar Maxim De Clercq
Browse files

fix: always print ELF information

parent c7560b35
No related branches found
No related tags found
No related merge requests found
...@@ -50,7 +50,8 @@ variables: ...@@ -50,7 +50,8 @@ variables:
- 'time ./cross/build.sh --locked --release' - 'time ./cross/build.sh --locked --release'
- 'mv "target/$TARGET/release/conduit" "conduit-$TARGET"' - 'mv "target/$TARGET/release/conduit" "conduit-$TARGET"'
# assert that the binary is statically linked # 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: cache:
# https://doc.rust-lang.org/cargo/guide/cargo-home.html#caching-the-cargo-home-in-ci # https://doc.rust-lang.org/cargo/guide/cargo-home.html#caching-the-cargo-home-in-ci
key: 'cargo-cache-$TARGET' key: 'cargo-cache-$TARGET'
...@@ -125,7 +126,8 @@ build:release:cargo:aarch64-unknown-linux-musl: ...@@ -125,7 +126,8 @@ build:release:cargo:aarch64-unknown-linux-musl:
- 'time ./cross/build.sh --locked' - 'time ./cross/build.sh --locked'
- 'mv "target/$TARGET/debug/conduit" "conduit-debug-$TARGET"' - 'mv "target/$TARGET/debug/conduit" "conduit-debug-$TARGET"'
# assert that the binary is statically linked # 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: artifacts:
expire_in: 4 weeks expire_in: 4 weeks
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment