Skip to content

Commit

Permalink
build wheel
Browse files Browse the repository at this point in the history
  • Loading branch information
keepingitneil committed Jan 12, 2024
1 parent bef9686 commit ea4b090
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/build-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,17 @@ jobs:
with:
submodules: recursive

- name: Virtual Env
run: python -m venv venv
- name: Install pdoc
run: python -m pip install --upgrade pdoc

- name: Install Package to Document
run: source venv/bin/activate && python -m pip install ${{ inputs.package_dir }}/
- name: Build Wheel
run: python -m cibuildwheel --output-dir dist --platform linux ./$ {{ inputs.package_dir }}}

- name: Install pdoc
run: source venv/bin/activate && pip install --upgrade pdoc
- name: List Dist
run: ls dist

- name: Install Wheel
run: python -m pip install dist/*.whl

- name: Build Docs
run: source venv/bin/activate && python -m pdoc ${{ inputs.package_name }} --docformat=google --output-dir docs
Expand Down
2 changes: 1 addition & 1 deletion livekit-rtc/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ build-backend = "setuptools.build_meta"

[tool.cibuildwheel]
build = "cp39-*"
# skip = "*-musllinux_*" # not supported (libwebrtc is using glibc)
skip = "*-musllinux_*" # not supported (libwebrtc is using glibc)

before-build = "pip install requests && python rust-sdks/download_ffi.py --output livekit/rtc/resources"

Expand Down

0 comments on commit ea4b090

Please sign in to comment.