[ci] remove cargo-check-nixos job (#11873)

* [ci] remove cargo-check-nixos job

* remove shell.nix
This commit is contained in:
Alexander Samusev
2022-07-26 11:37:54 +02:00
committed by GitHub
parent cdfd2da02e
commit 151c5d3fd9
2 changed files with 4 additions and 47 deletions
+4 -20
View File
@@ -51,26 +51,6 @@ cargo-clippy:
- SKIP_WASM_BUILD=1 env -u RUSTFLAGS cargo +nightly clippy --all-targets
- rusty-cachier cache upload
cargo-check-nixos:
stage: test
# this is an artificial job dependency, for pipeline optimization using GitLab's DAGs
needs:
- job: cargo-clippy
artifacts: false
extends:
- .docker-env
- .test-refs
before_script: []
# Don't use CI_IMAGE here because it breaks nightly checks of paritytech/ci-linux image
image: nixos/nix
variables:
SNAP: "DUMMY"
WS_API: "DUMMY"
script:
- nix-channel --update
- nix-shell shell.nix
- nix-shell --run "cargo check --workspace --all-targets --all-features"
cargo-check-benches:
stage: test
variables:
@@ -337,6 +317,8 @@ test-linux-stable-int:
time cargo test -p node-cli --release --verbose --locked -- --ignored
- rusty-cachier cache upload
# more information about this job can be found here:
# https://github.com/paritytech/substrate/pull/6916
check-tracing:
stage: test
# this is an artificial job dependency, for pipeline optimization using GitLab's DAGs
@@ -355,6 +337,8 @@ check-tracing:
- time cargo +nightly test --manifest-path ./primitives/tracing/Cargo.toml --no-default-features --features=with-tracing
- rusty-cachier cache upload
# more information about this job can be found here:
# https://github.com/paritytech/substrate/pull/3778
test-full-crypto-feature:
stage: test
# this is an artificial job dependency, for pipeline optimization using GitLab's DAGs
-27
View File
@@ -1,27 +0,0 @@
let
mozillaOverlay =
import (builtins.fetchGit {
url = "https://github.com/mozilla/nixpkgs-mozilla.git";
rev = "15b7a05f20aab51c4ffbefddb1b448e862dccb7d";
});
nixpkgs = import <nixpkgs> { overlays = [ mozillaOverlay ]; };
rust-nightly = with nixpkgs; ((rustChannelOf { date = "2022-04-20"; channel = "nightly"; }).rust.override {
extensions = [ "rust-src" ];
targets = [ "wasm32-unknown-unknown" ];
});
in
with nixpkgs; pkgs.mkShell {
buildInputs = [
clang
openssl.dev
pkg-config
rust-nightly
] ++ lib.optionals stdenv.isDarwin [
darwin.apple_sdk.frameworks.Security
];
RUST_SRC_PATH = "${rust-nightly}/lib/rustlib/src/rust/src";
LIBCLANG_PATH = "${llvmPackages.libclang.lib}/lib";
PROTOC = "${protobuf}/bin/protoc";
ROCKSDB_LIB_DIR = "${rocksdb}/lib";
}