Installing SFML & QT5 for tests, I'm tired

This commit is contained in:
Zoe Roux
2021-02-04 16:15:40 +01:00
parent 71e675457d
commit 1a8d582646
2 changed files with 4 additions and 7 deletions
+4 -1
View File
@@ -21,6 +21,9 @@ jobs:
uses: actions/setup-python@v1
with:
python-version: '3.x'
- name: Install the SFML.
run: sudo apt-get update &&
sudo apt-get install --yes libsfml-dev qt5-default
- name: Install Criterion
run: sudo add-apt-repository ppa:snaipewastaken/ppa &&
sudo apt-get update &&
@@ -28,7 +31,7 @@ jobs:
- name: Install Gcovr
run: python -m pip install --upgrade pip gcovr
- name: Build Makefile with CMake
run: mkdir -p build && cd build && cmake .. --target unit_tests
run: mkdir -p build && cd build && cmake ..
- name: Build with Makefile
run: make -C build unit_tests
- name: Execute tests
-6
View File
@@ -109,12 +109,6 @@ 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 ()
set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTORCC ON)
set(CMAKE_AUTOUIC ON)