-
Notifications
You must be signed in to change notification settings - Fork 2
39 lines (29 loc) · 951 Bytes
/
batcher.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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: batcher
on: [push, pull_request]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab
- name: Install Rust toolchain
run: rustup default nightly
- name: Install cargo-hack
run: cargo install cargo-hack
- name: All
working-directory: ./batcher
run: cargo test --all-features
- name: Docs
working-directory: ./batcher
run: cargo doc --all-features
- name: Build powerset
working-directory: ./batcher
run: cargo hack build --feature-powerset --lib
- name: Test powerset
working-directory: ./batcher
run: cargo hack test --feature-powerset --lib
- name: Minimal versions
working-directory: ./batcher
run: cargo hack test --feature-powerset --lib -Z minimal-versions