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