arti/.gitlab-ci.yml

22 lines
459 B
YAML
Raw Normal View History

2020-12-06 00:16:34 +00:00
stages:
- build
2020-12-06 16:01:53 +00:00
variables:
# We don't need Husky to install the Git hooks for CI.
CARGO_HUSKY_DONT_INSTALL_HOOKS: "true"
2020-12-06 00:16:34 +00:00
rust-latest:
stage: build
image: rust:latest
script:
2020-12-06 16:16:01 +00:00
- cargo build --verbose --target x86_64-unknown-linux-gnu
2020-12-06 00:16:34 +00:00
- cargo test --verbose
rust-nightly:
stage: build
image: rustlang/rust:nightly
allow_failure: true
script:
2020-12-06 16:16:01 +00:00
- cargo build --verbose --target x86_64-unknown-linux-gnu
2020-12-06 00:16:34 +00:00
- cargo test --verbose