2019-03-29 16:52:38 +08:00
|
|
|
language: rust
|
2019-03-29 17:12:07 +08:00
|
|
|
|
2019-11-11 18:31:39 +08:00
|
|
|
jobs:
|
2019-03-29 16:52:38 +08:00
|
|
|
include:
|
2019-11-11 18:30:41 +08:00
|
|
|
- rust: stable
|
2019-03-29 16:52:38 +08:00
|
|
|
env: FEATURES='' ARGS='--release'
|
2019-11-11 18:30:41 +08:00
|
|
|
- rust: stable
|
2019-03-29 16:52:38 +08:00
|
|
|
env: FEATURES='semihosting'
|
2019-11-11 18:30:41 +08:00
|
|
|
- rust: beta
|
|
|
|
env: FEATURES='' ARGS='--release'
|
2019-11-11 18:31:39 +08:00
|
|
|
allow_failures:
|
|
|
|
- rust: nightly
|
|
|
|
env: FEATURES='' ARGS='--release'
|
2019-03-29 17:12:07 +08:00
|
|
|
|
2019-06-03 23:22:38 +08:00
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- staging
|
|
|
|
- trying
|
|
|
|
- master
|
|
|
|
|
2019-04-30 01:59:17 +08:00
|
|
|
before_script:
|
2019-03-29 17:12:07 +08:00
|
|
|
- rustup target add thumbv7em-none-eabihf
|
2019-11-24 22:07:56 +08:00
|
|
|
- rustup component add clippy
|
|
|
|
- rustup component add rustfmt
|
2019-04-30 01:59:17 +08:00
|
|
|
|
|
|
|
script:
|
|
|
|
- "cargo build --target thumbv7em-none-eabihf --features \"$FEATURES\" $ARGS"
|
2019-11-24 22:07:56 +08:00
|
|
|
- cargo clippy
|
|
|
|
- cargo fmt --all -- --check
|
2019-03-29 17:12:07 +08:00
|
|
|
|
|
|
|
notifications:
|
|
|
|
email: false
|