Do not limit jobs
This commit is contained in:
parent
279092951b
commit
e9b30934ac
@ -41,13 +41,13 @@ build:
|
|||||||
COPY ./Cargo.toml ./Cargo.lock .
|
COPY ./Cargo.toml ./Cargo.lock .
|
||||||
RUN \
|
RUN \
|
||||||
mkdir src && touch src/lib.rs && \
|
mkdir src && touch src/lib.rs && \
|
||||||
cargo build --offline --release --target "$TOOLCHAIN" --jobs 1 && \
|
cargo build --offline --release --target "$TOOLCHAIN" `#--jobs 1` && \
|
||||||
rm src/lib.rs && rmdir src && \
|
rm src/lib.rs && rmdir src && \
|
||||||
:
|
:
|
||||||
|
|
||||||
# Actually build the program
|
# Actually build the program
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN cargo build --offline --release --target "$TOOLCHAIN" --jobs 1
|
RUN cargo build --offline --release --target "$TOOLCHAIN" `#--jobs 1`
|
||||||
|
|
||||||
ARG EXT
|
ARG EXT
|
||||||
ARG STRIP_CMD
|
ARG STRIP_CMD
|
||||||
|
Loading…
Reference in New Issue
Block a user