diff options
| author | Henrik Tjäder <henrik@tjaders.com> | 2020-08-24 11:57:53 +0000 |
|---|---|---|
| committer | Henrik Tjäder <henrik@tjaders.com> | 2020-08-24 13:19:00 +0000 |
| commit | 877d9458706bf0d4ee139ad41c586640911a0447 (patch) | |
| tree | f6c3df9e947e55b40ff83e3a102e85c713e63331 /.github/workflows/build.yml | |
| parent | 5a23fb3bd3ac55896f8aa6a57ace3a550202dcf7 (diff) | |
Try system QEMU
Diffstat (limited to '.github/workflows/build.yml')
| -rw-r--r-- | .github/workflows/build.yml | 20 |
1 files changed, 2 insertions, 18 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e19fda4..0ec72bb 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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: | |
