Skip to content

Commit

Permalink
fix qemu
Browse files Browse the repository at this point in the history
  • Loading branch information
jtzhpf committed Dec 28, 2023
1 parent 8f395c2 commit b0c4011
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/actions/setup-qemu/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ runs:
PREFIX: ${{ github.workspace }}/qemu_build
shell: bash
run: |
sudo apt-get update && sudo apt-get install -y ninja-build libspice-server-dev
sudo apt-get update && sudo apt-get install -y ninja-build
wget https://download.qemu.org/$QEMU_PATH.tar.xz && tar -xJf $QEMU_PATH.tar.xz
cd $QEMU_PATH \
&& ./configure --prefix=$PREFIX --target-list=x86_64-softmmu,riscv64-softmmu,aarch64-softmmu \
Expand All @@ -37,8 +37,11 @@ runs:
PREFIX: ${{ github.workspace }}/qemu_build
shell: bash
run: |
git clone https://github.com/foxsen/qemu-loongarch-runenv qemu-6.2.50
cp qemu-6.2.50 $PREFIX -r
git clone https://github.com/foxsen/qemu qemu-6.2.50
cp qemu-6.2.50
./configure --prefix=$PREFIX --target-list=loongarch64-softmmu
make -j
make install
- uses: actions/cache/save@v3
if: steps.cache-qemu.outputs.cache-hit != 'true'
Expand Down

0 comments on commit b0c4011

Please sign in to comment.