From 88c5405288a072e70841752c42c003eb494a09c6 Mon Sep 17 00:00:00 2001 From: Volodymyr Shymanskyy Date: Thu, 11 Mar 2021 18:42:30 +0200 Subject: [PATCH] Use qemu from ubuntu-20.04 --- .github/workflows/tests.yml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 2ab1154..002c808 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -260,7 +260,7 @@ jobs: python3 run-wasi-test.py --fast --exec "wine ./wasm3-win.com" build-cross-qemu: - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 name: build-cross-qemu-${{ matrix.config.target }} timeout-minutes: 10 @@ -293,13 +293,8 @@ jobs: steps: - uses: actions/checkout@v2 - name: Install QEMU - env: - QEMU_SRC: "http://archive.ubuntu.com/ubuntu/pool/universe/q/qemu" - QEMU_VER: "qemu-user-static_4\\.2-.*_amd64.deb$" run: | - DEB=`curl -s $QEMU_SRC/ | grep -o -E 'href="([^"#]+)"' | cut -d'"' -f2 | grep $QEMU_VER | tail -1` - wget $QEMU_SRC/$DEB - sudo dpkg -i $DEB + sudo apt install qemu-user-static - name: Install ${{ matrix.config.toolchain }} run: | sudo apt install ${{ matrix.config.toolchain }}