Cleaning.

This commit is contained in:
Roman Telezhynskyi 2023-02-15 14:35:32 +02:00
parent 7a10fe8d80
commit 8e84ce8f2d

View File

@ -26,14 +26,12 @@ linux_qt6_task_template: &LINUX_QT6_TASK_TEMPLATE
- which qmake6 - which qmake6
- which qbs - which qbs
- pwd - pwd
#- ${COMPILER} --version - ${COMPILER} --version
- ls -l /usr/bin/ | grep -E "${COMPILER_REGEX}" - ls -l /usr/bin/ | grep -E "${COMPILER_REGEX}"
- qmake6 --version - qmake6 --version
- qmake6 -query
- qbs --version - qbs --version
- qbs setup-toolchains /usr/bin/${COMPILER} ${COMPILER} - qbs setup-toolchains /usr/bin/${COMPILER} ${COMPILER}
- qbs setup-qt /usr/bin/qmake6 qt6 - qbs setup-qt /usr/bin/qmake6 qt6
- qbs config profiles.qt6.qbs.targetPlatform linux
- qbs config profiles.qt6.baseProfile ${COMPILER} - qbs config profiles.qt6.baseProfile ${COMPILER}
- qbs-config defaultProfile qt6 - qbs-config defaultProfile qt6
- qbs config --list profiles - qbs config --list profiles
@ -50,7 +48,7 @@ linux_qt5_qmake_task_template: &LINUX_QT5_QMAKE_TASK_TEMPLATE
- mkdir build - mkdir build
- cd build - cd build
- pwd - pwd
#- ${COMPILER} --version - ${COMPILER} --version
- ls -l /usr/bin/ | grep -E "${COMPILER_REGEX}" - ls -l /usr/bin/ | grep -E "${COMPILER_REGEX}"
- qmake --version - qmake --version
- qmake -query - qmake -query
@ -68,15 +66,15 @@ linux_qt5_qbs_task_template: &LINUX_QT5_QBS_TASK_TEMPLATE
- which qmake - which qmake
- which qbs - which qbs
- pwd - pwd
#- ${COMPILER} --version - ${COMPILER} --version
- ls -l /usr/bin/ | grep -E "${COMPILER_REGEX}" - ls -l /usr/bin/ | grep -E "${COMPILER_REGEX}"
- qmake --version - qmake --version
- qbs --version - qbs --version
- qmake -query - qmake -query
- qbs setup-toolchains --detect - qbs setup-toolchains /usr/bin/${COMPILER} ${COMPILER}
- qbs setup-qt /usr/bin/qmake qt5 - qbs setup-qt /usr/bin/qmake qt5
- qbs-config defaultProfile qt5 - qbs-config defaultProfile qt5
- qbs config profiles.qt5.baseProfile ${TOOLCHAIN} - qbs config profiles.qt5.baseProfile ${COMPILER}
- qbs build -f valentina.qbs -d build --command-echo-mode command-line profile:qt5 config:release - qbs build -f valentina.qbs -d build --command-echo-mode command-line profile:qt5 config:release
- xvfb-run -a qbs -p autotest-runner - xvfb-run -a qbs -p autotest-runner
@ -149,9 +147,8 @@ task:
image: dismine/clang-ubuntu:latest image: dismine/clang-ubuntu:latest
memory: 8G # Set to 8GB to avoid OOM. https://cirrus-ci.org/guide/linux/#linux-container memory: 8G # Set to 8GB to avoid OOM. https://cirrus-ci.org/guide/linux/#linux-container
env: env:
COMPILER: clang++ COMPILER: clang
COMPILER_REGEX: clang COMPILER_REGEX: clang
TOOLCHAIN: clang-16
matrix: matrix:
- name: 'latest Clang [Qt5 QMake]' - name: 'latest Clang [Qt5 QMake]'
<< : *LINUX_QT5_QMAKE_TASK_TEMPLATE << : *LINUX_QT5_QMAKE_TASK_TEMPLATE
@ -171,7 +168,6 @@ task:
env: env:
COMPILER: gcc COMPILER: gcc
GCC_COLORS: 'error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quote=01' GCC_COLORS: 'error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quote=01'
TOOLCHAIN: x86_64-pc-linux-gnu-gcc-12_2
COMPILER_REGEX: "gcc|g\\+\\+" COMPILER_REGEX: "gcc|g\\+\\+"
matrix: matrix:
- name: 'latest GCC [Qt5 QMake]' - name: 'latest GCC [Qt5 QMake]'