forked from mirrors/gstreamer-rs
Remove ARM/Windows builds from the CI and add cargo fmt
step
The ARM/Windows cross-builds were not too useful on their own and we should rather set up proper CI for them.
This commit is contained in:
parent
78c1f50b53
commit
77a9f4b459
1 changed files with 8 additions and 9 deletions
|
@ -1,4 +1,5 @@
|
||||||
stages:
|
stages:
|
||||||
|
- "lint"
|
||||||
- "test"
|
- "test"
|
||||||
|
|
||||||
.cargo_cache: &cache
|
.cargo_cache: &cache
|
||||||
|
@ -114,12 +115,10 @@ test nightly:
|
||||||
- cargo check --target $CROSS_TARGET_TRIPLET --all --color=always
|
- cargo check --target $CROSS_TARGET_TRIPLET --all --color=always
|
||||||
- cargo check --target $CROSS_TARGET_TRIPLET --all --all-features --color=always
|
- cargo check --target $CROSS_TARGET_TRIPLET --all --all-features --color=always
|
||||||
|
|
||||||
test stable-armv7-unknown-linux-gnueabihf:
|
rustfmt:
|
||||||
extends: .cargo_cross_check_template
|
image: "rust:slim"
|
||||||
variables:
|
stage: "lint"
|
||||||
CROSS_TARGET_TRIPLET: "armv7-unknown-linux-gnueabihf"
|
script:
|
||||||
|
- rustup component add rustfmt
|
||||||
test stable-x86_64-pc-windows-gnu:
|
- cargo fmt --version
|
||||||
extends: .cargo_cross_check_template
|
- cargo fmt -- --color=always --check
|
||||||
variables:
|
|
||||||
CROSS_TARGET_TRIPLET: "x86_64-pc-windows-gnu"
|
|
||||||
|
|
Loading…
Reference in a new issue