Skip to content

Commit

Permalink
chore: use guoren83 qemu-linux binary
Browse files Browse the repository at this point in the history
Signed-off-by: Han Gao <[email protected]>
  • Loading branch information
RevySR committed Feb 22, 2024
1 parent d085326 commit ce82143
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,12 +68,18 @@ jobs:
export PATH=/opt/riscv/bin:$PATH
${CROSS_COMPILE}gcc -v
${CROSS_COMPILE}gcc -o demo qemu-linux/hello_world.c
sudo mkdir -p /opt/riscv/qemu-linux/
sudo cp -v demo /opt/riscv/qemu-linux/
# Test the demo
qemu-riscv64 /opt/riscv/qemu-linux/demo
# Copy demo code
sudo cp -v qemu-linux/hello_world.c /opt/riscv/qemu-linux/
- name: download qemu-linux binary
run: |
wget -O qemu-linux.tar.gz $qemu_linux_binary
sudo tar xzvf qemu-linux.tar.gz -C /opt/riscv/
- name: recover space
run: |
sudo du -hs / 2> /dev/null || true
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/nightly-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -89,12 +89,18 @@ jobs:
export PATH=/opt/riscv/bin:$PATH
${CROSS_COMPILE}gcc -v
${CROSS_COMPILE}gcc -o demo qemu-linux/hello_world.c
sudo mkdir -p /opt/riscv/qemu-linux/
sudo cp -v demo /opt/riscv/qemu-linux/
# Test the demo
qemu-riscv64 /opt/riscv/qemu-linux/demo
# Copy demo code
sudo cp -v qemu-linux/hello_world.c /opt/riscv/qemu-linux/
- name: download qemu-linux binary
run: |
wget -O qemu-linux.tar.gz $qemu_linux_binary
sudo tar xzvf qemu-linux.tar.gz -C /opt/riscv/
- name: recover space
run: |
sudo du -hs / 2> /dev/null || true
Expand Down

0 comments on commit ce82143

Please sign in to comment.