Skip to content

Commit 9e6a493

Browse files
committed
only test examples for windows
1 parent 3368840 commit 9e6a493

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

.github/workflows/test.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,14 +67,17 @@ jobs:
6767
refreshenv
6868
conan profile detect
6969
conan install . --output-folder=build-conan --build=missing -o "&:shared=False"
70-
cmake . --preset conan-default -DVIAMCPPSDK_BUILD_TESTS=ON -DVIAMCPPSDK_BUILD_EXAMPLES=ON
70+
cmake . --preset conan-default -DVIAMCPPSDK_BUILD_EXAMPLES=ON
7171
cmake --build --preset=conan-release --target ALL_BUILD install -j 8
7272
env:
7373
CONAN_USER_HOME: c:/cache
7474
CONAN_USER_HOME_SHORT: c:/cache/conan_shortpaths
7575

76-
- name: run tests
76+
- name: Test examples
7777
shell: powershell
7878
run: |
79-
ctest --preset=conan-release --output-on-failure
80-
79+
tree build
80+
cd build/install/bin
81+
ls
82+
Start-Job -ScriptBlock { ./simple_module asdf | Select-String -Pattern "Module listening on" } \
83+
| Wait-Job -Timeout 2 | Receive-Job

0 commit comments

Comments
 (0)