Add GitHub CI.

This commit is contained in:
Dimitri Sabadie 2019-09-21 14:19:21 +02:00
parent 7644177398
commit c818b4c810
No known key found for this signature in database
GPG Key ID: DE58C386A8DB2883

39
.github/workflows/ci.yaml vendored Normal file
View File

@ -0,0 +1,39 @@
name: CI
on: [push]
jobs:
build-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Build
run: cargo build --verbose
- name: Test
run: cargo test --verbose
build-windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v1
- name: Build
run: cargo build --verbose
- name: Test
run: cargo test --verbose
build-macosx:
runs-on: macosx-latest
steps:
- uses: actions/checkout@v1
- name: Build
run: cargo build --verbose
- name: Test
run: cargo test --verbose
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