-
Notifications
You must be signed in to change notification settings - Fork 3
42 lines (37 loc) · 1.19 KB
/
rust.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
40
41
42
name: Rust
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build
run: cargo build
- name: Run tests
run: cargo test --release -- --nocapture
- name: Run simple example
run: cargo run --example simple
- name: Run multithreaded example
run: cargo run --example multithreaded
- name: Run lists example
run: cargo run --example lists
- name: Run typed example
run: cargo run --example typed
- name: Run perftest
run: cargo -Z unstable-options -C candy-perf run --release
- name: Run crasher
run: cargo -Z unstable-options -C candy-crasher run --release
- name: Run longliving
run: cargo -Z unstable-options -C candy-longliving run --release -- 10 40001 10000
- name: Run mini-candy
run: cargo -Z unstable-options -C mini-candy run
- name: Run test-list-collisions
run: cargo test -F whitebox_testing --test test_list_collisions -- --nocapture
- name: Run test-flush-agg
run: cargo test -F flush_aggregation --test test_flush_agg -- --nocapture