Skip to content

Commit 21bab19

Browse files
Fix unit tests on all platforms
1 parent a931038 commit 21bab19

1 file changed

Lines changed: 2 additions & 15 deletions

File tree

.github/workflows/builds.yml

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ jobs:
5959
name: linux-arm64
6060
build_cmd: ./build.sh release-examples
6161
build_dir: build-release
62+
test_build_cmd: ./build.sh release-tests
6263
run_tests: true
6364
- os: macos-latest
6465
name: macos-arm64
@@ -70,6 +71,7 @@ jobs:
7071
name: macos-x64
7172
build_cmd: ./build.sh release-examples --macos-arch x86_64
7273
build_dir: build-release
74+
test_build_cmd: ./build.sh release-tests --macos-arch x86_64
7375
run_tests: true
7476
- os: windows-latest
7577
name: windows-x64
@@ -268,28 +270,13 @@ jobs:
268270
& "${{ matrix.build_dir }}/bin/livekit_unit_tests.exe" `
269271
--gtest_output=xml:${{ matrix.build_dir }}/unit-test-results.xml
270272
271-
- name: Run integration tests (Unix)
272-
if: runner.os != 'Windows' && matrix.run_tests
273-
shell: bash
274-
run: |
275-
${{ matrix.build_dir }}/bin/livekit_integration_tests \
276-
--gtest_output=xml:${{ matrix.build_dir }}/integration-test-results.xml
277-
278-
- name: Run integration tests (Windows)
279-
if: runner.os == 'Windows' && matrix.run_tests
280-
shell: pwsh
281-
run: |
282-
& "${{ matrix.build_dir }}/bin/livekit_integration_tests.exe" `
283-
--gtest_output=xml:${{ matrix.build_dir }}/integration-test-results.xml
284-
285273
- name: Upload test results
286274
if: always() && matrix.run_tests
287275
uses: actions/upload-artifact@v4
288276
with:
289277
name: test-results-${{ matrix.name }}
290278
path: |
291279
${{ matrix.build_dir }}/unit-test-results.xml
292-
${{ matrix.build_dir }}/integration-test-results.xml
293280
retention-days: 7
294281

295282
# ---------- Upload artifacts ----------

0 commit comments

Comments
 (0)