50948774c4
This patch adds continuous integration with Azure Pipelines at: https://dev.azure.com/samueltebbs/pluto/_build?definitionId=1. This will download zig v0.4.0 (will change to master once we upgrade our source), build the kernel, install qemu and do runtime testing (mock testing will also need to be done once that is up and running). Closes #13
28 lines
594 B
Markdown
28 lines
594 B
Markdown
# Pluto
|
|
|
|
[![Build Status](https://dev.azure.com/samueltebbs/pluto/_apis/build/status/SamTebbs33.pluto?branchName=develop)](https://dev.azure.com/samueltebbs/samueltebbs/_build/latest?definitionId=1&branchName=develop)
|
|
|
|
## Build
|
|
Requires *xorriso* and the grub tools (such as *grub-mkrescue*).
|
|
```
|
|
mkdir -p bin/kernel
|
|
mkdir -p bin/iso/boot/grub
|
|
zig build
|
|
```
|
|
|
|
Note that the `mkdir` invocations are only needed once. See `zig build --help` for a list of options.
|
|
|
|
## Run
|
|
```
|
|
zig build run
|
|
```
|
|
To debug the kernel:
|
|
```
|
|
zig build run -Ddebug=true
|
|
zig build debug
|
|
```
|
|
|
|
# Test
|
|
```
|
|
zig build test
|
|
```
|