-
Notifications
You must be signed in to change notification settings - Fork 24
25 lines (23 loc) · 845 Bytes
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
name: CI
on:
push:
branches:
- master
pull_request: {}
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Build with async-std
run: cargo build --all --verbose
- name: Build with tokio
run: cargo build --all --features "runtime-tokio anyhow" --no-default-features --verbose
- name: Build with eyre
run: cargo build --all --features "runtime-tokio eyre" --no-default-features --verbose
- name: Run tests with async-std
run: cargo test --all --verbose
- name: Run tests with tokio
run: cargo test --all --verbose --features "runtime-tokio anyhow" --no-default-features --verbose
- name: Run tests with eyre
run: cargo test --all --verbose --features "runtime-tokio eyre" --no-default-features --verbose