Skip to content

Commit 8a8c6ed

Browse files
feat(blockifier_test_utils): update CI for cairo recompilation
1 parent a80d138 commit 8a8c6ed

1 file changed

Lines changed: 1 addition & 30 deletions

File tree

.github/workflows/blockifier_compiled_cairo.yml

Lines changed: 1 addition & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,7 @@ on:
99
paths:
1010
- '.github/workflows/blockifier_compiled_cairo.yml'
1111
- 'crates/apollo_sierra_multicompile/src/constants.rs' # Contains the compiler version.
12-
- 'crates/blockifier_test_utils/cairo_compile.rs'
13-
- 'crates/blockifier_test_utils/resources/feature_contracts/**'
14-
- 'crates/blockifier_test_utils/tests/feature_contracts_compatibility_test.rs'
15-
- 'crates/blockifier_test_utils/tests/requirements.txt'
12+
- 'crates/blockifier_test_utils/**'
1613
- 'scripts/dependencies.sh'
1714

1815
env:
@@ -46,33 +43,7 @@ jobs:
4643
LD_LIBRARY_PATH: ${{ env.Python3_ROOT_DIR }}/bin
4744
run: echo "LD_LIBRARY_PATH=${LD_LIBRARY_PATH}" >> $GITHUB_ENV
4845

49-
# Checkout sequencer into a dedicated directory - technical requirement in order to be able to checkout `cairo` in a sibling directory.
50-
- name: checkout sequencer into `sequencer` directory.
51-
uses: actions/checkout@v4
52-
with:
53-
repository: 'starkware-libs/sequencer'
54-
path: 'sequencer'
55-
56-
- name: checkout cairo1 repo in order to compile cairo1 contracts.
57-
uses: actions/checkout@v4
58-
with:
59-
repository: 'starkware-libs/cairo'
60-
fetch-depth: 0
61-
fetch-tags: true
62-
path: 'cairo'
63-
64-
- name: install toolchain for legacy contract compilation (old compiler tag)
65-
uses: actions-rs/toolchain@master
66-
with:
67-
toolchain: nightly-2023-07-05
68-
69-
- name: install toolchain for cairo steps test contract compilation (old compiler tag)
70-
uses: actions-rs/toolchain@master
71-
with:
72-
toolchain: nightly-2024-04-29
73-
7446
- name: Verify cairo contract recompilation (both cairo versions).
7547
run:
76-
cd sequencer &&
7748
pip install -r crates/blockifier_test_utils/tests/requirements.txt &&
7849
cargo test -p blockifier_test_utils --test feature_contracts_compatibility_test -- --include-ignored --nocapture

0 commit comments

Comments
 (0)