File tree Expand file tree Collapse file tree 2 files changed +35
-1
lines changed Expand file tree Collapse file tree 2 files changed +35
-1
lines changed Original file line number Diff line number Diff line change
1
+ name : CI
2
+ on :
3
+ pull_request_target :
4
+ branches :
5
+ - ' **'
6
+ - ' !mainline'
7
+
8
+ jobs :
9
+ kernel-build-job :
10
+ runs-on :
11
+ labels : kernel-build-arm64
12
+ container :
13
+ image : rockylinux:8
14
+ env :
15
+ ROCKY_ENV : rocky8
16
+ ports :
17
+ - 80
18
+ options : --cpus 8
19
+ steps :
20
+ - name : Install tools and Libraries
21
+ run : |
22
+ dnf groupinstall 'Development Tools' -y
23
+ dnf install --enablerepo=devel bc dwarves kernel-devel openssl-devel elfutils-libelf-devel -y
24
+ - name : Checkout code
25
+ uses : actions/checkout@v4
26
+ with :
27
+ ref : " ${{ github.event.pull_request.merge_commit_sha }}"
28
+ fetch-depth : 0
29
+ - name : Build the Kernel
30
+ run : |
31
+ git config --global --add safe.directory /__w/kernel-src-tree/kernel-src-tree
32
+ cp configs/kernel-4.18.0-aarch64.config .config
33
+ make olddefconfig
34
+ make -j8
Original file line number Diff line number Diff line change 28
28
fetch-depth : 0
29
29
- name : Build the Kernel
30
30
run : |
31
- git config --global --add safe.directory /__w/kernel-src-git /kernel-src-git
31
+ git config --global --add safe.directory /__w/kernel-src-tree /kernel-src-tree
32
32
cp configs/kernel-4.18.0-x86_64.config .config
33
33
make olddefconfig
34
34
make -j8
You can’t perform that action at this time.
0 commit comments