Skip to content

Commit 647c1bb

Browse files
fix(ci): test
1 parent 9821436 commit 647c1bb

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
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+
# No features - build blockifier without features activated by dependencies in the workspace.
27+
- run: cargo build -p blockifier
28+
- run: cargo test -p blockifier
29+
# transaction_serde is not activated by any workspace crate; test the build.
30+
- run: cargo build -p blockifier --features transaction_serde
31+
- run: cargo test -p blockifier --features transaction_serde
32+
# cairo_native is not activated by any workspace crate; test the build.
33+
- run: cargo build -p blockifier --features cairo_native
34+
- run: cargo test -p blockifier --features cairo_native

0 commit comments

Comments
 (0)