mirror of
https://gitlab.com/veilid/veilid.git
synced 2024-10-01 01:26:08 -04:00
pipeline update
This commit is contained in:
parent
9cbf2c6913
commit
57e64413b5
@ -13,14 +13,14 @@ clippy:
|
||||
stage: clippy
|
||||
image: ${BUILD_IMAGE_LINUX_AMD64}
|
||||
cache:
|
||||
key: $CI_COMMIT_REF_SLUG-linux-amd64-release
|
||||
key: $CI_COMMIT_REF_SLUG-linux-amd64
|
||||
paths:
|
||||
- target/
|
||||
tags:
|
||||
- linux
|
||||
- amd64
|
||||
script:
|
||||
- cargo clippy --release
|
||||
- cargo clippy
|
||||
# Only run clippy on non-protected branches, for development
|
||||
rules:
|
||||
- if: $CI_COMMIT_REF_PROTECTED == "false"
|
||||
@ -34,18 +34,18 @@ clippy:
|
||||
- if: $CI_COMMIT_REF_PROTECTED == "true"
|
||||
- if: $CI_MERGE_REQUEST_IID
|
||||
|
||||
test_linux_amd64_release:
|
||||
test_linux_amd64:
|
||||
stage: test
|
||||
image: ${BUILD_IMAGE_LINUX_AMD64}
|
||||
cache:
|
||||
key: $CI_COMMIT_REF_SLUG-linux-amd64-release
|
||||
key: $CI_COMMIT_REF_SLUG-linux-amd64
|
||||
paths:
|
||||
- target/
|
||||
tags:
|
||||
- linux
|
||||
- amd64
|
||||
script:
|
||||
- RUST_BACKTRACE=1 dbus-run-session -- cargo test --release -- --nocapture
|
||||
- RUST_BACKTRACE=1 dbus-run-session -- cargo test -- --nocapture
|
||||
rules:
|
||||
- !reference [.test_rules_common, rules]
|
||||
|
||||
@ -57,11 +57,11 @@ test_linux_amd64_release:
|
||||
- if: $CI_COMMIT_TAG
|
||||
- if: $CI_COMMIT_REF_PROTECTED == "true"
|
||||
|
||||
build_linux_amd64_release:
|
||||
build_linux_amd64:
|
||||
stage: build
|
||||
image: ${BUILD_IMAGE_LINUX_AMD64}
|
||||
cache:
|
||||
key: $CI_COMMIT_REF_SLUG-linux-amd64-release
|
||||
key: $CI_COMMIT_REF_SLUG-linux-amd64
|
||||
paths:
|
||||
- target/
|
||||
tags:
|
||||
@ -70,7 +70,7 @@ build_linux_amd64_release:
|
||||
script:
|
||||
- cargo build --release
|
||||
artifacts:
|
||||
name: $CI_COMMIT_REF_SLUG-linux-amd64-release
|
||||
name: $CI_COMMIT_REF_SLUG-linux-amd64
|
||||
paths:
|
||||
- target/release/veilid-cli
|
||||
- target/release/veilid-server
|
||||
|
Loading…
Reference in New Issue
Block a user