fix CI builds sharing
Some checks failed
Build and Test / splatoon-testfire (push) Failing after 45s
Build and Test / puyopuyo (push) Failing after 45s
Build and Test / wii-u-chat (push) Failing after 45s
Build and Test / super-mario-maker (push) Failing after 47s
Build and Test / wii-sports-club (push) Failing after 52s
Build and Test / friends (push) Failing after 52s
Build and Test / splatoon (push) Failing after 52s
Build and Test / sonic-transformed (push) Failing after 53s
Build and Test / minecraft-wiiu (push) Failing after 54s
Build and Test / mario-tennis (push) Failing after 56s
Build and Test / fast-racing-neo (push) Failing after 57s
Some checks failed
Build and Test / splatoon-testfire (push) Failing after 45s
Build and Test / puyopuyo (push) Failing after 45s
Build and Test / wii-u-chat (push) Failing after 45s
Build and Test / super-mario-maker (push) Failing after 47s
Build and Test / wii-sports-club (push) Failing after 52s
Build and Test / friends (push) Failing after 52s
Build and Test / splatoon (push) Failing after 52s
Build and Test / sonic-transformed (push) Failing after 53s
Build and Test / minecraft-wiiu (push) Failing after 54s
Build and Test / mario-tennis (push) Failing after 56s
Build and Test / fast-racing-neo (push) Failing after 57s
This commit is contained in:
parent
460d785b5e
commit
fd46d50ceb
1 changed files with 4 additions and 4 deletions
|
|
@ -15,14 +15,14 @@ COPY --from=planner /app/recipe.json recipe.json
|
|||
ARG EDITION
|
||||
ARG DATABASE_URL
|
||||
|
||||
RUN --mount=type=cache,target=/usr/local/cargo/registry \
|
||||
--mount=type=cache,target=/app/target \
|
||||
RUN --mount=type=cache,id=${EDITION}-registry,target=/usr/local/cargo/registry \
|
||||
--mount=type=cache,id=${EDITION}-target,target=/app/target \
|
||||
cargo chef cook --release --recipe-path recipe.json --target x86_64-unknown-linux-musl && \
|
||||
cargo chef cook --tests --target x86_64-unknown-linux-musl --recipe-path recipe.json
|
||||
|
||||
COPY . .
|
||||
RUN --mount=type=cache,target=/usr/local/cargo/registry \
|
||||
--mount=type=cache,target=/app/target \
|
||||
RUN --mount=type=cache,id=${EDITION}-registry,target=/usr/local/cargo/registry \
|
||||
--mount=type=cache,,id=${EDITION}-target,target=/app/target \
|
||||
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/ && \
|
||||
|
|
|
|||
Loading…
Reference in a new issue