Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
210 changes: 0 additions & 210 deletions .github/workflows/CI.yml

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: bitsplit
name: bitcanon

on:
push:
paths: ["tokenizers/bitsplit/**", "tokenizers/bitmap_gen/**", ".github/workflows/bitsplit.yml"]
paths: ["tokenizers/bitcanon/**", "tokenizers/bitmap_gen/**", ".github/workflows/bitcanon.yml"]
pull_request:
paths: ["tokenizers/bitsplit/**", "tokenizers/bitmap_gen/**", ".github/workflows/bitsplit.yml"]
paths: ["tokenizers/bitcanon/**", "tokenizers/bitmap_gen/**", ".github/workflows/bitcanon.yml"]

defaults:
run:
Expand All @@ -22,11 +22,11 @@ jobs:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: dtolnay/rust-toolchain@29eef336d9b2848a0b548edc03f92a220660cdb8 # stable
with: { components: rustfmt, clippy }
- run: cargo fmt -p bitsplit -p bitmap_gen -- --check
- run: cargo clippy -p bitsplit --all-targets -- -D warnings
- run: cargo test -p bitsplit # unit + parity gates (cl100k/deepseek/byte_level vs onig)
- run: cargo fmt -p bitcanon -p bitmap_gen -- --check
- run: cargo clippy -p bitcanon --all-targets -- -D warnings
- run: cargo test -p bitcanon # unit + parity gates (cl100k/deepseek/byte_level vs onig)
# committed classify tables must match the generator
- run: cargo run -p bitmap_gen && git diff --exit-code -- bitsplit/src/classify/atom_tables.rs
- run: cargo run -p bitmap_gen && git diff --exit-code -- bitcanon/src/classify/atom_tables.rs

# AVX-512 classify path — GitHub runners often lack AVX-512, so emulate it with Intel SDE and run the
# SAME byte-exact test binaries under it.
Expand All @@ -48,7 +48,7 @@ jobs:
echo "$PWD/${SDE_VER}" >> "$GITHUB_PATH"
- name: Run tests under SDE (-future = AVX-512)
run: |
cargo test -p bitsplit --no-run --message-format=json \
cargo test -p bitcanon --no-run --message-format=json \
| jq -r 'select(.profile.test == true) | .executable | select(. != null)' \
| while read -r bin; do echo "SDE: $bin"; sde64 -future -- "$bin"; done

Expand All @@ -66,4 +66,4 @@ jobs:
env:
RUSTFLAGS: "-C target-feature=+simd128"
CARGO_TARGET_WASM32_WASIP1_RUNNER: "wasmtime run --"
run: cargo test -p bitsplit --target wasm32-wasip1
run: cargo test -p bitcanon --target wasm32-wasip1
Loading
Loading