|
8 | 8 | jobs: |
9 | 9 | eBPF-Programs-Build: |
10 | 10 | runs-on: ubuntu-latest |
| 11 | + strategy: |
| 12 | + matrix: |
| 13 | + codename: [ jammy, noble ] |
11 | 14 | container: |
12 | | - image: ubuntu:focal |
| 15 | + image: ubuntu:${{ matrix.codename }} |
13 | 16 | steps: |
14 | 17 | - name: Set env variables |
15 | 18 | run: | |
|
52 | 55 |
|
53 | 56 | - name: Clone dependencies |
54 | 57 | run: | |
55 | | - git clone --branch v5.15 --depth 1 https://github.com/torvalds/linux.git $LINUX_SRC_PATH |
| 58 | + git clone --branch v6.8 --depth 1 https://github.com/torvalds/linux.git $LINUX_SRC_PATH |
56 | 59 | cd $LINUX_SRC_PATH |
57 | | - sed -i '229a\ |
58 | | - if [ "${pahole_ver}" -ge "124" ]; then\ |
59 | | - extra_paholeopt="${extra_paholeopt} --skip_encoding_btf_enum64"\ |
60 | | - fi' scripts/link-vmlinux.sh |
61 | | - echo "CONFIG_DEBUG_INFO_BTF=y" >> .config |
62 | | - echo "CONFIG_MODULES=y" >> .config |
63 | 60 | make olddefconfig |
64 | 61 | make prepare |
65 | 62 | yes | make -j$(nproc) |
@@ -87,35 +84,35 @@ jobs: |
87 | 84 | - name: Upload xdp-root |
88 | 85 | uses: actions/upload-artifact@v4 |
89 | 86 | with: |
90 | | - name: xdp-root-linux-artifact |
| 87 | + name: xdp-root-linux-artifact-${{ matrix.codename }} |
91 | 88 | path: ${{ env.LINUX_SRC_PATH }}/${{ env.BPF_PATH }}/${{ env.REPO }}/xdp-root/l3af_xdp_root/* |
92 | 89 |
|
93 | 90 | - name: Upload ratelimiting |
94 | 91 | uses: actions/upload-artifact@v4 |
95 | 92 | with: |
96 | | - name: ratelimiting-linux-artifact |
| 93 | + name: ratelimiting-linux-artifact-${{ matrix.codename }} |
97 | 94 | path: ${{ env.LINUX_SRC_PATH }}/${{ env.BPF_PATH }}/${{ env.REPO }}/ratelimiting/l3af_ratelimiting/* |
98 | 95 |
|
99 | 96 | - name: Upload connection-limit |
100 | 97 | uses: actions/upload-artifact@v4 |
101 | 98 | with: |
102 | | - name: connection-limit-linux-artifact |
| 99 | + name: connection-limit-linux-artifact-${{ matrix.codename }} |
103 | 100 | path: ${{ env.LINUX_SRC_PATH }}/${{ env.BPF_PATH }}/${{ env.REPO }}/connection-limit/l3af_connection_limit/* |
104 | 101 |
|
105 | 102 | - name: Upload tc-root |
106 | 103 | uses: actions/upload-artifact@v4 |
107 | 104 | with: |
108 | | - name: tc-root-linux-artifact |
| 105 | + name: tc-root-linux-artifact-${{ matrix.codename }} |
109 | 106 | path: ${{ env.LINUX_SRC_PATH }}/${{ env.BPF_PATH }}/${{ env.REPO }}/tc-root/l3af_tc_root/* |
110 | 107 |
|
111 | 108 | - name: Upload ipfix-flow-exporter |
112 | 109 | uses: actions/upload-artifact@v4 |
113 | 110 | with: |
114 | | - name: ipfix-flow-exporter-linux-artifact |
| 111 | + name: ipfix-flow-exporter-linux-artifact-${{ matrix.codename }} |
115 | 112 | path: ${{ env.LINUX_SRC_PATH }}/${{ env.BPF_PATH }}/${{ env.REPO }}/ipfix-flow-exporter/l3af_bpf_ipfix/* |
116 | 113 |
|
117 | 114 | - name: Upload traffic-mirroring |
118 | 115 | uses: actions/upload-artifact@v4 |
119 | 116 | with: |
120 | | - name: traffic-mirroring-linux-artifact |
| 117 | + name: traffic-mirroring-linux-artifact-${{ matrix.codename }} |
121 | 118 | path: ${{ env.LINUX_SRC_PATH }}/${{ env.BPF_PATH }}/${{ env.REPO }}/traffic-mirroring/l3af_traffic_mirroring/* |
0 commit comments