From 30df174c3dea54d1cfcb28966b9a8fb2def5a5d9 Mon Sep 17 00:00:00 2001 From: Imbris Date: Tue, 16 Nov 2021 22:07:47 -0500 Subject: [PATCH] Fix order of env var and time command in aarch CI script, remove duplicate release flag, reorder target flag to be in the same order as the target flag for windows --- .gitlab/scripts/linux-aarch64.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab/scripts/linux-aarch64.sh b/.gitlab/scripts/linux-aarch64.sh index 9cfc7efcc9..4c2f941865 100755 --- a/.gitlab/scripts/linux-aarch64.sh +++ b/.gitlab/scripts/linux-aarch64.sh @@ -1,4 +1,4 @@ #!/bin/bash export VELOREN_USERDATA_STRATEGY=executable -time PKG_CONFIG=/usr/bin/aarch64-linux-gnu-pkg-config cargo build --release --no-default-features --features default-publish --release --target aarch64-unknown-linux-gnu +PKG_CONFIG="/usr/bin/aarch64-linux-gnu-pkg-config" time cargo build --target=aarch64-unknown-linux-gnu --release --no-default-features --features default-publish # evaluate --bin instead, last time i checked (2021-07-14) it was 2 minutes slower on release (but faster on debug)