ci: auto-generate bootable Live ISO (GRUB2) and publish build artifact
This commit is contained in:
1 parent
0700184549
commit
b35bed9aba
1 file changed
+17
-2
@@ -14,10 +14,10 @@ jobs:
|
|||||||
- name: Checkout Source
|
- name: Checkout Source
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Install LLVM & Clang Toolchain
|
- name: Install LLVM, Clang & Bootloader Tools
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install -y clang lld llvm make file
|
sudo apt-get install -y clang lld llvm make file grub-pc-bin grub-common xorriso mtools
|
||||||
|
|
||||||
- name: Build Airlys Kernel
|
- name: Build Airlys Kernel
|
||||||
run: |
|
run: |
|
||||||
@@ -28,3 +28,18 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
file bin/airlys.elf
|
file bin/airlys.elf
|
||||||
llvm-readelf -h bin/airlys.elf
|
llvm-readelf -h bin/airlys.elf
|
||||||
|
|
||||||
|
- name: Build Bootable Live ISO (GRUB2)
|
||||||
|
run: |
|
||||||
|
chmod +x scripts/build_iso.sh
|
||||||
|
./scripts/build_iso.sh
|
||||||
|
ls -lh bin/
|
||||||
|
|
||||||
|
- name: Upload Bootable Airlys ISO & Kernel Artifacts
|
||||||
|
uses: actions/upload-artifact@v4
|
||||||
|
with:
|
||||||
|
name: airlys-live-bootable-iso
|
||||||
|
path: |
|
||||||
|
bin/airlys.iso
|
||||||
|
bin/airlys.elf
|
||||||
|
retention-days: 14
|
||||||
Reference in new issue
Block a user