Test musl and darwin targets
This commit is contained in:
parent
19f53f8993
commit
349465790a
1 changed files with 32 additions and 15 deletions
47
.github/workflows/oxipng.yml
vendored
47
.github/workflows/oxipng.yml
vendored
|
|
@ -13,27 +13,44 @@ jobs:
|
|||
strategy:
|
||||
matrix:
|
||||
target:
|
||||
- x86_64-unknown-linux-gnu
|
||||
- x86_64-pc-windows-msvc
|
||||
- x86_64-unknown-linux-gnu
|
||||
- x86_64-unknown-linux-musl
|
||||
- x86_64-pc-windows-msvc
|
||||
- x86_64-apple-darwin
|
||||
toolchain:
|
||||
# Minimum stable
|
||||
- "1.41.0"
|
||||
- stable
|
||||
- beta
|
||||
- nightly
|
||||
# Minimum stable
|
||||
- "1.41.0"
|
||||
- stable
|
||||
- beta
|
||||
- nightly
|
||||
include:
|
||||
- target: x86_64-unknown-linux-gnu
|
||||
os: ubuntu-latest
|
||||
- target: x86_64-pc-windows-msvc
|
||||
os: windows-latest
|
||||
- target: x86_64-unknown-linux-gnu
|
||||
os: ubuntu-latest
|
||||
- target: x86_64-unknown-linux-musl
|
||||
os: ubuntu-latest
|
||||
- target: x86_64-pc-windows-msvc
|
||||
os: windows-latest
|
||||
- target: x86_64-apple-darwin
|
||||
os: macOS-latest
|
||||
exclude:
|
||||
- target: x86_64-pc-windows-msvc
|
||||
rust: beta
|
||||
- target: x86_64-pc-windows-msvc
|
||||
rust: nightly
|
||||
- target: x86_64-pc-windows-msvc
|
||||
rust: beta
|
||||
- target: x86_64-pc-windows-msvc
|
||||
rust: nightly
|
||||
- target: x86_64-apple-darwin
|
||||
rust: beta
|
||||
- target: x86_64-apple-darwin
|
||||
rust: nightly
|
||||
- target: x86_64-unknown-linux-musl
|
||||
rust: beta
|
||||
- target: x86_64-unknown-linux-musl
|
||||
rust: nightly
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Install musl tools
|
||||
run: sudo apt-get install musl-tools
|
||||
if: "contains(matrix.target, 'musl')"
|
||||
- name: Install ${{ matrix.toolchain }}
|
||||
uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
|
|
|
|||
Loading…
Reference in a new issue