From c44da7310751b9bb42b413389cb3e9b4df55e430 Mon Sep 17 00:00:00 2001 From: elliott10 Date: Fri, 19 Apr 2024 11:51:01 +0800 Subject: [PATCH] Improve the efficiency of CI testing --- .github/workflows/actions/setup-qemu/action.yml | 4 +--- .github/workflows/test.yml | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/actions/setup-qemu/action.yml b/.github/workflows/actions/setup-qemu/action.yml index 0f8bc4d..64314e8 100644 --- a/.github/workflows/actions/setup-qemu/action.yml +++ b/.github/workflows/actions/setup-qemu/action.yml @@ -25,7 +25,7 @@ runs: sudo apt-get update && sudo apt-get install -y ninja-build libslirp-dev 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 --enable-slirp \ + && ./configure --prefix=$PREFIX --target-list=riscv64-softmmu --enable-slirp \ && make -j > /dev/null 2>&1 \ && make install - uses: actions/cache/save@v3 @@ -41,6 +41,4 @@ runs: - name: Verify installation shell: bash run: | - qemu-system-x86_64 --version - qemu-system-aarch64 --version qemu-system-riscv64 --version diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d882551..9f4a4a9 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -31,9 +31,7 @@ jobs: - uses: ./.github/workflows/actions/setup-qemu with: qemu-version: ${{ env.qemu-version }} - - uses: ./.github/workflows/actions/setup-musl - with: - arch: ${{ matrix.arch }} + - name: Run examples run: | cd examples