Skip to content

Commit

Permalink
fix daily ci (#967)
Browse files Browse the repository at this point in the history
* fix daily

* fix

* path
  • Loading branch information
edg-l authored Dec 13, 2024
1 parent 12444b9 commit 4bd59e9
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions .github/workflows/daily.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ on:

env:
RANGE_SIZE: 25
SEQUENCER_REV: 8d3e6b5515e7b62e7ab173026b2c81c750dbb853

jobs:
run:
Expand Down Expand Up @@ -99,16 +98,7 @@ jobs:
- name: Patch dependencies
run: |
# Patches native dependency to local path, to use current cairo native version
DEPENDENCY="cairo-native"
NEW_PATH="../cairo_native"
sed -Ei "s#^($DEPENDENCY *=).*#\1 { path = '$NEW_PATH' }#" Cargo.toml
grep $DEPENDENCY Cargo.toml
# Patches sequencer dependency to specified rev
GIT="https://github.com/lambdaclass/sequencer"
NEW_REV="$SEQUENCER_REV"
sed -Ei "s#(\"$GIT\" *, *rev *= *\").?*(\".*)#\1$NEW_REV\2#" Cargo.toml
grep $GIT Cargo.toml
echo -e "\n[patch.crates-io]\ncairo-native = { path = \"../cairo_native\" }" >> Cargo.toml
- name: Run with Native
if: ${{ matrix.runner == 'native' }}
Expand Down

0 comments on commit 4bd59e9

Please sign in to comment.