mirror of
https://github.com/Plexi09/Nadir-Kernel.git
synced 2026-10-20 15:07:27 +02:00
Added .github
This commit is contained in:
parent
7f91a9586a
commit
53f1295927
5 changed files with 144 additions and 0 deletions
26
.github/workflows/ci.yml
vendored
Normal file
26
.github/workflows/ci.yml
vendored
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
# Nadir Kernel CI. Runs on every pull request and every push to main.
|
||||
#
|
||||
|
||||
name: CI
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
pull_request:
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
build-and-boot:
|
||||
name: Build and boot in QEMU
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Check out repository
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Install toolchain
|
||||
run: sudo apt-get update && sudo apt-get install -y nasm qemu-system-x86
|
||||
|
||||
- name: Build boot sector
|
||||
run: nasm -f bin boot.asm -o boot.bin
|
||||
Loading…
Add table
Add a link
Reference in a new issue