minor earthfile clean

This commit is contained in:
Brendan Hansknecht 2021-11-08 19:55:17 -08:00
parent 1028e1593a
commit 5f3b7e1267

View File

@ -79,8 +79,8 @@ test-rust:
# not pre-compiling the host can cause race conditions # not pre-compiling the host can cause race conditions
RUN echo "4" | cargo run --release examples/benchmarks/NQueens.roc RUN echo "4" | cargo run --release examples/benchmarks/NQueens.roc
RUN --mount=type=cache,target=$SCCACHE_DIR \ RUN --mount=type=cache,target=$SCCACHE_DIR \
cargo test --release --features with_sound --workspace --exclude test_wasm && sccache --show-stats cargo test --release --features with_sound --workspace && sccache --show-stats
# test the dev and wasm backend they require an explicit feature flag. # test the dev and wasm backend: they require an explicit feature flag.
RUN --mount=type=cache,target=$SCCACHE_DIR \ RUN --mount=type=cache,target=$SCCACHE_DIR \
cargo test --release --package test_gen --no-default-features --features gen-dev && sccache --show-stats cargo test --release --package test_gen --no-default-features --features gen-dev && sccache --show-stats
# gen-wasm has some multithreading problems to do with the wasmer runtime. Run it single-threaded as a separate job # gen-wasm has some multithreading problems to do with the wasmer runtime. Run it single-threaded as a separate job