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 : Build Bootloader
2+
3+ on :
4+ workflow_dispatch :
5+ workflow_call :
6+ pull_request :
7+ branches : ["main"]
8+ paths :
9+ - bootloader/**
10+ - .github/workflows/bootloader.yml
11+
12+ jobs :
13+ build_bootloader :
14+ strategy :
15+ fail-fast : false
16+ matrix :
17+ include :
18+ - os : ubuntu-latest
19+ artifact_path : target/bootloader-x86_64/linux/arch/x86/boot/bzImage
20+ artifact_name : bootloader-x86_64
21+ - os : ubuntu-24.04-arm
22+ artifact_path : target/bootloader-aarch64/linux/arch/arm64/boot/Image
23+ artifact_name : bootloader-aarch64
24+ runs-on : ${{ matrix.os }}
25+ steps :
26+ - uses : actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
27+ - uses : actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v6.2.0
28+ with :
29+ go-version : " stable"
30+ - name : Install dependencies
31+ run : apt-get update && apt-get install -y llvm libelf-dev
32+ - name : Build bootloader
33+ run : ./bootloader/build.sh
34+ - name : Upload artifact
35+ uses : actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
36+ with :
37+ name : ${{ matrix.artifact_name }}
38+ path : ${{ matrix.artifact_path }}
You can’t perform that action at this time.
0 commit comments