Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
FrancoGiachetta committed Oct 18, 2024
1 parent 96f6ff6 commit 8e1155f
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/starknet-blocks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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']
Expand Down

0 comments on commit 8e1155f

Please sign in to comment.