Skip to content

Commit

Permalink
No examples for Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-grunder committed Jun 26, 2024
1 parent f517a3c commit b3a56b9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ jobs:
run: |
brew install openssl valkey
- name: Build hiredis
- name: Build library
run: USE_SSL=1 make

- name: Run tests
Expand All @@ -174,10 +174,10 @@ jobs:
choco install -y ninja memurai-developer
- uses: ilammy/msvc-dev-cmd@v1
- name: Build hiredis
- name: Build library
run: |
mkdir build && cd build
cmake .. -G Ninja -DCMAKE_BUILD_TYPE=Release -DENABLE_EXAMPLES=ON
cmake .. -G Ninja -DCMAKE_BUILD_TYPE=Release
ninja -v
- name: Run tests
Expand Down
4 changes: 2 additions & 2 deletions tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@ if(SSL_LIBRARY)
set_property(TEST client_test PROPERTY ENVIRONMENT "TEST_SSL=1")
endif()

# Add cluster tests except on Windows
if (NOT WIN32)
# Add cluster tests if we have libevent
if (LIBEVENT_LIBRARY)
add_executable(ct_async ct_async.c)
target_link_libraries(ct_async valkey ${SSL_LIBRARY} ${LIBEVENT_LIBRARY})
add_test(NAME ct_async COMMAND "$<TARGET_FILE:ct_async>")
Expand Down

0 comments on commit b3a56b9

Please sign in to comment.