1
0
Fork 0
mirror of https://github.com/BLAKE3-team/BLAKE3 synced 2024-05-31 00:06:05 +02:00

add the Windows GNU toolchain to CI

This commit is contained in:
Jack O'Connor 2020-02-07 13:46:42 -05:00
parent ca62c4724d
commit c0a43e5fb8

View File

@ -4,19 +4,25 @@ on: [push, pull_request]
jobs:
cargo_tests:
name: ${{ matrix.rust_version }} ${{ matrix.os }}
runs-on: ${{ matrix.os }}
name: ${{ matrix.target.name }} ${{ matrix.channel }}
runs-on: ${{ matrix.target.os }}
strategy:
fail-fast: false
matrix:
rust_version: [stable, beta, nightly]
os: [ubuntu-latest, windows-latest, macOS-latest]
target: [
{ "os": "ubuntu-latest", "toolchain": "x86_64-unknown-linux-gnu", "name": "Linux GNU" },
{ "os": "macOS-latest", "toolchain": "x86_64-apple-darwin", "name": "macOS" },
{ "os": "windows-latest", "toolchain": "x86_64-pc-windows-msvc", "name": "Windows MSVC" },
{ "os": "windows-latest", "toolchain": "x86_64-pc-windows-gnu", "name": "Windows GNU" }
]
channel: [stable, beta, nightly]
steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.rust_version }}
toolchain: ${{ format('{0}-{1}', matrix.channel, matrix.target.toolchain) }}
profile: minimal
override: true
# Default tests.
- run: cargo test