Skip to content

Commit 3d68c0a

Browse files
committed
Try system QEMU
1 parent 2d05343 commit 3d68c0a

File tree

1 file changed

+1
-19
lines changed

1 file changed

+1
-19
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -144,15 +144,6 @@ jobs:
144144
restore-keys: |
145145
${{ runner.OS }}-rust-${{ env.rustc_hash }}
146146
147-
- name: Cache QEMU binary
148-
id: cache-qemu-binary
149-
uses: actions/cache@v2
150-
with:
151-
path: qemu
152-
key: ${{ runner.OS }}-qemu
153-
restore-keys: |
154-
${{ runner.OS }}-qemu
155-
156147
- name: Install Rust ${{ matrix.toolchain }} with target (${{ matrix.target }})
157148
uses: actions-rs/toolchain@v1
158149
with:
@@ -182,16 +173,7 @@ jobs:
182173
use-tool-cache: true
183174

184175
- name: Install QEMU
185-
if: steps.cache-qemu-binary.outputs.cache-hit != 'true'
186-
run: |
187-
mkdir -p qemu
188-
curl -C - -L https://github.com/japaric/qemu-bin/raw/master/14.04/qemu-system-arm-2.12.0 > qemu/qemu-system-arm
189-
chmod +x qemu/qemu-system-arm
190-
191-
- name: Setup add QEMU to PATH
192-
env:
193-
GITHUB_WORKSPACE: ${{ github.workspace }}
194-
run: echo "::add-path::${GITHUB_WORKSPACE}/qemu"
176+
run: sudo apt install -y qemu-system-arm
195177

196178
- name: Run-pass tests
197179
run: |

0 commit comments

Comments
 (0)