Skip to content

Commit 10cf19d

Browse files
Run unit tests across all remaining stages
1 parent 2bbf618 commit 10cf19d

1 file changed

Lines changed: 15 additions & 6 deletions

File tree

.github/workflows/tests.yml

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -46,19 +46,24 @@ jobs:
4646
strategy:
4747
fail-fast: false
4848
matrix:
49-
# `e2e-testing: true` enables the livekit-server-backed integration
50-
# tests. Windows opts out, mirroring the Rust SDK's tests.yml — see
51-
# client-sdk-rust/.github/workflows/tests.yml. Build + unit tests
52-
# still run on every platform.
5349
include:
5450
- os: ubuntu-latest
5551
name: linux-x64
52+
build_cmd: ./build.sh release-tests
5653
e2e-testing: true
54+
- os: ubuntu-24.04-arm
55+
name: linux-arm64
56+
build_cmd: ./build.sh release-tests
5757
- os: macos-latest-xlarge
5858
name: macos-arm64
59+
build_cmd: ./build.sh release-tests
5960
e2e-testing: true
61+
- os: macos-26-large
62+
name: macos-x64
63+
build_cmd: ./build.sh release-tests --macos-arch x86_64
6064
- os: windows-latest
6165
name: windows-x64
66+
build_cmd: .\build.cmd release-tests
6267

6368
name: Test (${{ matrix.name }})
6469
runs-on: ${{ matrix.os }}
@@ -121,6 +126,10 @@ jobs:
121126
with:
122127
toolchain: stable
123128

129+
- name: Install Rust cross-compilation target
130+
if: matrix.name == 'macos-x64'
131+
run: rustup target add x86_64-apple-darwin
132+
124133
# ---------- Cache Cargo ----------
125134
- name: Cache Cargo
126135
uses: Swatinem/rust-cache@c19371144df3bb44fab255c43d04cbc2ab54d1c4 # v2.9.1
@@ -142,12 +151,12 @@ jobs:
142151
shell: bash
143152
run: |
144153
chmod +x build.sh
145-
./build.sh release-tests
154+
${{ matrix.build_cmd }}
146155
147156
- name: Build tests (Windows)
148157
if: runner.os == 'Windows'
149158
shell: pwsh
150-
run: .\build.cmd release-tests
159+
run: ${{ matrix.build_cmd }}
151160

152161
# ---------- Run unit tests ----------
153162
- name: Run unit tests (Unix)

0 commit comments

Comments
 (0)