Skip to content

Use Nix flake in CI #306

Use Nix flake in CI

Use Nix flake in CI #306

Workflow file for this run

name: Doc
on:
pull_request:
push:
branches:
main
jobs:
doc_riscv64:
runs-on: ubuntu-latest
env:
TARGET: riscv64gc-unknown-none-elf
steps:
- uses: actions/checkout@v2
- uses: cachix/install-nix-action@v27
- name: Enter nix
run: nix develop
- name: Build doc
run: cd kernel && cargo doc --target ${{ env.TARGET }} --all-features
doc_aarch64:
runs-on: ubuntu-latest
env:
TARGET: aarch64-unknown-none
steps:
- uses: actions/checkout@v2
- uses: cachix/install-nix-action@v27
- name: Enter nix
run: nix develop
- name: Build doc
run: cd kernel && cargo doc --target ${{ env.TARGET }} --all-features