Run CI tests on windows, macos, and linux

type: testing
This commit is contained in:
Casey Rodarmor 2020-01-04 20:05:24 -08:00
parent 9f83661374
commit 074a3b3d42
No known key found for this signature in database
GPG Key ID: 556186B153EC6FE0

View File

@ -2,13 +2,31 @@ name: Rust
on: [push] 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: jobs:
build: build:
runs-on: ubuntu-latest strategy:
matrix:
os:
- macos-latest
- ubuntu-latest
- windows-latest
runs-on: ${{matrix.os}}
steps: steps:
- uses: actions/checkout@v1 - uses: actions/checkout@v1
- name: Update - name: Install
run: rustup update stable uses: actions-rs/toolchain@v1
with:
toolchain: stable
profile: minimal
components: clippy
override: true
- name: Version - name: Version
run: | run: |
rustup --version rustup --version