Rename all matrix keys to use dashes instead of underscores

This commit is contained in:
Dave Rolsky 2025-01-11 12:54:55 -06:00
parent 8a64ff717c
commit 242cf4bba9
No known key found for this signature in database

View File

@ -15,206 +15,206 @@ jobs:
runs-on: ubuntu-22.04 runs-on: ubuntu-22.04
target: x86_64-unknown-freebsd target: x86_64-unknown-freebsd
cache-cross-binary: true cache-cross-binary: true
expect_file_re: "x86-64.+FreeBSD" expect-file-re: "x86-64.+FreeBSD"
expect_cross: "--expect-cross" expect-cross: "--expect-cross"
expect_stripped: "" expect-stripped: ""
can_execute: false can-execute: false
- platform_name: Linux-x86_64 - platform_name: Linux-x86_64
runs-on: ubuntu-22.04 runs-on: ubuntu-22.04
target: x86_64-unknown-linux-musl target: x86_64-unknown-linux-musl
cache-cross-binary: true cache-cross-binary: true
expect_file_re: "ELF.+x86-64" expect-file-re: "ELF.+x86-64"
expect_cross: "" expect-cross: ""
expect_stripped: "--expect-stripped" expect-stripped: "--expect-stripped"
can_execute: true can-execute: true
- platform_name: Linux-aarch64 - platform_name: Linux-aarch64
runs-on: ubuntu-22.04 runs-on: ubuntu-22.04
target: aarch64-unknown-linux-musl target: aarch64-unknown-linux-musl
cache-cross-binary: true cache-cross-binary: true
expect_file_re: "aarch64" expect-file-re: "aarch64"
expect_cross: "--expect-cross" expect-cross: "--expect-cross"
expect_stripped: "" expect-stripped: ""
can_execute: true can-execute: true
- platform_name: Linux-aarch64 (no cache) - platform_name: Linux-aarch64 (no cache)
runs-on: ubuntu-22.04 runs-on: ubuntu-22.04
target: aarch64-unknown-linux-musl target: aarch64-unknown-linux-musl
cache-cross-binary: false cache-cross-binary: false
expect_file_re: "aarch64" expect-file-re: "aarch64"
expect_cross: "--expect-cross" expect-cross: "--expect-cross"
expect_stripped: "" expect-stripped: ""
can_execute: true can-execute: true
- platform_name: Linux-aarch64 with cross v0.2.3 - platform_name: Linux-aarch64 with cross v0.2.3
runs-on: ubuntu-22.04 runs-on: ubuntu-22.04
target: aarch64-unknown-linux-musl target: aarch64-unknown-linux-musl
cross-version: "v0.2.3" cross-version: "v0.2.3"
cache-cross-binary: true cache-cross-binary: true
expect_file_re: "aarch64" expect-file-re: "aarch64"
expect_cross: "--expect-cross" expect-cross: "--expect-cross"
expect_cross_version: "0.2.3" expect-cross-version: "0.2.3"
expect_stripped: "" expect-stripped: ""
can_execute: true can-execute: true
- platform_name: Linux-aarch64 with cross v0.2.3 (no cache) - platform_name: Linux-aarch64 with cross v0.2.3 (no cache)
runs-on: ubuntu-22.04 runs-on: ubuntu-22.04
target: aarch64-unknown-linux-musl target: aarch64-unknown-linux-musl
cross-version: "v0.2.3" cross-version: "v0.2.3"
cache-cross-binary: false cache-cross-binary: false
expect_file_re: "aarch64" expect-file-re: "aarch64"
expect_cross: "--expect-cross" expect-cross: "--expect-cross"
expect_cross_version: "0.2.3" expect-cross-version: "0.2.3"
expect_stripped: "" expect-stripped: ""
can_execute: true can-execute: true
- platform_name: Linux-aarch64 with cross 19be834 - platform_name: Linux-aarch64 with cross 19be834
runs-on: ubuntu-22.04 runs-on: ubuntu-22.04
target: aarch64-unknown-linux-musl target: aarch64-unknown-linux-musl
cross-version: "19be834" cross-version: "19be834"
cache-cross-binary: true cache-cross-binary: true
expect_file_re: "aarch64" expect-file-re: "aarch64"
expect_cross: "--expect-cross" expect-cross: "--expect-cross"
expect_cross_version: "19be834" expect-cross-version: "19be834"
expect_stripped: "" expect-stripped: ""
can_execute: true can-execute: true
- platform_name: Linux-aarch64 with cross 19be834 - platform_name: Linux-aarch64 with cross 19be834
runs-on: ubuntu-22.04 runs-on: ubuntu-22.04
target: aarch64-unknown-linux-musl target: aarch64-unknown-linux-musl
cross-version: "19be834" cross-version: "19be834"
cache-cross-binary: false cache-cross-binary: false
expect_file_re: "aarch64" expect-file-re: "aarch64"
expect_cross: "--expect-cross" expect-cross: "--expect-cross"
expect_cross_version: "19be834" expect-cross-version: "19be834"
expect_stripped: "" expect-stripped: ""
can_execute: true can-execute: true
- platform_name: Linux-arm - platform_name: Linux-arm
runs-on: ubuntu-22.04 runs-on: ubuntu-22.04
target: arm-unknown-linux-musleabi target: arm-unknown-linux-musleabi
cache-cross-binary: true cache-cross-binary: true
expect_file_re: "32.+ARM" expect-file-re: "32.+ARM"
expect_cross: "--expect-cross" expect-cross: "--expect-cross"
expect_stripped: "" expect-stripped: ""
can_execute: true can-execute: true
- platform_name: Linux-i586 - platform_name: Linux-i586
runs-on: ubuntu-22.04 runs-on: ubuntu-22.04
target: i586-unknown-linux-musl target: i586-unknown-linux-musl
cache-cross-binary: true cache-cross-binary: true
expect_file_re: "ELF.+80386" expect-file-re: "ELF.+80386"
expect_cross: "--expect-cross" expect-cross: "--expect-cross"
expect_stripped: "" expect-stripped: ""
can_execute: true can-execute: true
- platform_name: Linux-i686 - platform_name: Linux-i686
runs-on: ubuntu-22.04 runs-on: ubuntu-22.04
target: i686-unknown-linux-musl target: i686-unknown-linux-musl
cache-cross-binary: true cache-cross-binary: true
expect_file_re: "ELF.+80386" expect-file-re: "ELF.+80386"
expect_cross: "--expect-cross" expect-cross: "--expect-cross"
expect_stripped: "" expect-stripped: ""
can_execute: true can-execute: true
- platform_name: Linux-powerpc - platform_name: Linux-powerpc
runs-on: ubuntu-22.04 runs-on: ubuntu-22.04
target: powerpc-unknown-linux-gnu target: powerpc-unknown-linux-gnu
cache-cross-binary: true cache-cross-binary: true
expect_file_re: "32.+PowerPC" expect-file-re: "32.+PowerPC"
expect_cross: "--expect-cross" expect-cross: "--expect-cross"
expect_stripped: "" expect-stripped: ""
can_execute: true can-execute: true
- platform_name: Linux-powerpc64 - platform_name: Linux-powerpc64
runs-on: ubuntu-22.04 runs-on: ubuntu-22.04
target: powerpc64-unknown-linux-gnu target: powerpc64-unknown-linux-gnu
cache-cross-binary: true cache-cross-binary: true
expect_file_re: "64.+PowerPC" expect-file-re: "64.+PowerPC"
expect_cross: "--expect-cross" expect-cross: "--expect-cross"
expect_stripped: "" expect-stripped: ""
can_execute: true can-execute: true
- platform_name: Linux-powerpc64le - platform_name: Linux-powerpc64le
runs-on: ubuntu-22.04 runs-on: ubuntu-22.04
target: powerpc64le-unknown-linux-gnu target: powerpc64le-unknown-linux-gnu
cache-cross-binary: true cache-cross-binary: true
expect_file_re: "64.+PowerPC" expect-file-re: "64.+PowerPC"
expect_cross: "--expect-cross" expect-cross: "--expect-cross"
expect_stripped: "" expect-stripped: ""
can_execute: true can-execute: true
- platform_name: Linux-riscv64 - platform_name: Linux-riscv64
runs-on: ubuntu-22.04 runs-on: ubuntu-22.04
target: riscv64gc-unknown-linux-gnu target: riscv64gc-unknown-linux-gnu
cache-cross-binary: true cache-cross-binary: true
expect_file_re: "64.+RISC-V" expect-file-re: "64.+RISC-V"
expect_cross: "--expect-cross" expect-cross: "--expect-cross"
expect_stripped: "" expect-stripped: ""
can_execute: true can-execute: true
- platform_name: Linux-s390x - platform_name: Linux-s390x
runs-on: ubuntu-22.04 runs-on: ubuntu-22.04
target: s390x-unknown-linux-gnu target: s390x-unknown-linux-gnu
cache-cross-binary: true cache-cross-binary: true
expect_file_re: "64.+S/390" expect-file-re: "64.+S/390"
expect_cross: "--expect-cross" expect-cross: "--expect-cross"
expect_stripped: "" expect-stripped: ""
can_execute: true can-execute: true
- platform_name: NetBSD-x86_64 - platform_name: NetBSD-x86_64
runs-on: ubuntu-22.04 runs-on: ubuntu-22.04
target: x86_64-unknown-netbsd target: x86_64-unknown-netbsd
cache-cross-binary: true cache-cross-binary: true
expect_file_re: "x86-64.+NetBSD" expect-file-re: "x86-64.+NetBSD"
expect_cross: "--expect-cross" expect-cross: "--expect-cross"
expect_stripped: "" expect-stripped: ""
can_execute: false can-execute: false
- platform_name: Windows-aarch64 - platform_name: Windows-aarch64
runs-on: windows-latest runs-on: windows-latest
target: aarch64-pc-windows-msvc target: aarch64-pc-windows-msvc
cache-cross-binary: true cache-cross-binary: true
expect_file_re: "Aarch64.+Windows" expect-file-re: "Aarch64.+Windows"
expect_cross: "" expect-cross: ""
expect_stripped: "" expect-stripped: ""
can_execute: false can-execute: false
- platform_name: Windows-i686 - platform_name: Windows-i686
runs-on: windows-latest runs-on: windows-latest
target: i686-pc-windows-msvc target: i686-pc-windows-msvc
cache-cross-binary: true cache-cross-binary: true
expect_file_re: "80386.+Windows" expect-file-re: "80386.+Windows"
expect_cross: "" expect-cross: ""
expect_stripped: "--expect-stripped" expect-stripped: "--expect-stripped"
can_execute: true can-execute: true
- platform_name: Windows-x86_64 - platform_name: Windows-x86_64
runs-on: windows-latest runs-on: windows-latest
target: x86_64-pc-windows-msvc target: x86_64-pc-windows-msvc
cache-cross-binary: true cache-cross-binary: true
expect_file_re: "x86-64.+Windows" expect-file-re: "x86-64.+Windows"
expect_stripped: "--expect-stripped" expect-stripped: "--expect-stripped"
can_execute: true can-execute: true
- platform_name: macOS-x86_64 - platform_name: macOS-x86_64
runs-on: macOS-latest runs-on: macOS-latest
target: x86_64-apple-darwin target: x86_64-apple-darwin
cache-cross-binary: true cache-cross-binary: true
expect_file_re: "Mach-O.+x86_64" expect-file-re: "Mach-O.+x86_64"
expect_cross: "" expect-cross: ""
expect_stripped: "--expect-stripped" expect-stripped: "--expect-stripped"
can_execute: true can-execute: true
- platform_name: macOS-aarch64 - platform_name: macOS-aarch64
runs-on: macOS-latest runs-on: macOS-latest
target: aarch64-apple-darwin target: aarch64-apple-darwin
cache-cross-binary: true cache-cross-binary: true
expect_file_re: "Mach-O.+arm64" expect-file-re: "Mach-O.+arm64"
expect_cross: "" expect-cross: ""
expect_stripped: "--expect-stripped" expect-stripped: "--expect-stripped"
can_execute: false can-execute: false
runs-on: ${{ matrix.platform.runs-on }} runs-on: ${{ matrix.platform.runs-on }}
steps: steps:
@ -233,7 +233,7 @@ jobs:
cache-cross-binary: ${{ matrix.platform.cache-cross-binary }} cache-cross-binary: ${{ matrix.platform.cache-cross-binary }}
target: ${{ matrix.platform.target }} target: ${{ matrix.platform.target }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
if: ${{ matrix.platform.can_execute }} if: ${{ matrix.platform.can-execute }}
- name: Run test command - name: Run test command
uses: ./ uses: ./
with: with:
@ -242,7 +242,7 @@ jobs:
cache-cross-binary: ${{ matrix.platform.cache-cross-binary }} cache-cross-binary: ${{ matrix.platform.cache-cross-binary }}
target: ${{ matrix.platform.target }} target: ${{ matrix.platform.target }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
if: ${{ matrix.platform.can_execute }} if: ${{ matrix.platform.can-execute }}
- name: Run test command with args - name: Run test command with args
uses: ./ uses: ./
with: with:
@ -252,7 +252,7 @@ jobs:
target: ${{ matrix.platform.target }} target: ${{ matrix.platform.target }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
args: "-- --ignored" args: "-- --ignored"
if: ${{ matrix.platform.can_execute }} if: ${{ matrix.platform.can-execute }}
- name: Run build command - name: Run build command
uses: ./ uses: ./
with: with:
@ -270,10 +270,10 @@ jobs:
cargo run --manifest-path ./run-tests/Cargo.toml -- \ cargo run --manifest-path ./run-tests/Cargo.toml -- \
--checkout-root "$PWD" \ --checkout-root "$PWD" \
--target "${{ matrix.platform.target }}" \ --target "${{ matrix.platform.target }}" \
--expect-file-re "${{ matrix.platform.expect_file_re }}" \ --expect-file-re "${{ matrix.platform.expect-file-re }}" \
--expect-cross-version "${{ matrix.platform.expect_cross_version }}" \ --expect-cross-version "${{ matrix.platform.expect-cross-version }}" \
${{ matrix.platform.expect_cross }} \ ${{ matrix.platform.expect-cross }} \
${{ matrix.platform.expect_stripped }} ${{ matrix.platform.expect-stripped }}
- name: Run build command for subdir - name: Run build command for subdir
uses: ./ uses: ./
with: with:
@ -292,10 +292,10 @@ jobs:
cargo run --manifest-path ./run-tests/Cargo.toml -- \ cargo run --manifest-path ./run-tests/Cargo.toml -- \
--checkout-root "$PWD" \ --checkout-root "$PWD" \
--target "${{ matrix.platform.target }}" \ --target "${{ matrix.platform.target }}" \
--expect-file-re "${{ matrix.platform.expect_file_re }}" \ --expect-file-re "${{ matrix.platform.expect-file-re }}" \
--expect-cross-version "${{ matrix.platform.expect_cross_version }}" \ --expect-cross-version "${{ matrix.platform.expect-cross-version }}" \
${{ matrix.platform.expect_cross }} \ ${{ matrix.platform.expect-cross }} \
${{ matrix.platform.expect_stripped }} \ ${{ matrix.platform.expect-stripped }} \
--is-subcrate --is-subcrate
- name: Run bench command - name: Run bench command
uses: ./ uses: ./
@ -306,7 +306,7 @@ jobs:
target: ${{ matrix.platform.target }} target: ${{ matrix.platform.target }}
working-directory: bench working-directory: bench
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
if: ${{ matrix.platform.can_execute }} if: ${{ matrix.platform.can-execute }}
test-validate-inputs: test-validate-inputs:
name: Test validate-inputs name: Test validate-inputs