-
Notifications
You must be signed in to change notification settings - Fork 228
37 lines (32 loc) · 1011 Bytes
/
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
name: Rust
on:
- push
- pull_request
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Rust
working-directory: pulldown-cmark
run: rustup default 1.70.0
- name: Cargo build
working-directory: pulldown-cmark
run: cargo build --verbose --all
- name: Cargo test
working-directory: pulldown-cmark
run: cargo test --verbose --all
- name: Cargo test with simd feature enabled
working-directory: pulldown-cmark
run: cargo test --all --features=simd,gen-tests
- name: Cargo test with serde feature enabled
working-directory: pulldown-cmark
run: cargo test --all --features=serde
- name: Cargo test without default features
working-directory: pulldown-cmark
run: cargo test --all --no-default-features
- name: Test for superlinear time regressions
working-directory: fuzzer
run: cargo run --release -- --regressions