Create README.json to fit kern-crates/.github #4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build CI | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest] | |
arch: [riscv64] | |
rust-toolchain: [nightly, nightly-2024-01-31] | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: ${{ matrix.rust-toolchain }} | |
override: true | |
components: rust-src | |
target: riscv64gc-unknown-none-elf | |
- uses: actions-rs/install@v0.1 | |
with: | |
crate: cargo-binutils | |
version: latest | |
use-tool-cache: true | |
- uses: ./.github/workflows/actions/setup-musl | |
with: | |
arch: ${{ matrix.arch }} | |
- name: Build ${{ github.repository }} | |
run: | | |
cargo build -vv --target riscv64gc-unknown-none-elf |