Skip to content

Commit

Permalink
chore(ci): break feature combo job for parallelization (#4131)
Browse files Browse the repository at this point in the history
  • Loading branch information
adi-yakovian-starkware authored Feb 13, 2025
1 parent 0e2e43d commit 302ac43
Showing 1 changed file with 16 additions and 6 deletions.
22 changes: 16 additions & 6 deletions .github/workflows/blockifier_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,19 +50,29 @@ concurrency:
cancel-in-progress: ${{ github.event_name == 'pull_request' }}

jobs:
feature-combo-builds:
test-without-features:
runs-on: starkware-ubuntu-latest-medium
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: ./.github/actions/bootstrap
# No features - build blockifier without features activated by dependencies in the workspace.
- run: cargo build -p blockifier
- run: cargo test -p blockifier
- run: cargo build -p blockifier

test-with-transaction-serde-feature:
runs-on: starkware-ubuntu-latest-medium
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/bootstrap
# transaction_serde is not activated by any workspace crate; test the build.
- run: cargo build -p blockifier --features transaction_serde
- run: cargo test -p blockifier --features transaction_serde
- run: cargo build -p blockifier --features transaction_serde

test-with-cairo-native-feature:
runs-on: starkware-ubuntu-latest-medium
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/bootstrap
# cairo_native is not activated by any workspace crate; test the build.
- run: cargo build -p blockifier --features cairo_native
- run: cargo test -p blockifier --features cairo_native
- run: cargo build -p blockifier --features cairo_native

0 comments on commit 302ac43

Please sign in to comment.