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 - cd build
- pwd - pwd
- qmake --version - 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" - "$CXX --version"
- make -j$(nproc) - 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" - 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 - pwd
- qmake --version - qmake --version
- QT_SELECT=qt5 qmake ../Valentina.pro -r CONFIG+=noDebugSymbols CONFIG+=no_ccache CONFIG+=checkWarnings CONFIG+=noTests - QT_SELECT=qt5 qmake ../Valentina.pro -r CONFIG+=noDebugSymbols CONFIG+=no_ccache CONFIG+=checkWarnings CONFIG+=noTests
- "$CXX --version"
- make -j$(nproc) - make -j$(nproc)
deploy_script: deploy_script:
- ../scripts/cirrus-deploy.sh - ../scripts/cirrus-deploy.sh
@ -86,9 +85,13 @@ task:
container: container:
image: gcc:latest image: gcc:latest
<< : *LINUX_TASK_TEMPLATE << : *LINUX_TASK_TEMPLATE
env:
COMPILER: linux-g++
task: task:
name: 'latest Clang' name: 'latest Clang'
container: container:
image: silkeh/clang:latest image: silkeh/clang:latest
<< : *LINUX_TASK_TEMPLATE << : *LINUX_TASK_TEMPLATE
env:
COMPILER: linux-clang