image: "rust:latest" default: before_script: - rustc --version - cargo --version stages: - test - build test-code: stage: test script: - cargo test build-code: stage: build script: - cargo build --release
image: "rust:latest"
default:
before_script:
- rustc --version
- cargo --version
stages:
- test
- build
test-code:
stage: test
script:
- cargo test
build-code:
stage: build
- cargo build --release