Skip to content

Commit

Permalink
ci: Add shorter names to CI jobs
Browse files Browse the repository at this point in the history
By default GitHub lists all arguments in brackets after job name.
This gets unwieldy when we include runner labels in
#2037. For example, Linux job is now
"build-and-test (self-hosted, Linux, X64, stable)".
Shorten it to "build-and-test (linux, stable)" instead.
  • Loading branch information
YorikSar committed Oct 9, 2024
1 parent 35c98d1 commit 974d22d
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,14 @@ jobs:

strategy:
matrix:
os:
- [self-hosted, Linux, X64]
- [self-hosted, macOS, ARM64]
rust_channel:
- stable
include:
- os: [self-hosted, Linux, X64]
name: linux
- os: [self-hosted, macOS, ARM64]
name: macos
continue-on-error: true

name: build-and-test (${{ matrix.name }}, stable)
runs-on: ${{ matrix.os }}
# The `== true` makes it work wether continue-on-error has been defined or not.
continue-on-error: ${{ matrix.continue-on-error == true }}
Expand Down

0 comments on commit 974d22d

Please sign in to comment.