mirror of
https://github.com/vulkano-rs/vulkano.git
synced 2024-11-21 22:34:43 +00:00
github actions (#1437)
This commit is contained in:
parent
6f67a70fb1
commit
3a473699eb
45
.github/workflows/rust.yml
vendored
Normal file
45
.github/workflows/rust.yml
vendored
Normal file
@ -0,0 +1,45 @@
|
||||
name: Rust
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ master ]
|
||||
pull_request:
|
||||
branches: [ master ]
|
||||
|
||||
env:
|
||||
CARGO_TERM_COLOR: always
|
||||
|
||||
jobs:
|
||||
windows_stable:
|
||||
runs-on: windows-latest
|
||||
steps:
|
||||
- name: Ninja Install
|
||||
uses: crazy-max/ghaction-chocolatey@v1.3.1
|
||||
with:
|
||||
args: install ninja
|
||||
- name: Python3 Install
|
||||
uses: crazy-max/ghaction-chocolatey@v1.3.1
|
||||
with:
|
||||
args: install python3 --params "/InstallAllUsers"
|
||||
- uses: actions/checkout@v2
|
||||
- name: Build
|
||||
run: cargo build --verbose
|
||||
- name: Run tests
|
||||
run: cargo test --verbose
|
||||
linux_stable:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Build
|
||||
run: cargo build --verbose
|
||||
- name: Run tests
|
||||
run: cargo test --verbose
|
||||
macos_stable:
|
||||
runs-on: macos-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Build
|
||||
run: cargo build --verbose
|
||||
- name: Run tests
|
||||
run: cargo test --verbose
|
||||
|
Loading…
Reference in New Issue
Block a user