-
Notifications
You must be signed in to change notification settings - Fork 144
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ffc0fec
commit 71c3846
Showing
2 changed files
with
76 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
name: ci | ||
on: | ||
pull_request: | ||
push: | ||
branches: | ||
- master | ||
schedule: | ||
- cron: '00 01 * * *' | ||
jobs: | ||
test: | ||
name: test | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
build: | ||
- pinned | ||
- stable | ||
- beta | ||
- nightly | ||
- macos | ||
- win-msvc | ||
- win-gnu | ||
include: | ||
- build: pinned | ||
os: ubuntu-18.04 | ||
rust: 1.34.0 | ||
- build: stable | ||
os: ubuntu-18.04 | ||
rust: stable | ||
- build: beta | ||
os: ubuntu-18.04 | ||
rust: beta | ||
- build: nightly | ||
os: ubuntu-18.04 | ||
rust: nightly | ||
- build: macos | ||
os: macos-latest | ||
rust: stable | ||
- build: win-msvc | ||
os: windows-2019 | ||
rust: stable | ||
- build: win-gnu | ||
os: windows-2019 | ||
rust: stable-x86_64-gnu | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v1 | ||
with: | ||
fetch-depth: 1 | ||
- name: Install Rust | ||
uses: hecrj/setup-rust-action@v1 | ||
with: | ||
rust-version: ${{ matrix.rust }} | ||
- run: cargo build --verbose | ||
- run: cargo doc --verbose | ||
- run: cargo test --verbose | ||
- run: cargo build --verbose --manifest-path quickcheck_macros/Cargo.toml | ||
- run: cargo test --verbose --manifest-path quickcheck_macros/Cargo.toml | ||
|
||
rustfmt: | ||
name: rustfmt | ||
runs-on: ubuntu-18.04 | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v1 | ||
with: | ||
fetch-depth: 1 | ||
- name: Install Rust | ||
uses: hecrj/setup-rust-action@v1 | ||
with: | ||
rust-version: stable | ||
- name: Install rustfmt | ||
run: rustup component add rustfmt | ||
- name: Check formatting | ||
run: | | ||
cargo fmt --all -- --check |
This file was deleted.
Oops, something went wrong.