Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
JulianGCalderon committed Oct 25, 2024
1 parent 845a53a commit 182550b
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions .github/workflows/daily.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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: |
Expand Down

0 comments on commit 182550b

Please sign in to comment.