rust-nex/build-edition.sh
red binder 25d58b3083
Some checks failed
Build and Test / build-editions (wii-u-chat) (push) Failing after 1m6s
Build and Test / build-editions (DATABASE_SMM, super-mario-maker) (push) Failing after 1m13s
Build and Test / build-editions (minecraft-wiiu) (push) Failing after 1m15s
Build and Test / build-editions (mario-tennis) (push) Failing after 1m15s
Build and Test / build-editions (DATABASE_SMM, puyopuyo) (push) Failing after 1m15s
Build and Test / build-editions (DATABASE_SMM, wii-sports-club) (push) Failing after 1m15s
Build and Test / build-editions (splatoon) (push) Failing after 1m15s
Build and Test / build-editions (DATABASE_FRIENDS, friends) (push) Failing after 1m16s
Build and Test / build-editions (fast-racing-neo) (push) Failing after 1m16s
Build and Test / build-editions (terraria) (push) Failing after 1m16s
Build and Test / build-editions (splatoon-testfire) (push) Failing after 1m16s
Build and Test / build-editions (sonic-transformed) (push) Failing after 1m17s
attempt fix
2026-08-08 05:58:08 +02:00

18 lines
No EOL
556 B
Shell
Executable file

#!/usr/bin/env bash
set -euo pipefail
if [ -z ${EDITION+x} ]; then
EDITION=$1
fi
source ./buildscripts/common.sh
echo building $EDITION
echo FEATURES:
echo $EDITION_FEATURES
if [[ ! -v RNEX_STATIC ]]; then
cargo build --release --features "$EDITION_FEATURES"
else
CC_x86_64_unknown_linux_musl=musl-gcc OPENSSL_LIB_DIR=/usr/lib/x86_64-linux-gnu OPENSSL_INCLUDE_DIR=/usr/include OPENSSL_STATIC=1 RUSTFLAGS="-C relocation-model=static -C linker=ld.lld" cargo build --release --features "$EDITION_FEATURES" --target x86_64-unknown-linux-musl
fi