23 lines
456 B
YAML
23 lines
456 B
YAML
workspace:
|
|
base: /rust
|
|
path: build/
|
|
|
|
matrix:
|
|
#RUST: [ stable, beta, nightly ]
|
|
RUST: stable
|
|
|
|
pipeline:
|
|
test:
|
|
image: rust
|
|
environment: [ CARGO_TERM_COLOR=always ]
|
|
when:
|
|
branch:
|
|
include: [ main, develop ]
|
|
platform: linux/amd64
|
|
commands:
|
|
- echo "deloy the rust toolchain"
|
|
- rustup default $RUST
|
|
- echo "install the multilingual version of mdBook"
|
|
- cargo install mdbook
|
|
- cargo check
|