Add test Rust build script

This commit is contained in:
James 2019-08-27 05:17:01 +00:00 committed by GitHub
parent 56cdaabbae
commit 3abc0a1b11
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

27
.github/workflows/test-build.yml vendored Normal file
View file

@ -0,0 +1,27 @@
name: Rust
on: [push, pull_request]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
steps:
- name: Install Rust
- uses: hecrj/setup-rust-action@master
with:
rust-version: stable
- name: Node/Yarn
- uses: actions/setup-node@v1
with:
node-version: '10.x'
- run: npm install -g yarn
- uses: actions/checkout@latest
- name: Build
run: cargo build --verbose