Try system QEMU
@@ -143,15 +143,6 @@ jobs:
restore-keys: |
${{ runner.OS }}-rust-${{ env.rustc_hash }}
- - name: Cache QEMU binary
- id: cache-qemu-binary
- uses: actions/cache@v2
- with:
- path: qemu
- key: ${{ runner.OS }}-qemu
- restore-keys: |
- ${{ runner.OS }}-qemu
-
- name: Install Rust ${{ matrix.toolchain }} with target (${{ matrix.target }})
uses: actions-rs/toolchain@v1
with:
@@ -181,16 +172,9 @@ jobs:
use-tool-cache: true
- name: Install QEMU
- if: steps.cache-qemu-binary.outputs.cache-hit != 'true'
run: |
- mkdir -p qemu
- curl -C - -L https://github.com/japaric/qemu-bin/raw/master/14.04/qemu-system-arm-2.12.0 > qemu/qemu-system-arm
- chmod +x qemu/qemu-system-arm
-
- - name: Setup add QEMU to PATH
- env:
- GITHUB_WORKSPACE: ${{ github.workspace }}
- run: echo "::add-path::${GITHUB_WORKSPACE}/qemu"
+ sudo apt update
+ sudo apt install -y qemu-system-arm
- name: Run-pass tests
run: |
