Skip to content

Commit 877d945

Browse files
committed
Try system QEMU
1 parent 5a23fb3 commit 877d945

File tree

1 file changed

+2
-18
lines changed

1 file changed

+2
-18
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -143,15 +143,6 @@ jobs:
143143
restore-keys: |
144144
${{ runner.OS }}-rust-${{ env.rustc_hash }}
145145
146-
- name: Cache QEMU binary
147-
id: cache-qemu-binary
148-
uses: actions/cache@v2
149-
with:
150-
path: qemu
151-
key: ${{ runner.OS }}-qemu
152-
restore-keys: |
153-
${{ runner.OS }}-qemu
154-
155146
- name: Install Rust ${{ matrix.toolchain }} with target (${{ matrix.target }})
156147
uses: actions-rs/toolchain@v1
157148
with:
@@ -181,16 +172,9 @@ jobs:
181172
use-tool-cache: true
182173

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

0 commit comments

Comments
 (0)