mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-12-25 12:10:03 +00:00
Test make install
target, and release build.
This commit is contained in:
parent
40ead046df
commit
b6213bdb26
@ -467,6 +467,19 @@ freebsd12 clang-7:
|
||||
- if [ "$COMPILER" == "clang-7" ] ; then make -j4 test-conky-coverage-txt ; fi
|
||||
- if [ "$COMPILER" == "clang-7" ] ; then make -j4 test-conky-coverage-html ; fi
|
||||
- if [ "$COMPILER" == "clang-7" ] ; then lcov-summary test-conky-coverage-html.info.cleaned ; fi
|
||||
- make -j4
|
||||
- if [[ "$DISTRO" == "freebsd12" ]] ; then sudo make install ; else make install ; fi
|
||||
- conky -v
|
||||
- >
|
||||
cmake
|
||||
-DCMAKE_C_COMPILER_LAUNCHER=sccache
|
||||
-DCMAKE_CXX_COMPILER_LAUNCHER=sccache
|
||||
-DCMAKE_BUILD_TYPE=RelWithDebInfo
|
||||
-DRELEASE=ON
|
||||
..
|
||||
- make -j4
|
||||
- if [[ "$DISTRO" == "freebsd12" ]] ; then sudo make install ; else make install ; fi
|
||||
- conky -v
|
||||
coverage: '/Total Coverage:\s+(\d+\.\d+)%/'
|
||||
artifacts:
|
||||
name: "$CI_JOB_NAME-$CI_COMMIT_REF_NAME-coverage-report"
|
||||
|
@ -30,7 +30,7 @@ pushd "$BUILD_DIR"
|
||||
|
||||
# configure build files with cmake
|
||||
# we need to explicitly set the install prefix, as CMake's default is /usr/local for some reason...
|
||||
cmake -DRELEASE=ON -DCMAKE_INSTALL_PREFIX=/usr "$REPO_ROOT"
|
||||
cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DRELEASE=ON -DCMAKE_INSTALL_PREFIX=/usr "$REPO_ROOT"
|
||||
|
||||
# build project and install files into AppDir
|
||||
make -j4
|
||||
|
Loading…
Reference in New Issue
Block a user