Update example matrix in README.md
This commit is contained in:
parent
e021eb0bd0
commit
ede19eddfb
33
README.md
33
README.md
@ -9,21 +9,38 @@ Here's a simplified example from the test and release workflow for
|
|||||||
```yaml
|
```yaml
|
||||||
jobs:
|
jobs:
|
||||||
release:
|
release:
|
||||||
name: Release - ${{ matrix.platform.release_for }}
|
name: Release - ${{ matrix.platform.os-name }}
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
platform:
|
platform:
|
||||||
- os_name: Windows-x86_64
|
- os-name: FreeBSD-x86_64
|
||||||
os: windows-latest
|
runs-on: ubuntu-20.04
|
||||||
target: x86_64-pc-windows-msvc
|
target: x86_64-unknown-freebsd
|
||||||
skip_tests: true
|
skip_tests: true
|
||||||
- os_name: macOS-x86_64
|
|
||||||
os: macOS-latest
|
- os-name: Linux-x86_64
|
||||||
|
runs-on: ubuntu-20.04
|
||||||
|
target: x86_64-unknown-linux-musl
|
||||||
|
|
||||||
|
- os-name: Linux-aarch64
|
||||||
|
runs-on: ubuntu-20.04
|
||||||
|
target: aarch64-unknown-linux-musl
|
||||||
|
|
||||||
|
- os-name: Linux-riscv64
|
||||||
|
runs-on: ubuntu-20.04
|
||||||
|
target: riscv64gc-unknown-linux-gnu
|
||||||
|
|
||||||
|
- os-name: Windows-x86_64
|
||||||
|
runs-on: windows-latest
|
||||||
|
target: x86_64-pc-windows-msvc
|
||||||
|
|
||||||
|
- os-name: macOS-x86_64
|
||||||
|
runs-on: macOS-latest
|
||||||
target: x86_64-apple-darwin
|
target: x86_64-apple-darwin
|
||||||
|
|
||||||
# more targets here ...
|
# more targets here ...
|
||||||
|
|
||||||
runs-on: ${{ matrix.platform.os }}
|
runs-on: ${{ matrix.platform.runs-on }}
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user