You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
cargo-remote/.gitlab-ci.yml

28 lines
753 B
YAML

stages:
- audit
- build
image: ${REGISTRY}/parity-ci-linux:latest
variables:
GIT_STRATEGY: fetch
GIT_SUBMODULE_STRATEGY: recursive
CI_SERVER_NAME: "GitLab CI"
CARGO_HOME: "/ci-cache/${CI_PROJECT_NAME}/cargo/${CI_JOB_NAME}"
CARGO_TARGET: x86_64-unknown-linux-gnu
REGISTRY: registry.parity.io/parity/infrastructure/scripts
cargo_audit:
stage: audit
script:
- cargo audit
tags:
- linux-docker
allow_failure: true
cargo_remote_build:
stage: build
script:
- cargo build --release
tags:
- linux-docker