try out a github workflow for building particularly on mac. forked from https://github.com/timfish/usb-enumeration/blob/master/.github/workflows/main.yml

This commit is contained in:
Dustin Carlino 2019-12-23 11:51:22 -08:00
parent dafcc50479
commit b45bfc392c

30
game/.github/workflows/main.yml vendored Normal file
View File

@ -0,0 +1,30 @@
name: Build
on: [push]
jobs:
build-windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@master
- uses: hecrj/setup-rust-action@v1
with:
rust-version: [1.40]
- name: Run build
run: cargo build --release --bin game
build-macos:
runs-on: macos-latest
steps:
- uses: actions/checkout@master
- uses: hecrj/setup-rust-action@v1
with:
rust-version: [1.40]
- name: Run build
run: cargo build --release --bin game
build-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: hecrj/setup-rust-action@v1
with:
rust-version: [1.40]
- name: Run build
run: cargo build --release --bin game