1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2025-01-27 09:08:25 +00:00

Add gitlab CI.

This commit is contained in:
Brenden Matthews 2019-02-22 21:57:10 -05:00
parent b3db652f4b
commit ed1d6eb8fd
No known key found for this signature in database
GPG Key ID: 1D7EDBF64E428281
2 changed files with 27 additions and 4 deletions

23
.gitlab-ci.yml Normal file
View File

@ -0,0 +1,23 @@
stages:
- build
- test
- lint
image: brndnmtthws/conky-builder:latest
build:
script:
- mkdir build
- cd build
- cmake ..
- make -j4
test:
script:
- cd build
- make test
lint:
- cd build
- cmake -DCHECK_CODE_QUALITY=ON ..
- make check

View File

@ -95,10 +95,10 @@ if(MAINTAINER_MODE)
endif(MAINTAINER_MODE)
if(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
install(FILES conky.desktop DESTINATION share/applications)
install(FILES logo/conky-logomark-violet.svg DESTINATION share/icons/hicolor/scalable/apps)
endif (${CMAKE_SYSTEM_NAME} MATCHES "Linux")
install(FILES conky.desktop DESTINATION share/applications)
install(FILES logo/conky-logomark-violet.svg
DESTINATION share/icons/hicolor/scalable/apps)
endif(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
if(CHECK_CODE_QUALITY)
# Set up clang-tidy