aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/ci.yml
blob: 818c8bd71761253ebbe860e148851f605bae95ac (plain)
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
name: CI

on:
  push:
    branches: [main]
  pull_request:
    branches: [main]

env:
  RUSTFLAGS: "-Dwarnings"

jobs:
  test:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4

      - name: Run tests
        run: cargo test

      - name: Run Clippy
        run: cargo clippy --all-targets --all-features

      - name: Fuzzy testing
        run: |
          cd lib/xixanta
          cargo +nightly fuzz run fuzz_target_1 -- -max_total_time=180