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:
|
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
|
2019-10-17 15:31:05 +02:00
|
|
|
- name: Rust requirements
|
|
|
|
run: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile=minimal
|
2019-09-21 14:19:21 +02:00
|
|
|
- name: Build
|
2019-09-23 17:06:32 +02:00
|
|
|
run: |
|
2019-10-17 15:31:05 +02:00
|
|
|
. ~/.cargo/env
|
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-10-17 15:31:05 +02:00
|
|
|
. ~/.cargo/env
|
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
|