diff options
| author | Henrik Tjäder <henrik@tjaders.com> | 2023-01-31 23:11:10 +0100 |
|---|---|---|
| committer | Henrik Tjäder <henrik@tjaders.com> | 2023-03-01 00:33:40 +0100 |
| commit | fe4aeaf46c8a311b0741f773fad19a81136f75e2 (patch) | |
| tree | c98301743b1bd139e062ba489d5371c3eecf701e /.github/workflows | |
| parent | 63f3d784fe519d248c89b64006dbc13d83e07360 (diff) | |
CI: Require jobs to pass CI, improve job names
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/build.yml | 51 |
1 files changed, 32 insertions, 19 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7df817c..550b07e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -14,7 +14,7 @@ env: jobs: # Run cargo fmt --check, includes macros/ - style: + stylertic: name: cargo fmt rtic runs-on: ubuntu-22.04 steps: @@ -91,7 +91,7 @@ jobs: # Compilation check - check: + checkrtic: name: check rtic runs-on: ubuntu-22.04 strategy: @@ -276,7 +276,7 @@ jobs: run: cargo check --target=${{ matrix.target }} # Clippy - clippy: + clippyrtic: name: Cargo clippy rtic runs-on: ubuntu-22.04 steps: @@ -389,7 +389,7 @@ jobs: # Verify all examples, checks checkexamples: - name: checkexamples + name: Cargo check --examples runs-on: ubuntu-22.04 strategy: matrix: @@ -424,7 +424,7 @@ jobs: # Verify the example output with run-pass tests testexamples: - name: testexamples + name: Cargo xtask, test examples in QEMU runs-on: ubuntu-22.04 strategy: matrix: @@ -470,7 +470,7 @@ jobs: # Check the correctness of macros/ crate checkmacros: - name: checkmacros + name: Cargo check rtic-macros runs-on: ubuntu-22.04 strategy: matrix: @@ -503,7 +503,7 @@ jobs: # Run the macros test-suite testmacros: - name: testmacros + name: Cargo test rtic-macros runs-on: ubuntu-22.04 steps: - name: Checkout @@ -521,7 +521,7 @@ jobs: run: cargo test --manifest-path macros/Cargo.toml # Run test suite - tests: + testsrtic: name: tests rtic runs-on: ubuntu-22.04 steps: @@ -617,7 +617,7 @@ jobs: # Build documentation, check links docs: - name: docs + name: Cargo docs, check links runs-on: ubuntu-22.04 steps: - name: Checkout @@ -666,7 +666,7 @@ jobs: # Build the books mdbook: - name: mdbook + name: mdbook, check links runs-on: ubuntu-22.04 steps: - name: Checkout @@ -903,20 +903,33 @@ jobs: ci-success: name: ci if: github.event_name == 'push' && success() - needs: - - style - - check - - clippy - - clippytime - - clippymonotonics + needs: + - stylertic + - stylearbiter + - stylechannel + - stylemonotonics + - styletime + - checkrtic + - checkarbiter + - checkchannel + - checkmonotonics + - checktime + - clippyrtic + - clippyarbiter - clippychannel + - clippymonotonics + - clippytime - checkexamples - testexamples - checkmacros - testmacros - - tests -# - docs -# - mdbook + - testsrtic + - testsarbiter + - testschannel + - testsmonotonics + - teststime + - docs + - mdbook runs-on: ubuntu-22.04 steps: - name: Mark the job as a success |
