Skip to content

Improve the efficiency of CI testing #1

Improve the efficiency of CI testing

Improve the efficiency of CI testing #1

Workflow file for this run

name: Test CI
on: [push, pull_request]
env:
qemu-version: 8.2.0
rust-toolchain: nightly-2024-01-31
jobs:
examples-test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
arch: [riscv64]
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ env.rust-toolchain }}
override: true
components: rust-src
- uses: actions-rs/[email protected]
with:
crate: cargo-binutils
version: latest
use-tool-cache: true
- uses: ./.github/workflows/actions/setup-qemu
with:
qemu-version: ${{ env.qemu-version }}
- name: Run examples
run: |
cd examples
make run