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]
|
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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user