Skip to content

Commit 6c7983c

Browse files
committed
ci: update matrix to run gcc 14,15 and aarch64
Signed-off-by: Ihor Solodrai <ihor.solodrai@linux.dev>
1 parent 3d86310 commit 6c7983c

1 file changed

Lines changed: 40 additions & 14 deletions

File tree

.github/workflows/test.yml

Lines changed: 40 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -14,24 +14,51 @@ jobs:
1414
build-and-test:
1515
strategy:
1616
matrix:
17-
runs_on: ["ubuntu-24.04"]
18-
build_runs_on: ["ubuntu-24.04"]
19-
arch: ["x86_64"]
20-
kernel_compiler: ["gcc", "llvm"]
21-
gcc_version: [14]
22-
llvm_version: [20]
17+
include:
18+
# x86_64 configs
19+
- arch: x86_64
20+
kernel_compiler: gcc
21+
gcc_version: 14
22+
llvm_version: 20
23+
runs_on: ubuntu-latest
24+
build_runs_on: ubuntu-latest
25+
- arch: x86_64
26+
kernel_compiler: gcc
27+
gcc_version: 15
28+
llvm_version: 20
29+
runs_on: ubuntu-latest
30+
build_runs_on: ubuntu-latest
31+
- arch: x86_64
32+
kernel_compiler: llvm
33+
gcc_version: 14
34+
llvm_version: 20
35+
runs_on: ubuntu-latest
36+
build_runs_on: ubuntu-latest
37+
# aarch64 configs
38+
- arch: aarch64
39+
kernel_compiler: gcc
40+
gcc_version: 14
41+
llvm_version: 20
42+
runs_on: ubuntu-arm
43+
build_runs_on: ubuntu-latest
44+
- arch: aarch64
45+
kernel_compiler: gcc
46+
gcc_version: 15
47+
llvm_version: 20
48+
runs_on: ubuntu-arm
49+
build_runs_on: ubuntu-latest
2350
kernel: ["LATEST"]
2451
build_release: [false]
2552
tests:
26-
- include:
27-
- {"test": "test_progs", "continue_on_error": false, "timeout_minutes": 360}
28-
- {"test": "test_progs_no_alu32", "continue_on_error": false, "timeout_minutes": 360}
29-
- {"test": "test_verifier", "continue_on_error": false, "timeout_minutes": 360}
30-
- {"test": "test_maps", "continue_on_error": false, "timeout_minutes": 360}
31-
- {"test": "sched_ext", "continue_on_error": false, "timeout_minutes": 360}
32-
# - {"test": "test_progs-bpf_gcc", "continue_on_error": false, "timeout_minutes": 360}
53+
- {"test": "test_progs", "continue_on_error": false, "timeout_minutes": 360}
54+
- {"test": "test_progs_no_alu32", "continue_on_error": false, "timeout_minutes": 360}
55+
- {"test": "test_verifier", "continue_on_error": false, "timeout_minutes": 360}
56+
- {"test": "test_maps", "continue_on_error": false, "timeout_minutes": 360}
57+
- {"test": "sched_ext", "continue_on_error": false, "timeout_minutes": 360}
58+
# - {"test": "test_progs-bpf_gcc", "continue_on_error": false, "timeout_minutes": 360}
3359
fail-fast: false
3460

61+
3562
name: ${{ matrix.arch }} ${{ matrix.kernel_compiler }}-${{ matrix.kernel_compiler == 'gcc' && matrix.gcc_version || matrix.llvm_version }}
3663
uses: ./.github/workflows/kernel-build-test.yml
3764
permissions:
@@ -51,4 +78,3 @@ jobs:
5178
run_tests: true
5279
download_sources: true
5380
build_release: ${{ matrix.build_release }}
54-

0 commit comments

Comments
 (0)