2020-11-10 16:29:09 +00:00
|
|
|
name: Rust
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
2022-09-24 08:14:53 +00:00
|
|
|
paths-ignore:
|
|
|
|
- '**.md'
|
2020-11-10 16:29:09 +00:00
|
|
|
pull_request:
|
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:
|
2023-01-22 07:47:27 +00:00
|
|
|
# runs-on: windows-latest
|
|
|
|
runs-on: [self-hosted, Windows]
|
2020-11-10 16:29:09 +00:00
|
|
|
steps:
|
2023-01-22 07:47:27 +00:00
|
|
|
# - name: Ninja Install
|
|
|
|
# run: pip install ninja
|
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
|