dont force static builds
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
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
This commit is contained in:
parent
7994b25d5f
commit
3f2adf0c65
4 changed files with 22 additions and 4 deletions
|
|
@ -23,7 +23,7 @@ RUN --mount=type=cache,target=/usr/local/cargo/registry \
|
|||
COPY . .
|
||||
RUN --mount=type=cache,target=/usr/local/cargo/registry \
|
||||
--mount=type=cache,target=/app/target \
|
||||
./test-edition.sh && ./build-edition.sh && \
|
||||
RNEX_STATIC=1 ./test-edition.sh && RNEX_STATIC=1 ./build-edition.sh && \
|
||||
mkdir -p /app/dist && \
|
||||
cp /app/target/x86_64-unknown-linux-musl/release/edge_node_holder_server /app/dist/ && \
|
||||
cp /app/target/x86_64-unknown-linux-musl/release/proxy_insecure /app/dist/ && \
|
||||
|
|
@ -54,4 +54,4 @@ ENTRYPOINT ["/backend_server_secure"]
|
|||
|
||||
FROM chef AS dev-container
|
||||
RUN apk add --no-cache openjdk21-jdk gcompat git bash protobuf-dev
|
||||
COPY --from=builder /app/dist/* /usr/local/bin/
|
||||
COPY --from=builder /app/dist/* /usr/local/bin/
|
||||
|
|
|
|||
|
|
@ -12,4 +12,8 @@ echo building $EDITION
|
|||
echo FEATURES:
|
||||
echo $EDITION_FEATURES
|
||||
|
||||
OPENSSL_LIB_DIR=/usr/lib OPENSSL_INCLUDE_DIR=/usr/include/openssl OPENSSL_STATIC=1 RUSTFLAGS="-C relocation-model=static -C linker=ld.lld" cargo build --release --features "$EDITION_FEATURES" --target x86_64-unknown-linux-musl
|
||||
if [[ -v RNEX_STATIC ]]; then
|
||||
cargo build --release --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 build --release --features "$EDITION_FEATURES" --target x86_64-unknown-linux-musl
|
||||
fi
|
||||
|
|
|
|||
|
|
@ -114,3 +114,13 @@ where
|
|||
new_rmc_gateway_connection(stream.into(), move |r| fun_ref(user_connection_data, r));
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
mod test {
|
||||
use crate::executables::common::try_get_ip;
|
||||
|
||||
#[test]
|
||||
fn test() {
|
||||
try_get_ip().unwrap();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -13,4 +13,8 @@ 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
|
||||
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
|
||||
|
|
|
|||
Loading…
Reference in a new issue