Skip to content

Commit

Permalink
Update build-riscv64.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
emlowe authored Sep 25, 2023
1 parent 9df740f commit 2252644
Showing 1 changed file with 4 additions and 11 deletions.
15 changes: 4 additions & 11 deletions .github/workflows/build-riscv64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,8 @@ jobs:
run: |
docker run --rm --platform linux/riscv64 \
-v ${{ github.workspace }}:/ws --workdir=/ws \
riscv64/debian:rc-buggy \
chianetwork/ubuntu-22.04-risc-builder:latest \
bash -exc '\
apt-get update && \
apt-get install -y git curl build-essential && \
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y && \
source $HOME/.cargo/env && \
cargo test --release
'
Expand All @@ -67,13 +63,10 @@ jobs:
run: |
docker run --rm --platform linux/riscv64 \
-v ${{ github.workspace }}:/ws --workdir=/ws \
riscv64/debian:rc-buggy \
chianetwork/ubuntu-22.04-risc-builder:latest \
bash -exc '\
apt-get update && \
apt-get install -y build-essential git python3-full python3-dev python3-pip libssl-dev curl && \
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y && \
source $HOME/.cargo/env && \
python3 -m venv venv && \
pyenv global 3.10
python -m venv venv && \
source ./venv/bin/activate && \
pip install --upgrade pip && \
pip install --extra-index-url https://pypi.chia.net/simple/ maturin==1.2.3 && \
Expand Down

0 comments on commit 2252644

Please sign in to comment.