vulkano/.github/workflows/rust.yml

49 lines
1.0 KiB
YAML
Raw Normal View History

2020-11-10 16:29:09 +00:00
name: Rust
on:
push:
branches: [ master ]
2022-09-24 08:14:53 +00:00
paths-ignore:
- '**.md'
2020-11-10 16:29:09 +00:00
pull_request:
branches: [ master ]
2022-09-24 08:14:53 +00:00
paths-ignore:
- '**.md'
2020-11-10 16:29:09 +00:00
env:
CARGO_TERM_COLOR: always
jobs:
windows_stable:
runs-on: windows-latest
steps:
- name: Ninja Install
2022-09-24 08:14:53 +00:00
uses: crazy-max/ghaction-chocolatey@v2
2020-11-10 16:29:09 +00:00
with:
args: install ninja
- name: Python3 Install
2022-09-24 08:14:53 +00:00
uses: crazy-max/ghaction-chocolatey@v2
2020-11-10 16:29:09 +00:00
with:
args: install python3 --params "/InstallAllUsers"
2022-09-24 08:14:53 +00:00
- uses: actions/checkout@v3
2020-11-10 16:29:09 +00:00
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose
linux_stable:
runs-on: ubuntu-latest
steps:
2022-09-24 08:14:53 +00:00
- uses: actions/checkout@v3
2020-11-10 16:29:09 +00:00
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose
macos_stable:
runs-on: macos-latest
steps:
2022-09-24 08:14:53 +00:00
- uses: actions/checkout@v3
2020-11-10 16:29:09 +00:00
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose