Skip to content

Create README.json to fit kern-crates/.github #4

Create README.json to fit kern-crates/.github

Create README.json to fit kern-crates/.github #4

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 }}
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 }}
- uses: ./.github/workflows/actions/setup-musl
with:
arch: ${{ matrix.arch }}
- name: Run examples
run: |
cd examples
make run