diff --git a/.github/workflows/starknet-blocks.yml b/.github/workflows/starknet-blocks.yml index 8b8320a88..fd6ffd9cd 100644 --- a/.github/workflows/starknet-blocks.yml +++ b/.github/workflows/starknet-blocks.yml @@ -26,7 +26,7 @@ jobs: - uses: actions/checkout@v4 - name: Check and free hdd space left - if: ${{ matrix.runner == native }} + if: ${{ matrix.runner == "native" }} run: | echo "Listing 20 largest packages" dpkg-query -Wf '${Installed-Size}\t${Package}\n' | sort -n | tail -n 20 @@ -51,24 +51,24 @@ jobs: - uses: Swatinem/rust-cache@v2 - name: add llvm deb repository - if: ${{ matrix.runner == native }} + if: ${{ matrix.runner == "native" }} uses: myci-actions/add-deb-repo@11 with: repo: deb http://apt.llvm.org/jammy/ llvm-toolchain-jammy-19 main repo-name: llvm-repo keys-asc: https://apt.llvm.org/llvm-snapshot.gpg.key - name: Install LLVM - if: ${{ matrix.runner == native }} + if: ${{ matrix.runner == "native" }} run: sudo apt-get install llvm-19 llvm-19-dev llvm-19-runtime clang-19 clang-tools-19 lld-19 libpolly-19-dev libmlir-19-dev mlir-19-tools - name: Install Cairo Native deps - if: ${{ matrix.runner == native }} + if: ${{ matrix.runner == "native" }} run: make deps - name: Build Cairo Native project - if: ${{ matrix.runner == native }} + if: ${{ matrix.runner == "native" }} run: make build - name: Build runtime subproject - if: ${{ matrix.runner == native }} + if: ${{ matrix.runner == "native" }} run: | make runtime-ci export CAIRO_NATIVE_RUNTIME_LIBRARY=libcairo_native_runtime.a @@ -83,7 +83,7 @@ jobs: run: make deps - name: Patch Cairo Native's version - if: ${{ matrix.runner == native }} + if: ${{ matrix.runner == "native" }} run: | echo \ "\n[patch.'https://github.com/lambdaclass/cairo_native']