-
Notifications
You must be signed in to change notification settings - Fork 2
33 lines (27 loc) · 812 Bytes
/
build.yml
File metadata and controls
33 lines (27 loc) · 812 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: build the kernel
on:
push:
branches:
- master
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
container: archlinux:latest
strategy:
matrix:
ilobilix_arch: [x86_64, aarch64]
fail-fast: false
steps:
- name: Update and install dependencies
run: |
pacman --noconfirm -Syu
pacman --needed --noconfirm -S base-devel clang lld llvm cmake ninja xorriso git
- name: Checkout repository
uses: actions/checkout@v6
with:
submodules: 'true'
- name: Setup build directory
run: cmake -S . -B build -DILOBILIX_ARCH=${{ matrix.ilobilix_arch }} -DILOBILIX_SYSCALL_LOG=ON -DILOBILIX_UBSAN=ON -DILOBILIX_LIMINE_MP=OFF
- name: Build the kernel
run: cmake --build build