blob: 7ed06007e4941fa7b91d6dea6212890911e868d7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
.build_matrix: &build_matrix
parallel:
matrix:
- PLATFORM: ["x86_64"]
TYPE: ["dbg", "rel"]
build:
stage: build
image: registry.gitlab.ost.ch:45023/teachos/devcontainers/x86-64:15.2.0-1
before_script:
- apt update
- apt install -y cmake grub2-common grub-pc mtools ninja-build xorriso
script:
- cmake --preset $PLATFORM
- cmake --build --preset $PLATFORM-$TYPE
- cp build/bin/**/kernel.{dis,elf,sym,iso} .
artifacts:
paths:
- kernel.dis
- kernel.elf
- kernel.sym
- kernel.iso
<<: *build_matrix
|