3
0
Fork 0
mirror of https://github.com/dtolnay/rust-toolchain.git synced 2024-11-25 17:49:31 +01:00

Merge pull request #18 from dtolnay/ci

Add a macOS and Windows job to CI matrix
This commit is contained in:
David Tolnay 2022-07-15 10:08:55 -07:00 committed by GitHub
commit e2d87b177d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -8,12 +8,21 @@ on:
jobs: jobs:
install: install:
name: Rust ${{matrix.rust}} name: Rust ${{matrix.rust}} on ${{matrix.name}}
runs-on: ubuntu-latest runs-on: ${{matrix.os}}-latest
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
name: [Linux]
os: [ubuntu]
rust: [nightly, beta, stable] rust: [nightly, beta, stable]
include:
- name: macOS
os: macos
rust: nightly
- name: Windows
os: windows
rust: nightly
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- uses: ./ - uses: ./