Skip to content

Commit 6d09201

Browse files
committed
ci: enable linuxquic in interop tests
Build and install the Linux QUIC module in CI interop tests when either the client or server is Linux QUIC, ensuring its availability in interop CI. Note if the kernel already supports QUIC (the uapi header file /usr/include/linux/quic.h exists), it will not clone and build the Linux QUIC module from lxin/quic repo. Signed-off-by: Xin Long <lucien.xin@gmail.com>
1 parent f74e2e6 commit 6d09201

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

.github/workflows/interop-test.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,15 @@ jobs:
6464
sudo add-apt-repository ppa:wireshark-dev/nightly
6565
sudo apt-get update
6666
sudo apt-get install -y --no-install-recommends tshark
67+
- name: Install Linux QUIC module
68+
if: ${{ matrix.client == 'linuxquic' || inputs.server == 'linuxquic' }}
69+
run: |
70+
[ -f /usr/include/linux/quic.h ] && exit 0
71+
git clone https://github.com/lxin/quic.git
72+
cd quic && sed -i '/LIBGNUTLS/d' configure.ac
73+
./autogen.sh && ./configure --prefix=/usr
74+
sudo make -C modules install
75+
cd ../ && rm -r quic
6776
- name: Install Python packages
6877
run: |
6978
pip install -U pip

0 commit comments

Comments
 (0)