Skip to content

Commit

Permalink
Added a CI step to verify autogenerated code match
Browse files Browse the repository at this point in the history
  • Loading branch information
ejmahler committed Mar 25, 2024
1 parent 409cdd3 commit 94b5cef
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/run_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,23 @@ jobs:
- name: Run cargo fmt
run: cargo fmt -- --check

autogeneration:
name: Check Autogenerated Code Match
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v3

- name: Install toolchain
uses: dtolnay/rust-toolchain@nightly

- name: Check SSE Prime Butterflies
run: cargo run --manifest-path ./tools/gen_simd_butterflies/Cargo.toml -- sse 7 11 13 17 19 23 29 31 --check src/sse/sse_prime_butterflies.rs
- name: Check NEON Prime Butterflies
run: cargo run --manifest-path ./tools/gen_simd_butterflies/Cargo.toml -- neon 7 11 13 17 19 23 29 31 --check src/neon/neon_prime_butterflies.rs
- name: Check Wasm SIMD Prime Butterflies
run: cargo run --manifest-path ./tools/gen_simd_butterflies/Cargo.toml -- wasm_simd 7 11 13 17 19 23 29 31 --check src/wasm_simd/wasm_simd_prime_butterflies.rs

check_no_features:
name: Check+Test no features
runs-on: ubuntu-latest
Expand Down

0 comments on commit 94b5cef

Please sign in to comment.