dont run test and build in different steps
This commit is contained in:
parent
ec87086b26
commit
b3959782b1
|
@ -14,6 +14,8 @@ test:cargo:
|
|||
- rustup component add clippy
|
||||
- cargo clippy --all-targets --all-features -- -D warnings
|
||||
- cargo test
|
||||
rules:
|
||||
- if: $CI_COMMIT_BRANCH == "main"
|
||||
|
||||
build-doc:
|
||||
stage: build-doc
|
||||
|
|
|
@ -10,6 +10,9 @@ gzip -f build/man/tiempo.1
|
|||
cd ..
|
||||
|
||||
# build the binary
|
||||
rustup component add clippy
|
||||
cargo clippy --all-targets --all-features -- -D warnings
|
||||
cargo test
|
||||
cargo build --locked --release
|
||||
|
||||
# create the tar package
|
||||
|
|
Loading…
Reference in New Issue