Define compiler on linux.

This commit is contained in:
Roman Telezhynskyi 2021-09-24 13:39:43 +03:00
parent 5bbbecbb91
commit 505a58489f

View File

@ -25,7 +25,7 @@ linux_task_template: &LINUX_TASK_TEMPLATE
- cd build
- pwd
- qmake --version
- qmake ../Valentina.pro -r -spec linux-clang CONFIG+=noDebugSymbols CONFIG+=checkWarnings
- qmake ../Valentina.pro -r -spec ${COMPILER} CONFIG+=noDebugSymbols CONFIG+=checkWarnings
- "$CXX --version"
- make -j$(nproc)
- export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:"$CIRRUS_WORKING_DIR/build/src/libs/vpropertyexplorer/bin:$CIRRUS_WORKING_DIR/build/src/libs/qmuparser/bin"
@ -60,7 +60,6 @@ macos_task_template: &MACOS_TASK_TEMPLATE
- pwd
- qmake --version
- QT_SELECT=qt5 qmake ../Valentina.pro -r CONFIG+=noDebugSymbols CONFIG+=no_ccache CONFIG+=checkWarnings CONFIG+=noTests
- "$CXX --version"
- make -j$(nproc)
deploy_script:
- ../scripts/cirrus-deploy.sh
@ -86,9 +85,13 @@ task:
container:
image: gcc:latest
<< : *LINUX_TASK_TEMPLATE
env:
COMPILER: linux-g++
task:
name: 'latest Clang'
container:
image: silkeh/clang:latest
<< : *LINUX_TASK_TEMPLATE
env:
COMPILER: linux-clang