mirror of
https://github.com/a-b-street/abstreet.git
synced 2025-01-03 20:14:53 +03:00
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:
parent
dafcc50479
commit
b45bfc392c
30
game/.github/workflows/main.yml
vendored
Normal file
30
game/.github/workflows/main.yml
vendored
Normal 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
|
Loading…
Reference in New Issue
Block a user