summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorMaxim De Clercq <maximdeclercq00@gmail.com>2022-01-23 18:31:40 +0100
committerMaxim De Clercq <maximdeclercq00@gmail.com>2022-01-23 18:38:33 +0100
commit64c25ea4a15739f75ebe2811e84dc00280ba5fb0 (patch)
tree50895d8a0519f0782ab422f9a3179d478a6c1e55 /.gitlab-ci.yml
parentc7560b3502d27a49f935c347458df6421459c485 (diff)
downloadconduit-64c25ea4a15739f75ebe2811e84dc00280ba5fb0.zip
fix: always print ELF information
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml6
1 files changed, 4 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index fac678c..defd66e 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -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