Skip to content

Commit

Permalink
Rename os to runs-on in test matrix workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
autarch committed Dec 21, 2024
1 parent d5f1629 commit deaa613
Showing 1 changed file with 23 additions and 23 deletions.
46 changes: 23 additions & 23 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
matrix:
platform:
- platform_name: FreeBSD-x86_64
os: ubuntu-22.04
runs-on: ubuntu-22.04
target: x86_64-unknown-freebsd
cache-cross-binary: true
expect_file_re: "x86-64.+FreeBSD"
Expand All @@ -21,7 +21,7 @@ jobs:
can_execute: false

- platform_name: Linux-x86_64
os: ubuntu-22.04
runs-on: ubuntu-22.04
target: x86_64-unknown-linux-musl
cache-cross-binary: true
expect_file_re: "ELF.+x86-64"
Expand All @@ -30,7 +30,7 @@ jobs:
can_execute: true

- platform_name: Linux-aarch64
os: ubuntu-22.04
runs-on: ubuntu-22.04
target: aarch64-unknown-linux-musl
cache-cross-binary: true
expect_file_re: "aarch64"
Expand All @@ -39,7 +39,7 @@ jobs:
can_execute: true

- platform_name: Linux-aarch64 (no cache)
os: ubuntu-22.04
runs-on: ubuntu-22.04
target: aarch64-unknown-linux-musl
cache-cross-binary: false
expect_file_re: "aarch64"
Expand All @@ -48,7 +48,7 @@ jobs:
can_execute: true

- platform_name: Linux-aarch64 with cross v0.2.3
os: ubuntu-22.04
runs-on: ubuntu-22.04
target: aarch64-unknown-linux-musl
cross-version: "v0.2.3"
cache-cross-binary: true
Expand All @@ -59,7 +59,7 @@ jobs:
can_execute: true

- platform_name: Linux-aarch64 with cross v0.2.3 (no cache)
os: ubuntu-22.04
runs-on: ubuntu-22.04
target: aarch64-unknown-linux-musl
cross-version: "v0.2.3"
cache-cross-binary: false
Expand All @@ -70,7 +70,7 @@ jobs:
can_execute: true

- platform_name: Linux-aarch64 with cross 19be834
os: ubuntu-22.04
runs-on: ubuntu-22.04
target: aarch64-unknown-linux-musl
cross-version: "19be834"
cache-cross-binary: true
Expand All @@ -81,7 +81,7 @@ jobs:
can_execute: true

- platform_name: Linux-aarch64 with cross 19be834
os: ubuntu-22.04
runs-on: ubuntu-22.04
target: aarch64-unknown-linux-musl
cross-version: "19be834"
cache-cross-binary: false
Expand All @@ -92,7 +92,7 @@ jobs:
can_execute: true

- platform_name: Linux-arm
os: ubuntu-22.04
runs-on: ubuntu-22.04
target: arm-unknown-linux-musleabi
cache-cross-binary: true
expect_file_re: "32.+ARM"
Expand All @@ -101,7 +101,7 @@ jobs:
can_execute: true

- platform_name: Linux-i586
os: ubuntu-22.04
runs-on: ubuntu-22.04
target: i586-unknown-linux-musl
cache-cross-binary: true
expect_file_re: "ELF.+80386"
Expand All @@ -110,7 +110,7 @@ jobs:
can_execute: true

- platform_name: Linux-i686
os: ubuntu-22.04
runs-on: ubuntu-22.04
target: i686-unknown-linux-musl
cache-cross-binary: true
expect_file_re: "ELF.+80386"
Expand All @@ -119,7 +119,7 @@ jobs:
can_execute: true

- platform_name: Linux-powerpc
os: ubuntu-22.04
runs-on: ubuntu-22.04
target: powerpc-unknown-linux-gnu
cache-cross-binary: true
expect_file_re: "32.+PowerPC"
Expand All @@ -128,7 +128,7 @@ jobs:
can_execute: true

- platform_name: Linux-powerpc64
os: ubuntu-22.04
runs-on: ubuntu-22.04
target: powerpc64-unknown-linux-gnu
cache-cross-binary: true
expect_file_re: "64.+PowerPC"
Expand All @@ -137,7 +137,7 @@ jobs:
can_execute: true

- platform_name: Linux-powerpc64le
os: ubuntu-22.04
runs-on: ubuntu-22.04
target: powerpc64le-unknown-linux-gnu
cache-cross-binary: true
expect_file_re: "64.+PowerPC"
Expand All @@ -146,7 +146,7 @@ jobs:
can_execute: true

- platform_name: Linux-riscv64
os: ubuntu-22.04
runs-on: ubuntu-22.04
target: riscv64gc-unknown-linux-gnu
cache-cross-binary: true
expect_file_re: "64.+RISC-V"
Expand All @@ -155,7 +155,7 @@ jobs:
can_execute: true

- platform_name: Linux-s390x
os: ubuntu-22.04
runs-on: ubuntu-22.04
target: s390x-unknown-linux-gnu
cache-cross-binary: true
expect_file_re: "64.+S/390"
Expand All @@ -164,7 +164,7 @@ jobs:
can_execute: true

- platform_name: NetBSD-x86_64
os: ubuntu-22.04
runs-on: ubuntu-22.04
target: x86_64-unknown-netbsd
cache-cross-binary: true
expect_file_re: "x86-64.+NetBSD"
Expand All @@ -173,7 +173,7 @@ jobs:
can_execute: false

- platform_name: Windows-aarch64
os: windows-latest
runs-on: windows-latest
target: aarch64-pc-windows-msvc
cache-cross-binary: true
expect_file_re: "Aarch64.+Windows"
Expand All @@ -182,7 +182,7 @@ jobs:
can_execute: false

- platform_name: Windows-i686
os: windows-latest
runs-on: windows-latest
target: i686-pc-windows-msvc
cache-cross-binary: true
expect_file_re: "80386.+Windows"
Expand All @@ -191,15 +191,15 @@ jobs:
can_execute: true

- platform_name: Windows-x86_64
os: windows-latest
runs-on: windows-latest
target: x86_64-pc-windows-msvc
cache-cross-binary: true
expect_file_re: "x86-64.+Windows"
expect_stripped: "--expect-stripped"
can_execute: true

- platform_name: macOS-x86_64
os: macOS-latest
runs-on: macOS-latest
target: x86_64-apple-darwin
cache-cross-binary: true
expect_file_re: "Mach-O.+x86_64"
Expand All @@ -208,15 +208,15 @@ jobs:
can_execute: true

- platform_name: macOS-aarch64
os: macOS-latest
runs-on: macOS-latest
target: aarch64-apple-darwin
cache-cross-binary: true
expect_file_re: "Mach-O.+arm64"
expect_cross: ""
expect_stripped: "--expect-stripped"
can_execute: false

runs-on: ${{ matrix.platform.os }}
runs-on: ${{ matrix.platform.runs-on }}
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down

0 comments on commit deaa613

Please sign in to comment.