mirror of
https://gitlab.com/fabinfra/fabaccess/bffh.git
synced 2024-11-22 14:57:56 +01:00
Try to get the Gitlab CI to cooperate.
This commit is contained in:
parent
57b98cf15e
commit
c4d74115f8
@ -58,16 +58,15 @@ lint:fmt:
|
|||||||
- cargo +stable fmt --check -- -v
|
- cargo +stable fmt --check -- -v
|
||||||
- echo -e "\e[0Ksection_end:`date +%s`:rustfmt_output\r\e[0K"
|
- echo -e "\e[0Ksection_end:`date +%s`:rustfmt_output\r\e[0K"
|
||||||
|
|
||||||
.builds:
|
|
||||||
|
# Check if the code builds on rust stable
|
||||||
|
stable:build:
|
||||||
stage: build
|
stage: build
|
||||||
|
needs: []
|
||||||
only:
|
only:
|
||||||
- main
|
- main
|
||||||
- development
|
- development
|
||||||
- merge_requests
|
- merge_requests
|
||||||
|
|
||||||
# Check if the code builds on rust stable
|
|
||||||
stable:build:
|
|
||||||
extends: .builds
|
|
||||||
script:
|
script:
|
||||||
- rustc +stable --version && cargo +stable --version
|
- rustc +stable --version && cargo +stable --version
|
||||||
- echo -e "\e[0Ksection_start:`date +%s`:build_output\r\e[0KOutput of `cargo check`"
|
- echo -e "\e[0Ksection_start:`date +%s`:build_output\r\e[0KOutput of `cargo check`"
|
||||||
@ -79,8 +78,7 @@ stable:build:
|
|||||||
|
|
||||||
.tests:
|
.tests:
|
||||||
stage: test
|
stage: test
|
||||||
needs:
|
needs: ["stable:build"]
|
||||||
- "stable:build"
|
|
||||||
script:
|
script:
|
||||||
- >
|
- >
|
||||||
cargo +stable test --workspace $TEST_TARGET --
|
cargo +stable test --workspace $TEST_TARGET --
|
||||||
|
Loading…
Reference in New Issue
Block a user