2019-09-21 14:19:21 +02:00
|
|
|
name: CI
|
|
|
|
on: [push]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build-linux:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v1
|
|
|
|
- name: Build
|
2019-09-23 17:06:32 +02:00
|
|
|
run: |
|
|
|
|
cargo build --verbose
|
|
|
|
cargo build --verbose --features bezier
|
2019-09-21 14:19:21 +02:00
|
|
|
- name: Test
|
2019-09-23 17:06:32 +02:00
|
|
|
run: |
|
|
|
|
cargo test --verbose
|
|
|
|
cargo test --verbose --features bezier
|
2019-09-21 14:19:21 +02:00
|
|
|
|
|
|
|
build-windows:
|
|
|
|
runs-on: windows-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v1
|
|
|
|
- name: Build
|
2019-09-23 17:06:32 +02:00
|
|
|
run: |
|
|
|
|
cargo build --verbose
|
|
|
|
cargo build --verbose --features bezier
|
2019-09-21 14:19:21 +02:00
|
|
|
- name: Test
|
2019-09-23 17:06:32 +02:00
|
|
|
run: |
|
|
|
|
cargo test --verbose
|
|
|
|
cargo test --verbose --features bezier
|
2019-09-21 14:19:21 +02:00
|
|
|
|
|
|
|
build-macosx:
|
|
|
|
runs-on: macosx-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v1
|
|
|
|
- name: Build
|
2019-09-23 17:06:32 +02:00
|
|
|
run: |
|
|
|
|
cargo build --verbose
|
|
|
|
cargo build --verbose --features bezier
|
2019-09-21 14:19:21 +02:00
|
|
|
- name: Test
|
2019-09-23 17:06:32 +02:00
|
|
|
run: |
|
|
|
|
cargo test --verbose
|
|
|
|
cargo test --verbose --features bezier
|
2019-09-21 14:19:21 +02:00
|
|
|
|
|
|
|
check-readme:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v1
|
|
|
|
- name: Install cargo-sync-readme
|
|
|
|
run: cargo install --force cargo-sync-readme
|
|
|
|
- name: Check
|
|
|
|
run: cargo sync-readme -c
|