Test musl and darwin targets

This commit is contained in:
Sebastian Wiesner 2020-06-01 13:04:52 +02:00
parent 19f53f8993
commit 349465790a

View file

@ -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: