xv6-riscv Documentation

Official C developer resources and documentation for mit-pdos/xv6-riscv with 11k stars. Verified technical context for AI.

10,669 stars C C 1 file ยท ~145 tokens
RAW Doc

File: .github/workflows/test.yml

on: [push, pull_request]

jobs:
linux:
runs-on: ubuntu-26.04
steps:
- uses: actions/checkout@v7
- run: sudo apt-get update && sudo apt-get install -y gcc-riscv64-linux-gnu qemu-system-riscv clang-format bc
- run: make fmt && git diff --exit-code
- run: make kernel/kernel fs.img
- run: ./test-xv6.py usertests
- run: ./test-xv6.py crash

macos:
runs-on: macos-latest
steps:
- uses: actions/checkout@v7
- run: brew install riscv64-elf-gcc
- run: make kernel/kernel fs.img