Skip to content

Commit

Permalink
chore(ci): add conditional compliation to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
dufkan committed Oct 18, 2023
1 parent 6a6fbf7 commit c19b7df
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ env:
jobs:
tests:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
feature: ["gg18", "frost", "elgamal", "default"]

steps:
- uses: actions/checkout@v3
Expand All @@ -22,6 +26,6 @@ jobs:
with:
version: 3.x
- name: Build
run: cargo build --verbose
run: cargo build --no-default-features --features ${{ matrix.feature }} --verbose
- name: Run tests
run: cargo test --verbose
run: cargo test --no-default-features --features ${{ matrix.feature }} --verbose

0 comments on commit c19b7df

Please sign in to comment.