Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .github/workflows/interop-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,15 @@ jobs:
sudo add-apt-repository ppa:wireshark-dev/nightly
sudo apt-get update
sudo apt-get install -y --no-install-recommends tshark
- name: Install Linux QUIC module
if: ${{ matrix.client == 'linuxquic' || inputs.server == 'linuxquic' }}
run: |
[ -f /usr/include/linux/quic.h ] && exit 0
git clone https://github.com/lxin/quic.git
cd quic && sed -i '/LIBGNUTLS/d' configure.ac
./autogen.sh && ./configure --prefix=/usr
sudo make -C modules install
cd ../ && rm -r quic
- name: Install Python packages
run: |
pip install -U pip
Expand Down
3 changes: 3 additions & 0 deletions implementations.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
import json
from enum import Enum
from typing import Dict
import os


class Role(Enum):
Expand All @@ -23,6 +24,8 @@ def get_implementations(filename: str) -> Dict[str, Dict[str, str | Role]]:
with open(filename, "r") as f:
data = json.load(f)
for name, val in data.items():
if name == "linuxquic" and not os.path.exists("/usr/include/linux/quic.h"):
continue
implementations[name] = {"image": val["image"], "url": val["url"]}
role = val["role"]
if role == "server":
Expand Down
5 changes: 5 additions & 0 deletions implementations_quic.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,5 +83,10 @@
"image": "us-central1-docker.pkg.dev/golang-interop-testing/quic/go-x-net:latest",
"url": "https://pkg.go.dev/golang.org/x/net/internal/quic",
"role": "both"
},
"linuxquic": {
"image": "quay.io/lxin/linuxquic-interop:latest",
"url": "https://github.com/lxin/quic",
"role": "both"
}
}