diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 0c06f3eb9c8e0..396b3b1395262 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -443,6 +443,18 @@ test-wasmer-sandbox: - time cargo test --release --features runtime-benchmarks,wasmer-sandbox,disable-ui-tests - sccache -s +cargo-check-nixos: + stage: test + <<: *docker-env + <<: *test-refs + before_script: [] + variables: + CI_IMAGE: "nixos/nix" + script: + - nix-channel --update + - nix-shell shell.nix + - nix-shell --run "cargo check --workspace --all-targets --all-features" + cargo-check-macos: stage: test # shell runner on mac ignores the image set in *docker-env