File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : BasicallyLinux CI
2+
3+ on :
4+ push :
5+ branches : [ "main" ]
6+ pull_request :
7+ branches : [ "main" ]
8+
9+ jobs :
10+ build :
11+ runs-on : ubuntu-latest
12+
13+ steps :
14+ - name : Checkout Source Code
15+ uses : actions/checkout@v4
16+
17+ - name : Install Build Essentials
18+ run : |
19+ sudo apt-get update
20+ sudo apt-get install -y \
21+ nasm \
22+ make \
23+ binutils-i686-linux-gnu \
24+ gcc-i686-linux-gnu \
25+ grub-pc-bin \
26+ xorriso
27+
28+ - name : Compile BasicallyLinux
29+ run : |
30+ # We specify the cross-compiler explicitly in case the Makefile
31+ # uses generic 'gcc' or 'ld' names.
32+ make CC=i686-linux-gnu-gcc LD=i686-linux-gnu-ld AS=nasm
33+
34+ - name : Verify Binary Integrity
35+ run : |
36+ if [ ! -f bin/basicallylinux.bin ]; then
37+ echo "❌ Error: basicallylinux.bin was not generated!"
38+ exit 1
39+ fi
40+ echo "✅ Build Successful: Kernel binary verified."
41+
42+ - name : Upload Build Artifacts
43+ uses : actions/upload-artifact@v4
44+ with :
45+ name : basicallylinux-kernel-bin
46+ path : bin/basicallylinux.bin
You can’t perform that action at this time.
0 commit comments