Skip to content

fix(input): compile board #602

fix(input): compile board

fix(input): compile board #602

Workflow file for this run

name: Build Rust Doc And Build Kernel
on: [push]
env:
CARGO_TERM_COLOR: always
rust_toolchain: nightly-2022-11-03
jobs:
build-doc:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ env.rust_toolchain }}
components: rust-src, llvm-tools-preview
target: riscv64gc-unknown-none-elf
- name: Build doc
run: cd kernel && cargo doc --no-deps --verbose
# - name: Deploy to Github Pages
# uses: peaceiris/actions-gh-pages@v3
# with:
# github_token: ${{ secrets.GITHUB_TOKEN }}
# publish_dir: ./kernel/target/riscv64gc-unknown-none-elf/doc
# destination_dir: ${{ github.ref_name }}
build-kernel:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ env.rust_toolchain }}
components: rust-src, llvm-tools-preview
target: riscv64gc-unknown-none-elf
- uses: actions-rs/[email protected]
with:
crate: cargo-binutils
version: latest
use-tool-cache: true
- name: Build Kernel
run: cd kernel && make fs-img TEST=0 && make build
timeout-minutes: 10