From b0c40118e66229ab61a60292e3a86ae97b70afcd Mon Sep 17 00:00:00 2001 From: jtzhpf Date: Thu, 28 Dec 2023 20:32:20 +0800 Subject: [PATCH] fix qemu --- .github/workflows/actions/setup-qemu/action.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/actions/setup-qemu/action.yml b/.github/workflows/actions/setup-qemu/action.yml index 1acf3d3eaa..96c3f3bf32 100644 --- a/.github/workflows/actions/setup-qemu/action.yml +++ b/.github/workflows/actions/setup-qemu/action.yml @@ -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 \ @@ -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'