Skip to content

Commit

Permalink
slh-dsa: CI configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
tarcieri committed Apr 15, 2024
1 parent eaa0729 commit d722139
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 23 deletions.
17 changes: 0 additions & 17 deletions .github/workflows/lms.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,23 +17,6 @@ env:
RUSTFLAGS: "-Dwarnings"

jobs:
clippy:
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- 1.73.0 # MSRV
- stable
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.rust }}
components: clippy
- run: cargo clippy --no-default-features
- run: cargo clippy
- run: cargo clippy --all-features

test:
runs-on: ubuntu-latest
strategy:
Expand Down
35 changes: 35 additions & 0 deletions .github/workflows/slh-dsa.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: slh-dsa
on:
pull_request:
paths:
- ".github/workflows/slh-dsa.yml"
- "slh-dsa/**"
- "Cargo.*"
push:
branches: master

defaults:
run:
working-directory: slh-dsa

env:
CARGO_INCREMENTAL: 0
RUSTFLAGS: "-Dwarnings"

jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- 1.75.0 # MSRV
- stable
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.rust }}
- run: cargo check --all-features
- run: cargo test --no-default-features
- run: cargo test
- run: cargo test --all-features
13 changes: 7 additions & 6 deletions slh-dsa/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,22 @@
name = "slh-dsa"
version = "0.0.1"
edition = "2021"
rust-version = "1.75"

[dependencies]
hybrid-array = {version = "0.2.0-rc.8", features = ["extra-sizes"]}
typenum = {version = "1.17.0", features = ["const-generics"]}
hybrid-array = { version = "0.2.0-rc.8", features = ["extra-sizes"] }
typenum = { version = "1.17.0", features = ["const-generics"] }
sha3 = "0.10.8"
zerocopy = "0.7.32"
zerocopy-derive = "0.7.32"
rand_core = {version = "0.6.4"}
signature = {version = "2.3.0-pre.0", features = ["rand_core"]}
rand_core = { version = "0.6.4" }
signature = { version = "2.3.0-pre.0", features = ["rand_core"] }
hmac = "0.12.1"
sha2 = "0.10.8"
digest = "0.10.7"

[dev-dependencies]
hex-literal = "0.4.1"
hex-literal = "0.4.1"
hex = "0.4.1"
num-bigint = "0.4.4"
quickcheck = "1"
Expand All @@ -39,4 +40,4 @@ harness = false

[features]
alloc = []
default = ["alloc"]
default = ["alloc"]

0 comments on commit d722139

Please sign in to comment.