-
Notifications
You must be signed in to change notification settings - Fork 7
52 lines (39 loc) · 1.16 KB
/
Copy pathci.yml
File metadata and controls
52 lines (39 loc) · 1.16 KB
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
40
41
42
43
44
45
46
47
48
49
50
51
52
name: CI
on:
pull_request:
types: [opened, ready_for_review, synchronize]
push:
branches:
- main
jobs:
test:
strategy:
matrix:
feature_flags: ["no-default-features", "all-features"]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: fmt
run: cargo fmt --all -- --check
- name: build
run: cargo build --verbose
- name: test
run: cargo test --verbose
- name: build benchmarks
run: cargo test --benches --no-run --verbose
- name: clippy
run: cargo clippy
- name: docs
run: cargo doc --document-private-items --no-deps
- name: fmt rig_versioned_memory example
run: cargo fmt --all -- --check
working-directory: examples/rig_versioned_memory
- name: build rig_versioned_memory example
run: cargo build --verbose
working-directory: examples/rig_versioned_memory
- name: test rig_versioned_memory example
run: cargo test --verbose
working-directory: examples/rig_versioned_memory
- name: clippy rig_versioned_memory example
run: cargo clippy
working-directory: examples/rig_versioned_memory