diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml new file mode 100644 index 0000000..1b34ec4 --- /dev/null +++ b/.github/workflows/test.yaml @@ -0,0 +1,11 @@ +name: Test +on: [pull_request] + +jobs: + test: + name: cargo test + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: dtolnay/rust-toolchain@stable + - run: cargo test --release --features "tfhe/x86_64-unix" -- --test-threads=1 diff --git a/Cargo.toml b/Cargo.toml index a61c9b5..930e05c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,7 +6,7 @@ edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -tfhe = { version = "0.4.1", features = [ "boolean", "shortint", "integer", "aarch64-unix" ] } +tfhe = { version = "0.4.1", features = [ "boolean", "shortint", "integer" ] } serde = { version = "1.0", features = ["derive"] } rayon = "1.8" env_logger = "0.10.0"