rust-nex/test-edition.sh
Maple f870853630
All checks were successful
Build and Test / splatoon (push) Successful in 3m43s
Build and Test / friends (push) Successful in 3m53s
clean up a bit and fix scripts
2026-04-26 14:57:02 +02:00

16 lines
459 B
Bash
Executable file

#!/usr/bin/env bash
set -euo pipefail
if [ -z ${EDITION+x} ]; then
EDITION=$1
fi
# comma seperated list of features for the specified version
source ./buildscripts/common.sh
echo FEATURES:
echo $EDITION_FEATURES
echo ENV SETTINGS:
env
OPENSSL_LIB_DIR=/usr/lib OPENSSL_INCLUDE_DIR=/usr/include/openssl OPENSSL_STATIC=1 RUSTFLAGS="-C relocation-model=static -C linker=ld.lld" cargo test --features "$EDITION_FEATURES" --target x86_64-unknown-linux-musl