mirror of
https://github.com/babichjacob/ac-qu-ai-nt.git
synced 2025-10-02 04:47:53 -04:00
ci: move the description of the checking / building command (which varies from whether they are being run for minimal or for latest (typically) versions of dependencies) to the job name instead of the command name
This commit is contained in:
30
.github/workflows/check-and-build-and-test.yml
vendored
30
.github/workflows/check-and-build-and-test.yml
vendored
@@ -34,20 +34,14 @@ jobs:
|
|||||||
check-and-build:
|
check-and-build:
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
commands:
|
minimal_or_latest:
|
||||||
- build:
|
- build_command: cargo minimal-versions build --direct --verbose
|
||||||
name: "Build with minimal versions of direct dependencies"
|
check_command: cargo minimal-versions check --direct --verbose
|
||||||
run: cargo minimal-versions build --direct --verbose
|
job_name_suffix: with minimal versions of direct dependencies
|
||||||
check:
|
|
||||||
name: "Check with minimal versions of direct dependencies"
|
|
||||||
run: cargo minimal-versions check --direct --verbose
|
|
||||||
|
|
||||||
- build:
|
- build_command: cargo build --verbose
|
||||||
name: "Build (with latest (typically) versions of dependencies)"
|
check_command: cargo check --verbose
|
||||||
run: cargo build --verbose
|
job_name_suffix: (with latest (typically) versions of dependencies)
|
||||||
check:
|
|
||||||
name: "Check (with latest (typically) versions of dependencies)"
|
|
||||||
run: cargo check --verbose
|
|
||||||
|
|
||||||
supporteds:
|
supporteds:
|
||||||
- runner: macos-latest
|
- runner: macos-latest
|
||||||
@@ -82,7 +76,7 @@ jobs:
|
|||||||
|
|
||||||
- runner: windows-latest
|
- runner: windows-latest
|
||||||
target: x86_64-pc-windows-msvc
|
target: x86_64-pc-windows-msvc
|
||||||
name: Check and build ${{ matrix.supporteds.target }} (on ${{ matrix.supporteds.runner }})
|
name: Check and build ${{ matrix.supporteds.target }} (on ${{ matrix.supporteds.runner }}) ${{ matrix.minimal_or_latest.job_name_suffix }}
|
||||||
runs-on: ${{ matrix.supporteds.runner }}
|
runs-on: ${{ matrix.supporteds.runner }}
|
||||||
timeout-minutes: 5
|
timeout-minutes: 5
|
||||||
env:
|
env:
|
||||||
@@ -112,11 +106,11 @@ jobs:
|
|||||||
shared-key: ${{ matrix.supporteds.target }}
|
shared-key: ${{ matrix.supporteds.target }}
|
||||||
cache-on-failure: "true"
|
cache-on-failure: "true"
|
||||||
|
|
||||||
- name: ${{ matrix.commands.check.name }}
|
- name: Check
|
||||||
run: ${{ matrix.commands.check.run }} --target ${{ matrix.supporteds.target }}
|
run: ${{ matrix.minimal_or_latest.check_command }} --target ${{ matrix.supporteds.target }}
|
||||||
|
|
||||||
- name: ${{ matrix.commands.build.name }}
|
- name: Build
|
||||||
run: ${{ matrix.commands.build.run }} --target ${{ matrix.supporteds.target }}
|
run: ${{ matrix.minimal_or_latest.build_command }} --target ${{ matrix.supporteds.target }}
|
||||||
|
|
||||||
test:
|
test:
|
||||||
strategy:
|
strategy:
|
||||||
|
Reference in New Issue
Block a user