Skip to content

Commit

Permalink
cargo install cairo1-run
Browse files Browse the repository at this point in the history
  • Loading branch information
Okm165 committed Apr 22, 2024
1 parent 9cd675e commit 84379fa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/run.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,11 @@ jobs:
with:
python-version: '3.9'

- name: Configure Path
run: echo "$HOME/.local/bin" >> $GITHUB_PATH

- name: Install
run: |
python -m pip install --upgrade pip
pip install colorama
python install.py
echo "$PWD/cairo-vm/target/release/cairo1-run" >> $GITHUB_PATH
- name: Compile Bootloader
run: |
Expand Down
8 changes: 2 additions & 6 deletions install.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,5 @@ def log_and_run(commands, description, cwd=None):
], "Clone corelib", cwd=".")

log_and_run([
"cargo build --release",
], "Build cairo-vm", cwd="cairo-vm/cairo1-run")

log_and_run([
"cp target/release/cairo1-run $HOME/.local/bin",
], "Install cairo1-run", cwd="cairo-vm")
"cargo install --path .",
], "Install cairo-vm", cwd="cairo-vm/cairo1-run")

0 comments on commit 84379fa

Please sign in to comment.