File tree Expand file tree Collapse file tree 1 file changed +39
-0
lines changed
Expand file tree Collapse file tree 1 file changed +39
-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 : >
17+ ${{ github.workflow }}-
18+ ${{ github.ref }}-
19+ ${{ github.event_name == 'pull_request' && 'PR' || github.sha }}
20+ cancel-in-progress : ${{ github.event_name == 'pull_request' }}
21+
22+ jobs :
23+ feature-combo-builds :
24+ runs-on : starkware-ubuntu-latest-medium
25+ steps :
26+ - uses : actions/checkout@v4
27+ with :
28+ fetch-depth : 0
29+ - uses : ./.github/actions/bootstrap
30+ - run : echo ${{ github.workflow }}-${{ github.ref }}-${{ github.event_name == 'pull_request' && 'PR' || github.sha }}
31+ # No features - build blockifier without features activated by dependencies in the workspace.
32+ - run : cargo build -p blockifier
33+ - run : cargo test -p blockifier
34+ # transaction_serde is not activated by any workspace crate; test the build.
35+ - run : cargo build -p blockifier --features transaction_serde
36+ - run : cargo test -p blockifier --features transaction_serde
37+ # cairo_native is not activated by any workspace crate; test the build.
38+ - run : cargo build -p blockifier --features cairo_native
39+ - run : cargo test -p blockifier --features cairo_native
You can’t perform that action at this time.
0 commit comments