Skip to content

Commit

Permalink
fix: testing
Browse files Browse the repository at this point in the history
  • Loading branch information
PearsonWhite committed Oct 11, 2024
1 parent 15a92fe commit 01219d4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
1 change: 1 addition & 0 deletions build_native_in_docker.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#!/bin/env bash
set -e
set -x

docker_image_name=sequencer-ci

Expand Down
9 changes: 7 additions & 2 deletions scripts/dependencies.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#!/bin/bash

set -e
set -x

[[ ${UID} == "0" ]] || SUDO="sudo"

Expand Down Expand Up @@ -64,8 +65,12 @@ function compile_cairo_native_runtime() {
fi

# Then we clone and build the runtime from the repo
git config --global --add safe.directory "*"
$SUDO git clone https://github.com/lambdaclass/cairo_native.git
echo "$USER"
id -u $USER
groups
cat /etc/passwd
$SUDO chown -R $(whoami) .
git clone https://github.com/lambdaclass/cairo_native.git
pushd ./cairo_native || exit 1
git switch v0.2.0-alpha.2 --detach
cargo build -p cairo-native-runtime --release --all-features --quiet
Expand Down

0 comments on commit 01219d4

Please sign in to comment.