Skip to content

Commit b4d500b

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 2cf4b1e commit b4d500b

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
@@ -77,6 +77,15 @@ jobs:
7777
sudo add-apt-repository ppa:wireshark-dev/nightly
7878
sudo apt-get update
7979
sudo apt-get install -y --no-install-recommends tshark
80+
- name: Install Linux QUIC module
81+
if: ${{ matrix.client == 'linuxquic' || inputs.server == 'linuxquic' }}
82+
run: |
83+
[ -f /usr/include/linux/quic.h ] && exit 0
84+
git clone https://github.com/lxin/quic.git
85+
cd quic && sed -i '/LIBGNUTLS/d' configure.ac
86+
./autogen.sh && ./configure --prefix=/usr
87+
sudo make -C modules install
88+
cd ../ && rm -r quic
8089
- name: Install Python packages
8190
run: |
8291
pip install -U pip

0 commit comments

Comments
 (0)