mirror of
https://github.com/roc-lang/roc.git
synced 2024-09-20 07:17:50 +03:00
earthly fixes
This commit is contained in:
parent
5046f87db0
commit
78b47ef48d
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@ -19,4 +19,4 @@ jobs:
|
||||
run: earthly --version
|
||||
|
||||
- name: build container roc-deps-tests:latest
|
||||
run: earthly +all
|
||||
run: earthly +test-rust
|
||||
|
@ -4,6 +4,7 @@ WORKDIR /earthbuild
|
||||
# TODO cache cargo packages
|
||||
# TODO lld linker
|
||||
# TODO caching steps
|
||||
# TODO zig tests
|
||||
|
||||
prep-debian:
|
||||
RUN apt -y update
|
||||
@ -42,8 +43,12 @@ install-zig-llvm-valgrind-clippy-rustfmt:
|
||||
# rustfmt
|
||||
RUN rustup component add rustfmt
|
||||
|
||||
test-rust:
|
||||
build-rust-tests:
|
||||
FROM +install-zig-llvm-valgrind-clippy-rustfmt
|
||||
COPY --dir cli compiler docs editor roc_std vendor Cargo.toml Cargo.lock ./
|
||||
COPY --dir cli compiler docs editor roc_std vendor examples Cargo.toml Cargo.lock ./
|
||||
RUN cargo test --release --no-run
|
||||
|
||||
test-rust:
|
||||
FROM +build-rust-tests
|
||||
RUN cargo test --release
|
||||
|
Loading…
Reference in New Issue
Block a user