Skip to content

Commit 748a7a0

Browse files
committed
Initial commit
0 parents  commit 748a7a0

File tree

12 files changed

+1230
-0
lines changed

12 files changed

+1230
-0
lines changed

.github/workflows/main.yml

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
name: CI
2+
on:
3+
push:
4+
branches: [main]
5+
pull_request:
6+
branches: [main]
7+
defaults:
8+
run:
9+
shell: bash
10+
11+
jobs:
12+
rustfmt:
13+
name: Rustfmt
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@v3
17+
- run: rustup update stable && rustup default stable
18+
- run: rustup component add rustfmt
19+
- run: cargo fmt --all -- --check
20+
21+
fuzz:
22+
name: Fuzz
23+
runs-on: ubuntu-latest
24+
steps:
25+
- uses: actions/checkout@v3
26+
- run: rustup update nightly && rustup default nightly
27+
- run: cargo install cargo-fuzz --vers "^0.11"
28+
- run: cargo fuzz run fuzz_target_1 -- -max_total_time=5
29+
30+
test:
31+
name: Test
32+
runs-on: ${{ matrix.os }}
33+
strategy:
34+
matrix:
35+
include:
36+
- os: ubuntu-latest
37+
- os: macos-latest
38+
- os: windows-latest
39+
steps:
40+
- uses: actions/checkout@v3
41+
- run: rustup update stable && rustup default stable
42+
- run: cargo test
43+
- run: cargo test --release
44+
- run: cargo test --benches --release
45+

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/target

0 commit comments

Comments
 (0)