mirror of
https://github.com/rtic-rs/rtic.git
synced 2024-11-27 14:04:56 +01:00
CI: Require jobs to pass CI, improve job names
This commit is contained in:
parent
cd10263201
commit
3ee57ff00c
1 changed files with 32 additions and 19 deletions
51
.github/workflows/build.yml
vendored
51
.github/workflows/build.yml
vendored
|
@ -14,7 +14,7 @@ env:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
# Run cargo fmt --check, includes macros/
|
# Run cargo fmt --check, includes macros/
|
||||||
style:
|
stylertic:
|
||||||
name: cargo fmt rtic
|
name: cargo fmt rtic
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
steps:
|
steps:
|
||||||
|
@ -91,7 +91,7 @@ jobs:
|
||||||
|
|
||||||
|
|
||||||
# Compilation check
|
# Compilation check
|
||||||
check:
|
checkrtic:
|
||||||
name: check rtic
|
name: check rtic
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
strategy:
|
strategy:
|
||||||
|
@ -276,7 +276,7 @@ jobs:
|
||||||
run: cargo check --target=${{ matrix.target }}
|
run: cargo check --target=${{ matrix.target }}
|
||||||
|
|
||||||
# Clippy
|
# Clippy
|
||||||
clippy:
|
clippyrtic:
|
||||||
name: Cargo clippy rtic
|
name: Cargo clippy rtic
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
steps:
|
steps:
|
||||||
|
@ -389,7 +389,7 @@ jobs:
|
||||||
|
|
||||||
# Verify all examples, checks
|
# Verify all examples, checks
|
||||||
checkexamples:
|
checkexamples:
|
||||||
name: checkexamples
|
name: Cargo check --examples
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
|
@ -424,7 +424,7 @@ jobs:
|
||||||
|
|
||||||
# Verify the example output with run-pass tests
|
# Verify the example output with run-pass tests
|
||||||
testexamples:
|
testexamples:
|
||||||
name: testexamples
|
name: Cargo xtask, test examples in QEMU
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
|
@ -470,7 +470,7 @@ jobs:
|
||||||
|
|
||||||
# Check the correctness of macros/ crate
|
# Check the correctness of macros/ crate
|
||||||
checkmacros:
|
checkmacros:
|
||||||
name: checkmacros
|
name: Cargo check rtic-macros
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
|
@ -503,7 +503,7 @@ jobs:
|
||||||
|
|
||||||
# Run the macros test-suite
|
# Run the macros test-suite
|
||||||
testmacros:
|
testmacros:
|
||||||
name: testmacros
|
name: Cargo test rtic-macros
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
|
@ -521,7 +521,7 @@ jobs:
|
||||||
run: cargo test --manifest-path macros/Cargo.toml
|
run: cargo test --manifest-path macros/Cargo.toml
|
||||||
|
|
||||||
# Run test suite
|
# Run test suite
|
||||||
tests:
|
testsrtic:
|
||||||
name: tests rtic
|
name: tests rtic
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
steps:
|
steps:
|
||||||
|
@ -617,7 +617,7 @@ jobs:
|
||||||
|
|
||||||
# Build documentation, check links
|
# Build documentation, check links
|
||||||
docs:
|
docs:
|
||||||
name: docs
|
name: Cargo docs, check links
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
|
@ -666,7 +666,7 @@ jobs:
|
||||||
|
|
||||||
# Build the books
|
# Build the books
|
||||||
mdbook:
|
mdbook:
|
||||||
name: mdbook
|
name: mdbook, check links
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
|
@ -903,20 +903,33 @@ jobs:
|
||||||
ci-success:
|
ci-success:
|
||||||
name: ci
|
name: ci
|
||||||
if: github.event_name == 'push' && success()
|
if: github.event_name == 'push' && success()
|
||||||
needs:
|
needs:
|
||||||
- style
|
- stylertic
|
||||||
- check
|
- stylearbiter
|
||||||
- clippy
|
- stylechannel
|
||||||
- clippytime
|
- stylemonotonics
|
||||||
- clippymonotonics
|
- styletime
|
||||||
|
- checkrtic
|
||||||
|
- checkarbiter
|
||||||
|
- checkchannel
|
||||||
|
- checkmonotonics
|
||||||
|
- checktime
|
||||||
|
- clippyrtic
|
||||||
|
- clippyarbiter
|
||||||
- clippychannel
|
- clippychannel
|
||||||
|
- clippymonotonics
|
||||||
|
- clippytime
|
||||||
- checkexamples
|
- checkexamples
|
||||||
- testexamples
|
- testexamples
|
||||||
- checkmacros
|
- checkmacros
|
||||||
- testmacros
|
- testmacros
|
||||||
- tests
|
- testsrtic
|
||||||
# - docs
|
- testsarbiter
|
||||||
# - mdbook
|
- testschannel
|
||||||
|
- testsmonotonics
|
||||||
|
- teststime
|
||||||
|
- docs
|
||||||
|
- mdbook
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
steps:
|
steps:
|
||||||
- name: Mark the job as a success
|
- name: Mark the job as a success
|
||||||
|
|
Loading…
Reference in a new issue