attempt to pre-build benchmark host

This commit is contained in:
Folkert 2021-08-31 12:48:50 +02:00
parent b7db53a8d9
commit 5946215646

View File

@ -77,6 +77,9 @@ check-typos:
test-rust:
FROM +copy-dirs
ENV RUST_BACKTRACE=1
# run one of the benchmarks to make sure the host is compiled
# not pre-compiling the host can cause race conditions
RUN echo "4" | cargo run --release examples/benchmarks/NQueens.roc
RUN --mount=type=cache,target=$SCCACHE_DIR \
cargo test --release && sccache --show-stats