mirror of
https://github.com/rtic-rs/rtic.git
synced 2024-11-23 20:22:51 +01:00
Try system QEMU
This commit is contained in:
parent
5a23fb3bd3
commit
877d945870
1 changed files with 2 additions and 18 deletions
20
.github/workflows/build.yml
vendored
20
.github/workflows/build.yml
vendored
|
@ -143,15 +143,6 @@ jobs:
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ runner.OS }}-rust-${{ env.rustc_hash }}
|
${{ 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 }})
|
- name: Install Rust ${{ matrix.toolchain }} with target (${{ matrix.target }})
|
||||||
uses: actions-rs/toolchain@v1
|
uses: actions-rs/toolchain@v1
|
||||||
with:
|
with:
|
||||||
|
@ -181,16 +172,9 @@ jobs:
|
||||||
use-tool-cache: true
|
use-tool-cache: true
|
||||||
|
|
||||||
- name: Install QEMU
|
- name: Install QEMU
|
||||||
if: steps.cache-qemu-binary.outputs.cache-hit != 'true'
|
|
||||||
run: |
|
run: |
|
||||||
mkdir -p qemu
|
sudo apt update
|
||||||
curl -C - -L https://github.com/japaric/qemu-bin/raw/master/14.04/qemu-system-arm-2.12.0 > qemu/qemu-system-arm
|
sudo apt install -y 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"
|
|
||||||
|
|
||||||
- name: Run-pass tests
|
- name: Run-pass tests
|
||||||
run: |
|
run: |
|
||||||
|
|
Loading…
Reference in a new issue