|
9 | 9 | paths: |
10 | 10 | - '.github/workflows/blockifier_compiled_cairo.yml' |
11 | 11 | - '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/**' |
15 | 13 | - 'scripts/dependencies.sh' |
16 | 14 | - 'scripts/requirements.txt' |
17 | 15 |
|
|
46 | 44 | LD_LIBRARY_PATH: ${{ env.Python3_ROOT_DIR }}/bin |
47 | 45 | run: echo "LD_LIBRARY_PATH=${LD_LIBRARY_PATH}" >> $GITHUB_ENV |
48 | 46 |
|
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 | | - |
74 | 47 | - name: Verify cairo contract recompilation (both cairo versions). |
75 | 48 | run: |
76 | | - cd sequencer && |
77 | 49 | pip install -r scripts/requirements.txt && |
78 | 50 | cargo test -p blockifier_test_utils --test feature_contracts_compatibility_test -- --include-ignored --nocapture |
0 commit comments