2022-12-15 22:05:27 +00:00
|
|
|
default:
|
2022-12-15 22:14:40 +00:00
|
|
|
image: rust
|
2022-12-15 22:05:27 +00:00
|
|
|
|
2022-12-15 22:04:01 +00:00
|
|
|
compile:
|
|
|
|
stage: build
|
2022-12-19 04:07:27 +00:00
|
|
|
before_script:
|
|
|
|
- rustup component add clippy
|
2022-12-15 22:04:01 +00:00
|
|
|
script:
|
|
|
|
- cargo check
|
|
|
|
- cargo build
|
2022-12-19 04:07:27 +00:00
|
|
|
- cargo clippy
|
2022-12-15 23:09:01 +00:00
|
|
|
artifacts:
|
|
|
|
paths:
|
|
|
|
- target/release/quicktap-cli
|
|
|
|
expire_in: 1 week
|
2022-12-15 22:04:01 +00:00
|
|
|
|
|
|
|
tests:
|
|
|
|
stage: test
|
|
|
|
script:
|
|
|
|
- cargo test
|