aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/ci.yml25
1 files changed, 23 insertions, 2 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index db5bc23..589ccbe 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -26,7 +26,7 @@ jobs:
- name: Run Clippy
run: cargo clippy --all-targets --all-features
- fuzz:
+ fuzz_parser:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
@@ -42,7 +42,28 @@ jobs:
- name: Build with nightly
run: cargo build --verbose
- - name: Fuzzy testing
+ - name: Fuzzy test the parser
run: |
cd lib/xixanta
cargo +nightly fuzz run fuzz_target_1 -- -max_total_time=180
+
+ fuzz_assembler:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v4
+
+ - name: Update rust toolchain to nightly
+ run: |
+ rustup update nightly
+ rustup default nightly
+
+ - name: Install cargo fuzz
+ run: cargo install cargo-fuzz
+
+ - name: Build with nightly
+ run: cargo build --verbose
+
+ - name: Fuzzy test the assembler
+ run: |
+ cd lib/xixanta
+ cargo +nightly fuzz run fuzz_target_2 -- -max_total_time=180