-
Notifications
You must be signed in to change notification settings - Fork 625
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Jade Turner <[email protected]>
- Loading branch information
1 parent
39b333c
commit 75d015d
Showing
1 changed file
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -39,15 +39,15 @@ jobs: | |
run: sudo apt-get update && sudo apt-get install -y libopencv-dev libopencv4.5-java libprotobuf-dev protobuf-compiler ninja-build | ||
|
||
- name: Install dependencies (macOS) | ||
run: brew install opencv protobuf@3 ninja | ||
if: runner.os == 'macOS' | ||
run: brew install opencv protobuf@3 ninja | ||
|
||
- uses: ilammy/[email protected] | ||
if: runner.os == 'Windows' | ||
|
||
- name: Install CMake (Windows only) | ||
uses: lukka/[email protected] | ||
if: runner.os == 'Windows' | ||
uses: lukka/[email protected] | ||
|
||
- name: Run vcpkg (Windows only) | ||
if: runner.os == 'Windows' | ||
|
@@ -74,12 +74,12 @@ jobs: | |
SCCACHE_WEBDAV_PASSWORD: ${{ secrets.ARTIFACTORY_PASSWORD }} | ||
|
||
- name: test | ||
if: runner.os != 'Windows' | ||
working-directory: build-cmake | ||
run: ctest --output-on-failure | ||
if: runner.os != 'Windows' | ||
|
||
- name: test (windows) | ||
if: runner.os == 'Windows' | ||
working-directory: build-cmake | ||
# UnitTest_test segfaults on exit occasionally | ||
run: ctest --output-on-failure -E 'UnitTest' | ||
if: runner.os == 'Windows' |