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