Skip to content

Commit

Permalink
Add GitHub test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiasgeihs committed Jan 24, 2024
1 parent a137060 commit 1214346
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
11 changes: 11 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 1214346

Please sign in to comment.