From 80caa74d9b3dc67db580413025c155166cb25312 Mon Sep 17 00:00:00 2001 From: tqcq <99722391+tqcq@users.noreply.github.com> Date: Sun, 31 Mar 2024 23:00:27 +0800 Subject: [PATCH] fix miss qemu --- .gitea/workflows/linux-arm-gcc.yml | 32 ++++++++++++++++++++---------- 1 file changed, 22 insertions(+), 10 deletions(-) diff --git a/.gitea/workflows/linux-arm-gcc.yml b/.gitea/workflows/linux-arm-gcc.yml index 5d41944..1b58ead 100644 --- a/.gitea/workflows/linux-arm-gcc.yml +++ b/.gitea/workflows/linux-arm-gcc.yml @@ -47,11 +47,17 @@ jobs: sudo apt-get install -y autoconf automake autotools-dev ninja-build - name: checkout-qemu if: steps.cache-qemu.outputs.cache-hit != 'true' - uses: actions/checkout@v4 - with: - repository: qemu/qemu - path: qemu - ref: f5643914a9e8f79c606a76e6a9d7ea82a3fc3e65 + run: | + mkdir qemu && cd qemu + git init + git remote add origin https://gitlab.com/qemu-project/qemu.git + git fetch --depth=1 origin f5643914a9e8f79c606a76e6a9d7ea82a3fc3e65 + git checkout f5643914a9e8f79c606a76e6a9d7ea82a3fc3e65 + # uses: actions/checkout@v4 + # with: + # repository: qemu/qemu + # path: qemu + # ref: f5643914a9e8f79c606a76e6a9d7ea82a3fc3e65 - name: qemu if: steps.cache-qemu.outputs.cache-hit != 'true' run: | @@ -94,11 +100,17 @@ jobs: sudo apt-get install -y autoconf automake autotools-dev ninja-build - name: checkout-qemu if: steps.cache-qemu.outputs.cache-hit != 'true' - uses: actions/checkout@v4 - with: - repository: qemu/qemu - path: qemu - ref: f5643914a9e8f79c606a76e6a9d7ea82a3fc3e65 + run: | + mkdir qemu && cd qemu + git init + git remote add origin https://gitlab.com/qemu-project/qemu.git + git fetch --depth=1 origin f5643914a9e8f79c606a76e6a9d7ea82a3fc3e65 + git checkout f5643914a9e8f79c606a76e6a9d7ea82a3fc3e65 + # uses: actions/checkout@v4 + # with: + # repository: qemu/qemu + # path: qemu + # ref: f5643914a9e8f79c606a76e6a9d7ea82a3fc3e65 - name: qemu if: steps.cache-qemu.outputs.cache-hit != 'true' run: |