Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
8fbd62f
chore: Upgrade libwebrtc to m137.
cloudwebrtc Aug 28, 2025
ffd5ba9
fix compile issue for linux.
cloudwebrtc Aug 28, 2025
1815e23
fix.
cloudwebrtc Sep 16, 2025
ed6063d
Add g++ for aarch64 to Ubuntu dependencies
cloudwebrtc Sep 16, 2025
687edc5
fix build for linux arm64.
cloudwebrtc Sep 16, 2025
f12118e
Remove goma usage and switch to autoninja
cloudwebrtc Sep 16, 2025
d6c8d68
fix android build.
cloudwebrtc Sep 16, 2025
770f172
fix build on linux arm64 for gcc.
cloudwebrtc Sep 16, 2025
996a202
Update Windows OS version in workflow configuration
cloudwebrtc Sep 16, 2025
2b90351
Add GCC 14 installation steps for Ubuntu
cloudwebrtc Sep 16, 2025
79872ad
Update webrtc-builds.yml
cloudwebrtc Sep 16, 2025
b698d1a
Change Windows OS to latest and add SDK installation
cloudwebrtc Sep 16, 2025
03921f3
Update webrtc-builds.yml
cloudwebrtc Sep 16, 2025
3d304de
Update webrtc-builds.yml
cloudwebrtc Sep 16, 2025
016bdef
Update webrtc-builds.yml
cloudwebrtc Sep 16, 2025
5edf00e
Update webrtc-builds.yml
cloudwebrtc Sep 16, 2025
48f6587
Update build_linux.sh
cloudwebrtc Sep 16, 2025
10848d6
Update webrtc-builds.yml
cloudwebrtc Sep 16, 2025
756d71a
Update webrtc-builds.yml
cloudwebrtc Sep 16, 2025
2e92f57
Update build_windows.cmd
cloudwebrtc Sep 16, 2025
41531ed
cargo fmt.
cloudwebrtc Sep 16, 2025
c7695c4
Update build_windows.cmd
cloudwebrtc Sep 16, 2025
bc0ac9f
clean.
cloudwebrtc Sep 16, 2025
83c7fa9
fix wgpu_room crash on macOS 26.
cloudwebrtc Sep 16, 2025
6193c52
add lldb launch for wgpu_room.
cloudwebrtc Sep 16, 2025
a8b5d7d
Update GitHub Actions workflow for Windows and Python
cloudwebrtc Sep 17, 2025
1615f92
Update webrtc-builds.yml
cloudwebrtc Sep 17, 2025
7ca451e
Update webrtc-builds.yml
cloudwebrtc Sep 17, 2025
8b937c5
Merge branch 'main' into duan/upgrade-libwebrtc-to-m137
cloudwebrtc Sep 17, 2025
4a6904c
bump version for webrtc libraries.
cloudwebrtc Sep 17, 2025
56cf5b8
fix build for win arm64.
cloudwebrtc Sep 18, 2025
656ca69
fix android ffi compile issue.
cloudwebrtc Sep 18, 2025
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
41 changes: 31 additions & 10 deletions .github/workflows/webrtc-builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@ jobs:
matrix:
target:
- name: win
os: windows-latest
os: windows-2022
cmd: .\build_windows.cmd
arch: x64

- name: win
os: windows-latest
os: windows-2022
cmd: .\build_windows.cmd
arch: arm64

Expand Down Expand Up @@ -104,17 +104,38 @@ jobs:
echo "OutName: ${{ steps.setup.outputs.OUT }}"
echo "OutZip: ${{ steps.setup.outputs.ZIP }}"

- uses: actions/checkout@v4
with:
submodules: true

- uses: actions/setup-python@v4
- uses: actions/checkout@v5
- uses: actions/setup-python@v5

- name: install setuptools (none-macOS)
if: ${{ matrix.target.os != 'macos-latest' }}
run: |
pip3 install setuptools # pkg_resources is sometimes not found?

- name: Add GCC PPA and install GCC 14
if: ${{ matrix.target.os == 'ubuntu-latest' }}
run: |
sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
sudo apt update
sudo apt install gcc-14 g++-14 g++-14-aarch64-linux-gnu -y

- name: Verify GCC 14 installation
if: ${{ matrix.target.os == 'ubuntu-latest' }}
run: |
gcc-14 --version
g++-14 --version
aarch64-linux-gnu-g++-14 --version

- name: Set GCC 14 as default (optional)
if: ${{ matrix.target.os == 'ubuntu-latest' }}
run: |
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-14 140 --slave /usr/bin/g++ g++ /usr/bin/g++-14
sudo update-alternatives --config gcc
gcc --version
sudo update-alternatives --install /usr/bin/aarch64-linux-gnu-gcc aarch64-linux-gnu-gcc /usr/bin/aarch64-linux-gnu-gcc-14 140 --slave /usr/bin/aarch64-linux-gnu-g++ aarch64-linux-gnu-g++ /usr/bin/aarch64-linux-gnu-g++-14
sudo update-alternatives --config aarch64-linux-gnu-gcc
aarch64-linux-gnu-gcc --version

- name: Install linux dependencies
if: ${{ matrix.target.os == 'ubuntu-latest' }}
run: |
Expand All @@ -126,7 +147,7 @@ jobs:
run: brew install ninja

- name: Install windows dependencies
if: ${{ matrix.target.os == 'windows-latest' }}
if: ${{ matrix.target.os == 'windows-2022' }}
run: |
Invoke-WebRequest -Uri "https://github.com/ninja-build/ninja/releases/latest/download/ninja-win.zip" -OutFile ninja.zip
Expand-Archive -Path ninja.zip -DestinationPath ${{ github.workspace }}\ninja
Expand All @@ -145,13 +166,13 @@ jobs:
working-directory: webrtc-sys/libwebrtc

- name: Zip artifact (Unix)
if: ${{ matrix.target.os != 'windows-latest' }}
if: ${{ matrix.target.os != 'windows-2022' }}
run: |
cd webrtc-sys/libwebrtc
zip ${{ github.workspace }}/${{ steps.setup.outputs.ZIP }} ${{ steps.setup.outputs.OUT }} -r

- name: Zip artifact (Windows)
if: ${{ matrix.target.os == 'windows-latest' }}
if: ${{ matrix.target.os == 'windows-2022' }}
run: Compress-Archive -Path .\webrtc-sys\libwebrtc\${{ steps.setup.outputs.OUT }} -DestinationPath ${{ steps.setup.outputs.ZIP }}

- name: Upload artifacts
Expand Down
12 changes: 12 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"version": "0.2.0",
"configurations": [
{
"type": "lldb",
"request": "launch",
"name": "wgpu_room(debug)",
"program": "${workspaceFolder}/examples/target/debug/wgpu_room",
"preLaunchTask": "build"
}
]
}
33 changes: 33 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"version": "2.0.0",
"tasks": [
{
"label": "build",
"type": "shell",
"command": "cargo",
"args": [
"build"
],
"options": {
"env": {
// cd webrtc-sys/libwebrtc && ./build_macos.sh --arch arm64 --profile debug
"LK_CUSTOM_WEBRTC": "${workspaceFolder}/webrtc-sys/libwebrtc/mac-arm64-debug"
},
"cwd": "${workspaceFolder}/examples"
},
"dependsOn": ["libwebrtc-build"]
},
{
"label": "libwebrtc-build",
"type": "shell",
"command": "./build_macos.sh",
"args": [
"--arch", "arm64",
"--profile", "debug"
],
"options": {
"cwd": "${workspaceFolder}/webrtc-sys/libwebrtc"
},
}
]
}
Loading
Loading