Finishing the windows's CI (I think)

This commit is contained in:
AnonymusRaccoon
2020-02-06 15:43:41 +01:00
parent 105d03d186
commit 9da1698b0b
2 changed files with 7 additions and 1 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ jobs:
- name: Build Makefile with CMake
run: |
Set-Location build
cmake -DCMAKE_CXX_FLAGS=-isystem\ build/include .. -G "MinGW Makefiles" -DCMAKE_SH="CMAKE_SH-NOTFOUND"
cmake .. -G "MinGW Makefiles" -DCMAKE_SH="CMAKE_SH-NOTFOUND" -DGITBUILD=true
- name: Build with Makefile
run: mingw32-make -C build ComSquare
- name: Copy shared libs
+6
View File
@@ -52,6 +52,12 @@ add_executable(unit_tests
target_link_libraries(unit_tests criterion -lgcov)
target_compile_options(unit_tests PUBLIC -fprofile-arcs -ftest-coverage)
if ("${GITBUILD}" STREQUAL true)
include_directories(ComSquare build/include)
link_directories(ComSquare build/lib)
message("Git build is true")
endif ()
# make app
add_executable(ComSquare
main.cpp