Skip to content
Snippets Groups Projects
Commit 37f67468 authored by Paul's avatar Paul :turtle:
Browse files

refactor ci config

parent 7d210e5f
No related branches found
No related tags found
No related merge requests found
Pipeline #9685 failed
......@@ -6,7 +6,7 @@ stages:
before_script:
- apt update && apt install -y pkg-config libssl-dev
rust-latest:
rust-latest: &build_and_test
stage: build
cache:
key: shared-cache
......@@ -17,16 +17,9 @@ rust-latest:
- cargo test --verbose
rust-nightly: &rust_nightly
stage: build
<<: *build-and-test
image: rustlang/rust:nightly
allow_failure: true
cache:
key: shared-cache
paths:
- target/
script:
- cargo build
- cargo test --verbose
clippy:
<<: *rust_nightly
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment