Skip to content

Commit b65ce5e

Browse files
committed
Fix cross-plarform build failure
Signed-off-by: Siddharth Chandrasekaran <sidcha.dev@gmail.com>
1 parent 20bbbab commit b65ce5e

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/cross-plaform-build.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,14 @@ jobs:
2323
with:
2424
submodules: recursive
2525
- name: Configure
26-
run: cmake -B build -DCMAKE_BUILD_TYPE=Debug -DOPT_OSDP_LIB_ONLY=on .
26+
run: cmake -B build -DCMAKE_BUILD_TYPE=Debug .
2727
- name: Build
2828
run: cmake --build build --parallel 8
29+
# Unit tests are gated on NOT MSVC in CMakeLists.txt (utils/tests depend
30+
# on pthread and POSIX APIs not available under MSVC), so the `check`
31+
# target only exists on Linux/macOS. Skip the step on Windows.
2932
- name: Run unit-tests
33+
if: matrix.os != 'windows-latest'
3034
run: cmake --build build --parallel 8 --target check
3135
- name: Pack built binaries
3236
run: cmake --build build --target package

0 commit comments

Comments
 (0)