rust-nex/test-edition.sh
Maple Nebel 3f2adf0c65
Some checks failed
Build and Test / wii-sports-club (push) Failing after 20m40s
Build and Test / sonic-transformed (push) Successful in 21m13s
Build and Test / mario-tennis (push) Successful in 21m57s
Build and Test / minecraft-wiiu (push) Failing after 22m13s
Build and Test / fast-racing-neo (push) Successful in 22m47s
Build and Test / puyopuyo (push) Successful in 23m15s
Build and Test / friends (push) Successful in 23m32s
Build and Test / super-mario-maker (push) Successful in 23m34s
Build and Test / wii-u-chat (push) Successful in 23m34s
Build and Test / splatoon-testfire (push) Successful in 24m18s
Build and Test / splatoon (push) Successful in 25m0s
dont force static builds
2026-05-29 08:00:01 +02:00

20 lines
549 B
Shell
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
if [[ ! -v RNEX_STATIC ]]; then
cargo test --features "$EDITION_FEATURES"
else
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
fi