From 182550bd25849a6eb76911f10b05f94b5cefb145 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juli=C3=A1n=20Gonz=C3=A1lez=20Calder=C3=B3n?= Date: Fri, 25 Oct 2024 18:52:13 -0300 Subject: [PATCH] debug --- .github/workflows/daily.yml | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/.github/workflows/daily.yml b/.github/workflows/daily.yml index ee264a748..df1e8d85e 100644 --- a/.github/workflows/daily.yml +++ b/.github/workflows/daily.yml @@ -37,18 +37,26 @@ jobs: fail-fast: false steps: + - run: ls + - run: pwd + # We checkout replay first, as it's the main repository for this workflow - name: Checkout Replay uses: actions/checkout@v4 with: repository: lambdaclass/starknet-replay - path: . + path: starknet-replay # We need native for building the runtime, so we checkout it to a subdirectory - name: Checkout Native uses: actions/checkout@v4 with: path: cairo_native + + - run: ls + - run: pwd + + # Install dependencies - uses: ./cairo_native/.github/actions/install-linux-deps - name: Setup rust env @@ -58,14 +66,17 @@ jobs: - name: Build Cairo Native Runtime Library shell: bash run: | - cd cairo_native + cd ../cairo_native make runtime echo "CAIRO_NATIVE_RUNTIME_LIBRARY=$(pwd)/libcairo_native_runtime.a" > $GITHUB_ENV + - name: Patch dependencies run: | # Patches native dependency to local path, to use current cairo native version - sed -Ei "s/^(cairo-native = \{).*/\1 path = 'cairo_native' }/" Cargo.toml + DEPENDENCY="cairo-native" + NEW_PATH="../cairo_native" + sed -Ei "s/^($DEPENDENCY\s*=).*/\1 { path = '$NEW_PATH' }/" Cargo.toml - name: Run with Native run: |