Skip to content

Commit

Permalink
Install qemu-user-static from .deb
Browse files Browse the repository at this point in the history
  • Loading branch information
kazk committed Nov 2, 2022
1 parent 0679125 commit fb9737e
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 8 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,13 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Set up QEMU
uses: docker/setup-qemu-action@v2
with:
platforms: riscv64
- name: Install qemu-user-static
run: |
cd /tmp
wget -q -O qemu-user-static.deb http://ftp.us.debian.org/debian/pool/main/q/qemu/qemu-user-static_7.1+dfsg-2+b1_amd64.deb
sudo apt install ./qemu-user-static.deb
rm ./qemu-user-static.deb
qemu-riscv64-static --version
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
Expand Down
11 changes: 7 additions & 4 deletions .github/workflows/push-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,13 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Set up QEMU
uses: docker/setup-qemu-action@v2
with:
platforms: riscv64
- name: Install qemu-user-static
run: |
cd /tmp
wget -q -O qemu-user-static.deb http://ftp.us.debian.org/debian/pool/main/q/qemu/qemu-user-static_7.1+dfsg-2+b1_amd64.deb
sudo apt install ./qemu-user-static.deb
rm ./qemu-user-static.deb
qemu-riscv64-static --version
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
Expand Down

0 comments on commit fb9737e

Please sign in to comment.