File tree Expand file tree Collapse file tree 1 file changed +36
-0
lines changed
Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Blockifier-CI-2
2+
3+ # TODO(Dori, 15/8/2024): Split this job, so the feature-less build doesn't run on every push to main
4+ # branches.
5+ on :
6+ push :
7+ pull_request :
8+
9+
10+ env :
11+ RUSTFLAGS : " -D warnings -C link-arg=-fuse-ld=lld"
12+
13+ # On PR events, cancel existing CI runs on this same PR for this workflow.
14+ # Also, create different concurrency groups for different pushed commits, on push events.
15+ concurrency :
16+ group : ${{ github.workflow }}-${{ github.ref }}-${{ github.event_name == 'pull_request' && 'PR' || github.sha }}
17+ cancel-in-progress : ${{ github.event_name == 'pull_request' }}
18+
19+ jobs :
20+ feature-combo-builds :
21+ runs-on : starkware-ubuntu-latest-medium
22+ steps :
23+ - uses : actions/checkout@v4
24+ with :
25+ fetch-depth : 0
26+ - uses : ./.github/actions/bootstrap
27+ - run : echo ${{ github.workflow }}-${{ github.ref }}-${{ github.event_name == 'pull_request' && 'PR' || github.sha }}
28+ # No features - build blockifier without features activated by dependencies in the workspace.
29+ - run : cargo build -p blockifier
30+ - run : cargo test -p blockifier
31+ # transaction_serde is not activated by any workspace crate; test the build.
32+ - run : cargo build -p blockifier --features transaction_serde
33+ - run : cargo test -p blockifier --features transaction_serde
34+ # cairo_native is not activated by any workspace crate; test the build.
35+ - run : cargo build -p blockifier --features cairo_native
36+ - run : cargo test -p blockifier --features cairo_native
You can’t perform that action at this time.
0 commit comments