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