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: |
|
2019-09-24 10:44:45 +02:00
|
|
|
cargo build --verbose --all-features
|
2019-09-21 14:19:21 +02:00
|
|
|
- name: Test
|
2019-09-23 17:06:32 +02:00
|
|
|
run: |
|
2019-09-24 10:44:45 +02:00
|
|
|
cargo test --verbose --all-features
|
|
|
|
|
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: |
|
2019-09-24 10:44:45 +02:00
|
|
|
cargo build --verbose --all-features
|
2019-09-21 14:19:21 +02:00
|
|
|
- name: Test
|
2019-09-23 17:06:32 +02:00
|
|
|
run: |
|
2019-09-24 10:44:45 +02:00
|
|
|
cargo test --verbose --all-features
|
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: |
|
2019-09-24 10:44:45 +02:00
|
|
|
cargo build --verbose --all-features
|
2019-09-21 14:19:21 +02:00
|
|
|
- name: Test
|
2019-09-23 17:06:32 +02:00
|
|
|
run: |
|
2019-09-24 10:44:45 +02:00
|
|
|
cargo test --verbose --all-features
|
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
|