-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes most remaining issues in CI to get most jobs green. - Enable building non-cluster test on FreeBSD in CI. - Don't run tests on Windows in CI workflow "CI". - CMake correction for libevent header. - Update compilers in CI build matrix. Use latest available gcc/clang in workflow "CI". - Fix 32bit build in CI workflow "C/C++ CI". Signed-off-by: Björn Svensson <[email protected]>
- Loading branch information
Showing
5 changed files
with
22 additions
and
57 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
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
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
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 |
---|---|---|
|
@@ -32,9 +32,7 @@ jobs: | |
run: sudo apt-get update && sudo apt-get install gcc-multilib | ||
- uses: actions/checkout@v3 | ||
- name: Run make | ||
run: make all | ||
env: | ||
PLATFORM_FLAGS: -m32 | ||
run: make 32bit | ||
- name: Run unittests | ||
env: | ||
REDIS_DOCKER: redis:alpine | ||
|
@@ -71,26 +69,3 @@ jobs: | |
REDIS_DOCKER: redis:alpine | ||
TEST_PREFIX: ${{matrix.emulator}} -L /usr/${{matrix.toolset}}/ | ||
run: make check | ||
|
||
build-windows: | ||
name: Build and test on windows 64 bit Intel | ||
runs-on: windows-latest | ||
steps: | ||
- uses: microsoft/[email protected] | ||
- uses: actions/checkout@v3 | ||
- name: Run CMake (shared lib) | ||
run: cmake -Wno-dev CMakeLists.txt | ||
- name: Build shared library | ||
run: MSBuild hiredis.vcxproj /p:Configuration=Debug | ||
- name: Run CMake (static lib) | ||
run: cmake -Wno-dev CMakeLists.txt -DBUILD_SHARED_LIBS=OFF | ||
- name: Build static library | ||
run: MSBuild hiredis.vcxproj /p:Configuration=Debug | ||
- name: Build test.exe | ||
run: MSBuild hiredis-test.vcxproj /p:Configuration=Debug | ||
# use memurai, redis compatible server, since it is easy to install. Can't | ||
# install official redis containers on the windows runner | ||
- name: Install Memurai redis server | ||
run: choco install -y memurai-developer.install | ||
- name: Run tests | ||
run: Debug\hiredis-test.exe |
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