Skip to content

Commit

Permalink
Update workflow
Browse files Browse the repository at this point in the history
Signed-off-by: Denis Varlakov <[email protected]>
  • Loading branch information
survived committed Nov 25, 2024
1 parent 9bd5655 commit 7ccea27
Showing 1 changed file with 21 additions and 4 deletions.
25 changes: 21 additions & 4 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,24 +9,41 @@ env:
CARGO_NET_GIT_FETCH_WITH_CLI: true

jobs:
build-no-features:
check-no-features:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: Swatinem/rust-cache@v2
with:
cache-on-failure: "true"
- name: Build
run: cargo build
build-and-test-all-features:
run: cargo check --no-default-features
check:
runs-on: ubuntu-latest
strategy:
matrix:
features:
- slip10
- slip10,curve-secp256k1
- slip10,curve-secp256r1
- edwards
- stark
steps:
- uses: actions/checkout@v3
- uses: Swatinem/rust-cache@v2
with:
cache-on-failure: "true"
- name: Build
run: cargo build --all-features
run: cargo check --features ${{ matrix.features }}
check-and-test-all-features:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: Swatinem/rust-cache@v2
with:
cache-on-failure: "true"
- name: Build
run: cargo check --all-features
- name: Run tests
run: cargo test --all-features --lib --tests
doctest:
Expand Down

0 comments on commit 7ccea27

Please sign in to comment.