-
Notifications
You must be signed in to change notification settings - Fork 0
30 lines (29 loc) · 724 Bytes
/
ci.yml
File metadata and controls
30 lines (29 loc) · 724 Bytes
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
26
27
28
29
30
name: Actions
on:
push:
branches:
- main
pull_request:
jobs:
test:
name: Test on stable
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install Stable
run: rustup update stable
- name: cargo test
run: cargo test
- name: test rayon module
run: cargo test --features rayon
- name: cargo test async_std
run: cargo test --no-default-features --features async-std-experimental
bench:
name: Bench on nightly
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install Nightly
run: rustup update nightly
- name: cargo +nightly bench
run: cargo +nightly bench