Skip to content
Snippets Groups Projects

fix the installation of Rust in the CI

Merged STEVAN Antoine requested to merge revert-ci-change into main
2 files
+ 30
14
Compare changes
  • Side-by-side
  • Inline
Files
2
+ 3
14
@@ -21,7 +21,7 @@ fmt:
stage: fmt
script:
- cargo fmt --all -- --check
- make fmt
test:
stage: test
@@ -32,12 +32,6 @@ test:
- apt upgrade --yes
- apt install protobuf-compiler --yes
- rustup --version
- rustup show --verbose
- rustc --version
- cargo --version
- cargo clippy --version
- export NUSHELL_BUILD="nu-$NUSHELL_VERSION-$NUSHELL_ARCH"
- export PATH="/tmp/:$PATH"
@@ -46,12 +40,7 @@ test:
- tar xvf /tmp/nu.tar.gz --directory /tmp
- cp "/tmp/$NUSHELL_BUILD/nu" /tmp/nu
- nu --version
- make show
script:
- cargo check --workspace --all-targets
- cargo clippy --workspace --all-targets -- -D warnings
- cargo test --workspace --verbose
- nu tests/cli.nu
- nu tests/binary.nu
- nu examples/cli.nu
- make check clippy test example
Loading