Switch to another image.

This commit is contained in:
Roman Telezhynskyi 2023-02-15 11:05:35 +02:00
parent 448fb0e093
commit c8cee2f47f

View File

@ -1,7 +1,7 @@
### Global defaults ### Global defaults
env: env:
CCACHE_SIZE: "200M" CCACHE_SIZE: "800M"
CCACHE_DIR: "/tmp/ccache_dir" CCACHE_DIR: "/tmp/ccache_dir"
CCACHE_NOHASHDIR: "1" # Debug info might contain a stale path if the build dir changes, but this is fine CCACHE_NOHASHDIR: "1" # Debug info might contain a stale path if the build dir changes, but this is fine
CCACHE_CPP2: "yes" CCACHE_CPP2: "yes"
@ -38,6 +38,7 @@ linux_qt6_task_template: &LINUX_QT6_TASK_TEMPLATE
- which qbs - which qbs
- pwd - pwd
#- ${COMPILER} --version #- ${COMPILER} --version
- ls -l /usr/bin/ | grep ${COMPILER}
- qmake6 --version - qmake6 --version
- qbs --version - qbs --version
- qbs setup-toolchains --detect - qbs setup-toolchains --detect
@ -61,7 +62,7 @@ linux_qt5_qmake_task_template: &LINUX_QT5_QMAKE_TASK_TEMPLATE
- cd build - cd build
- pwd - pwd
#- ${COMPILER} --version #- ${COMPILER} --version
- ls -l /usr/bin/ - ls -l /usr/bin/ | grep ${COMPILER}
- qmake --version - qmake --version
- qmake ../Valentina.pro -r -spec linux-${COMPILER} CONFIG+=noDebugSymbols CONFIG+=checkWarnings - qmake ../Valentina.pro -r -spec linux-${COMPILER} CONFIG+=noDebugSymbols CONFIG+=checkWarnings
- make -j$(nproc) - make -j$(nproc)
@ -81,7 +82,7 @@ linux_qt5_qbs_task_template: &LINUX_QT5_QBS_TASK_TEMPLATE
- which qbs - which qbs
- pwd - pwd
#- ${COMPILER} --version #- ${COMPILER} --version
- ls -l /usr/bin/ - ls -l /usr/bin/ | grep ${COMPILER}
- qmake --version - qmake --version
- qbs --version - qbs --version
- qbs setup-toolchains --detect - qbs setup-toolchains --detect
@ -184,7 +185,7 @@ task:
task: task:
name: 'latest Clang [Qt5 QMake]' name: 'latest Clang [Qt5 QMake]'
container: container:
image: teeks99/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
<< : *LINUX_QT5_QMAKE_TASK_TEMPLATE << : *LINUX_QT5_QMAKE_TASK_TEMPLATE
env: env:
@ -194,7 +195,7 @@ task:
task: task:
name: 'latest Clang [Qt5 QBS]' name: 'latest Clang [Qt5 QBS]'
container: container:
image: teeks99/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
<< : *LINUX_QT5_QBS_TASK_TEMPLATE << : *LINUX_QT5_QBS_TASK_TEMPLATE
env: env:
@ -204,9 +205,9 @@ task:
task: task:
name: 'latest Clang [Qt6]' name: 'latest Clang [Qt6]'
container: container:
image: teeks99/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
<< : *LINUX_QT6_TASK_TEMPLATE << : *LINUX_QT6_TASK_TEMPLATE
env: env:
COMPILER: clang COMPILER: clang
TOOLCHAIN: clang-16 TOOLCHAIN: clang-16