Skip to content

Commit 1af7097

Browse files
committed
wip
1 parent ed33f59 commit 1af7097

File tree

3 files changed

+20
-1
lines changed

3 files changed

+20
-1
lines changed

.github/workflows/build-rtc.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,20 +139,29 @@ jobs:
139139
- os: ubuntu-latest
140140
python-version: "3.13"
141141
artifact: rtc-release-ubuntu-latest
142+
- os: ubuntu-latest
143+
python-version: "3.14"
144+
artifact: rtc-release-ubuntu-latest
142145
# macOS tests (arm64 runner)
143146
- os: macos-latest
144147
python-version: "3.9"
145148
artifact: rtc-release-macos-latest
146149
- os: macos-latest
147150
python-version: "3.12"
148151
artifact: rtc-release-macos-latest
152+
- os: macos-latest
153+
python-version: "3.14"
154+
artifact: rtc-release-macos-latest
149155
# Windows tests
150156
- os: windows-latest
151157
python-version: "3.9"
152158
artifact: rtc-release-windows-latest
153159
- os: windows-latest
154160
python-version: "3.12"
155161
artifact: rtc-release-windows-latest
162+
- os: windows-latest
163+
python-version: "3.14"
164+
artifact: rtc-release-windows-latest
156165
uses: ./.github/workflows/tests.yml
157166
with:
158167
os: ${{ matrix.os }}

.github/workflows/tests.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,10 @@ jobs:
3737
submodules: true
3838
lfs: true
3939

40-
- uses: actions/setup-python@v4
40+
- uses: actions/setup-python@v5
4141
with:
4242
python-version: ${{ inputs.python-version }}
43+
allow-prereleases: true
4344

4445
- name: Install uv
4546
uses: astral-sh/setup-uv@v5

tests/rtc/test_import.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
"""Smoke test: import the SDK and initialize the FFI library."""
2+
3+
4+
def test_import_and_ffi_initialize():
5+
from livekit import rtc # noqa: F401
6+
from livekit.rtc._ffi_client import FfiClient
7+
8+
# accessing .instance triggers livekit_ffi_initialize
9+
assert FfiClient.instance is not None

0 commit comments

Comments
 (0)