Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Arch Linux
gluebuddy
Commits
23321fe8
Verified
Commit
23321fe8
authored
Jan 26, 2022
by
Levente Polyak
🚀
Browse files
ci: declare needs for DAG pipelines
parent
2b14c6de
Changes
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
23321fe8
image
:
"
rust:latest"
stages
:
-
build
-
test
variables
:
...
...
@@ -11,14 +12,21 @@ cache:
-
.cargo/
-
target/
test
:
stage
:
test
build
:
stage
:
build
needs
:
[]
artifacts
:
paths
:
-
target
/release/gluebuddy
-
target
expire_in
:
1 day
script
:
-
cargo build --release --locked
test
:
stage
:
test
needs
:
-
build
script
:
-
cargo test --release --locked
format
:
...
...
@@ -31,6 +39,7 @@ format:
audit
:
stage
:
test
needs
:
[]
before_script
:
-
cargo install cargo-audit
script
:
...
...
@@ -39,6 +48,8 @@ audit:
clippy
:
stage
:
test
needs
:
-
build
before_script
:
-
rustup component add clippy
script
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment