Skip to content
Snippets Groups Projects
Commit a483bcb5 authored by Dmitry Puzyrkov's avatar Dmitry Puzyrkov
Browse files

[+] windows tests pipline enabled.

parent 485c15fc
No related branches found
No related tags found
2 merge requests!897hotfix-6925,!832[+] windows tests pipline enabled.
......@@ -16,7 +16,7 @@ stages:
dependencies: []
tests:
linux-tests:
extends: .tests
image: demlabs/amd64/debian-bullseye:linuxbuilder
before_script: /opt/buildtools/prepare_environment.sh amd64-linux
......@@ -24,5 +24,13 @@ tests:
- mkdir build
- cd build && cmake .. -DBUILD_CELLFRAME_SDK_TESTS=ON -DOFF_CORE_CELLFRAME_SDK_TESTS_OFF=network-monitor -DOFF_CRYPTO_CELLFRAME_SDK_TESTS_OFF="new-hope, multisign" && make -j$(nproc)
windows-tests:
extends: .tests
image: demlabs/amd64/debian-bullseye:windowsbuilder
before_script: /opt/buildtools/prepare_environment.sh amd64-windows
script:
- mkdir build
- cd build && export PATH=${MXE_ROOT}/usr/bin:$PATH && x86_64-w64-mingw32.static-cmake .. -DBUILD_CELLFRAME_SDK_TESTS=ON -DOFF_CORE_CELLFRAME_SDK_TESTS_OFF=network-monitor -DOFF_CRYPTO_CELLFRAME_SDK_TESTS_OFF="new-hope, multisign" && make -j$(nproc)
......@@ -28,7 +28,7 @@ add_executable(rpmalloc_bench
rpmalloc/test/timer.c
)
if(WIN32)
target_link_libraries(rpmalloc_bench dap_core m pthread ntdll psapi Shlwapi)
target_link_libraries(rpmalloc_bench dap_core m pthread ntdll psapi shlwapi)
endif()
if(UNIX)
target_link_libraries(rpmalloc_bench dap_core m pthread)
......@@ -42,7 +42,7 @@ add_executable(crtmalloc_bench
rpmalloc/test/timer.c
)
if(WIN32)
target_link_libraries(crtmalloc_bench dap_core m pthread ntdll psapi Shlwapi)
target_link_libraries(crtmalloc_bench dap_core m pthread ntdll psapi shlwapi)
endif()
if(UNIX)
target_link_libraries(crtmalloc_bench dap_core m pthread)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment