Run CI tests on windows, macos, and linux
type: testing
This commit is contained in:
parent
9f83661374
commit
074a3b3d42
24
.github/workflows/rust.yaml
vendored
24
.github/workflows/rust.yaml
vendored
|
@ -2,13 +2,31 @@ name: Rust
|
|||
|
||||
on: [push]
|
||||
|
||||
# - name: Prepare - macOS
|
||||
# if: matrix.os == 'macos-latest'
|
||||
# run: |
|
||||
# curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
|
||||
# - name: Update
|
||||
# run: rustup update stable
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
os:
|
||||
- macos-latest
|
||||
- ubuntu-latest
|
||||
- windows-latest
|
||||
runs-on: ${{matrix.os}}
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- name: Update
|
||||
run: rustup update stable
|
||||
- name: Install
|
||||
uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
toolchain: stable
|
||||
profile: minimal
|
||||
components: clippy
|
||||
override: true
|
||||
- name: Version
|
||||
run: |
|
||||
rustup --version
|
||||
|
|
Loading…
Reference in New Issue
Block a user