add i386 tests to earthfile

This commit is contained in:
Folkert 2021-09-04 13:55:22 +02:00
parent 9256bdf4ab
commit 6beff62ece

View File

@ -82,6 +82,10 @@ test-rust:
RUN echo "4" | cargo run --release examples/benchmarks/NQueens.roc
RUN --mount=type=cache,target=$SCCACHE_DIR \
cargo test --release && sccache --show-stats
# run i386 (32-bit linux) cli tests
RUN echo "4" | cargo run --release --target=x86_32 examples/benchmarks/NQueens.roc
RUN --mount=type=cache,target=$SCCACHE_DIR \
cargo test --release --test cli_run wasm32 --features="wasm32-cli-run" && sccache --show-stats
verify-no-git-changes:
FROM +test-rust