mirror of
https://gitlab.com/asus-linux/asusctl.git
synced 2026-02-06 00:15:04 +01:00
Update .gitlab-ci.yml file
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
image: rust:latest
|
image: rust:latest
|
||||||
|
|
||||||
|
.rust_cache: &rust_cache
|
||||||
cache: &rust_cache
|
cache: &rust_cache
|
||||||
# key: $CI_COMMIT_REF_SLUG
|
# key: $CI_COMMIT_REF_SLUG
|
||||||
paths:
|
paths:
|
||||||
@@ -28,7 +29,6 @@ stages:
|
|||||||
format:
|
format:
|
||||||
except:
|
except:
|
||||||
- tags
|
- tags
|
||||||
cache:
|
|
||||||
<<: *rust_cache
|
<<: *rust_cache
|
||||||
script:
|
script:
|
||||||
- echo "nightly" > rust-toolchain
|
- echo "nightly" > rust-toolchain
|
||||||
@@ -38,7 +38,6 @@ format:
|
|||||||
check:
|
check:
|
||||||
except:
|
except:
|
||||||
- tags
|
- tags
|
||||||
cache:
|
|
||||||
<<: *rust_cache
|
<<: *rust_cache
|
||||||
script:
|
script:
|
||||||
- rustup component add clippy
|
- rustup component add clippy
|
||||||
@@ -50,7 +49,6 @@ check:
|
|||||||
test:
|
test:
|
||||||
except:
|
except:
|
||||||
- tags
|
- tags
|
||||||
cache:
|
|
||||||
<<: *rust_cache
|
<<: *rust_cache
|
||||||
script:
|
script:
|
||||||
- cargo test
|
- cargo test
|
||||||
@@ -58,7 +56,6 @@ test:
|
|||||||
release:
|
release:
|
||||||
only:
|
only:
|
||||||
- tags
|
- tags
|
||||||
cache:
|
|
||||||
<<: *rust_cache
|
<<: *rust_cache
|
||||||
script:
|
script:
|
||||||
- make && make vendor
|
- make && make vendor
|
||||||
@@ -71,7 +68,6 @@ pages:
|
|||||||
stage: deploy
|
stage: deploy
|
||||||
only:
|
only:
|
||||||
- tags
|
- tags
|
||||||
cache:
|
|
||||||
<<: *rust_cache
|
<<: *rust_cache
|
||||||
script:
|
script:
|
||||||
- cargo doc --document-private-items --no-deps --workspace
|
- cargo doc --document-private-items --no-deps --workspace
|
||||||
|
|||||||
Reference in New Issue
Block a user