splines/.github/workflows/ci.yaml

39 lines
868 B
YAML
Raw Normal View History

2019-09-21 14:19:21 +02:00
name: CI
2020-03-16 16:54:43 +01:00
on: [push, pull_request]
2019-09-21 14:19:21 +02:00
jobs:
build-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Test
2022-03-22 16:15:39 +01:00
run: cargo test --verbose --all-features
2019-09-24 10:44:45 +02:00
2019-09-21 14:19:21 +02:00
build-windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v1
- name: Test
2022-03-22 16:15:39 +01:00
run: cargo test --verbose --all-features
2019-09-21 14:19:21 +02:00
build-macosx:
2019-10-17 15:31:05 +02:00
runs-on: macOS-latest
2019-09-21 14:19:21 +02:00
steps:
- uses: actions/checkout@v1
- name: Test
2022-03-22 16:15:39 +01:00
run: cargo test --verbose --all-features
2019-09-21 14:19:21 +02:00
2020-03-16 16:44:18 +01:00
quality:
2019-09-21 14:19:21 +02:00
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
2020-03-16 16:44:18 +01:00
- name: Install dependencies
run: |
cargo install --force cargo-sync-readme
rustup component add rustfmt
- name: cargo sync-readme
run: |
cargo sync-readme -c
- name: rustfmt
run: cargo fmt -- --check