Skip to content

Commit e125f82

Browse files
committed
ci(test): remove manual installation of llvm and clang
1 parent 7bf91dc commit e125f82

2 files changed

Lines changed: 2 additions & 44 deletions

File tree

.github/workflows/test.yml

Lines changed: 1 addition & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,7 @@ jobs:
2323
strategy:
2424
fail-fast: false
2525
matrix:
26-
include:
27-
- kernel: "5.4"
28-
llvm: "14"
29-
- kernel: "5.15"
30-
llvm: "17"
31-
- kernel: "6.8"
32-
llvm: "17"
33-
- kernel: "6.12"
34-
llvm: "17"
26+
kernel: [5.4, 5.15, 6.8, 6.12]
3527
runs-on: ${{ matrix.kernel }}
3628
if: github.event_name == 'push' || github.event_name == 'workflow_dispatch' || github.event.pull_request.head.repo.full_name != github.repository
3729
steps:
@@ -40,19 +32,6 @@ jobs:
4032
submodules: recursive
4133
- uses: dtolnay/rust-toolchain@stable
4234
- run: sudo apt update && sudo apt install ethtool iputils-ping iperf iperf3 pkg-config m4 clang llvm libelf-dev libpcap-dev gcc-multilib libnftnl-dev libmnl-dev autoconf automake autopoint flex bison gawk libtool -y
43-
- name: Cache LLVM and Clang
44-
id: cache-llvm
45-
uses: maxnowack/local-cache@v2
46-
with:
47-
path: |
48-
C:/Program Files/LLVM
49-
./llvm
50-
key: llvm-${{ matrix.llvm }}
51-
- name: Install LLVM and Clang
52-
uses: KyleMayes/install-llvm-action@v2
53-
with:
54-
version: ${{ matrix.llvm }}
55-
cached: ${{ steps.cache-llvm.outputs.cache-hit }}
5635
- name: Install nextest
5736
uses: taiki-e/install-action@nextest
5837
- run: cargo nextest run --profile ci -F http,xdp --release --workspace

.github/workflows/verify.yml

Lines changed: 1 addition & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,7 @@ jobs:
1717
max-parallel: 1 # Avoid resource contention
1818
fail-fast: false
1919
matrix:
20-
include:
21-
- kernel: "5.4"
22-
llvm: "14"
23-
- kernel: "5.15"
24-
llvm: "17"
25-
- kernel: "6.8"
26-
llvm: "17"
27-
- kernel: "6.12"
28-
llvm: "17"
20+
kernel: [5.4, 5.15, 6.8, 6.12]
2921
runs-on: ${{ matrix.kernel }}
3022
if: github.event.pull_request.head.repo.full_name == github.repository || github.event_name == 'push' || github.event_name == 'workflow_dispatch' || github.event_name == 'schedule'
3123
steps:
@@ -34,19 +26,6 @@ jobs:
3426
submodules: recursive
3527
- uses: dtolnay/rust-toolchain@stable
3628
- run: sudo apt update && sudo apt install ethtool iputils-ping iperf iperf3 pkg-config m4 clang llvm libelf-dev libpcap-dev gcc-multilib libnftnl-dev libmnl-dev autoconf automake autopoint flex bison gawk libtool -y
37-
- name: Cache LLVM and Clang
38-
id: cache-llvm
39-
uses: maxnowack/local-cache@v2
40-
with:
41-
path: |
42-
C:/Program Files/LLVM
43-
./llvm
44-
key: llvm-${{ matrix.llvm }}
45-
- name: Install LLVM and Clang
46-
uses: KyleMayes/install-llvm-action@v2
47-
with:
48-
version: ${{ matrix.llvm }}
49-
cached: ${{ steps.cache-llvm.outputs.cache-hit }}
5029
- run: sudo ./scripts/clean_stdenv.sh -a
5130
- name: Performance verification
5231
run: |

0 commit comments

Comments
 (0)