Skip to content

Commit 89c4656

Browse files
feat(blockifier_test_utils): update CI for cairo recompilation
1 parent bc0e7a1 commit 89c4656

1 file changed

Lines changed: 1 addition & 29 deletions

File tree

.github/workflows/blockifier_compiled_cairo.yml

Lines changed: 1 addition & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +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'
12+
- 'crates/blockifier_test_utils/**'
1513
- 'scripts/dependencies.sh'
1614
- 'scripts/requirements.txt'
1715

@@ -46,33 +44,7 @@ jobs:
4644
LD_LIBRARY_PATH: ${{ env.Python3_ROOT_DIR }}/bin
4745
run: echo "LD_LIBRARY_PATH=${LD_LIBRARY_PATH}" >> $GITHUB_ENV
4846

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-
7447
- name: Verify cairo contract recompilation (both cairo versions).
7548
run:
76-
cd sequencer &&
7749
pip install -r scripts/requirements.txt &&
7850
cargo test -p blockifier_test_utils --test feature_contracts_compatibility_test -- --include-ignored --nocapture

0 commit comments

Comments
 (0)