Use new image for GCC.

This commit is contained in:
Roman Telezhynskyi 2023-02-15 16:20:13 +02:00
parent db077cddef
commit 84ff119eae

View File

@ -19,7 +19,7 @@ regular_task_template: &REGULER_TASK_TEMPLATE
linux_qt6_task_template: &LINUX_QT6_TASK_TEMPLATE
install_script:
- bash -c "$PACKAGE_MANAGER_INSTALL -y qbs qt6-base-dev qt6-l10n-tools libqt6svg6-dev qt6-base-dev-tools qmake6 qbs libxerces-c-dev poppler-utils xvfb ccache"
- bash -c "$PACKAGE_MANAGER_INSTALL -y qbs qt6-base-dev qt6-l10n-tools libqt6svg6-dev qt6-base-dev-tools qmake6 qbs libxerces-c-dev poppler-utils libgl1-mesa-dev"
build_script:
- uname -a
- echo $PATH
@ -34,13 +34,12 @@ linux_qt6_task_template: &LINUX_QT6_TASK_TEMPLATE
- qbs setup-qt /usr/bin/qmake6 qt6
- qbs config profiles.qt6.baseProfile ${COMPILER}
- qbs-config defaultProfile qt6
- qbs config --list profiles
- qbs build -f valentina.qbs -d build --command-echo-mode command-line profile:qt6 config:release
- xvfb-run -a qbs -p autotest-runner
linux_qt5_qmake_task_template: &LINUX_QT5_QMAKE_TASK_TEMPLATE
install_script:
- bash -c "$PACKAGE_MANAGER_INSTALL qtbase5-dev libqt5svg5-dev qttools5-dev-tools libqt5xmlpatterns5-dev libqt5core5a libqt5gui5 libqt5printsupport5 libqt5svg5 libqt5widgets5 libqt5xml5 libqt5xmlpatterns5 poppler-utils xvfb ccache"
- bash -c "$PACKAGE_MANAGER_INSTALL qtbase5-dev libqt5svg5-dev qttools5-dev-tools libqt5xmlpatterns5-dev libqt5core5a libqt5gui5 libqt5printsupport5 libqt5svg5 libqt5widgets5 libqt5xml5 libqt5xmlpatterns5 poppler-utils"
build_script:
- uname -a
- echo $PATH
@ -51,7 +50,6 @@ linux_qt5_qmake_task_template: &LINUX_QT5_QMAKE_TASK_TEMPLATE
- ${COMPILER} --version
- ls -l /usr/bin/ | grep -E "${COMPILER_REGEX}"
- qmake --version
- qmake -query
- qmake ../Valentina.pro -r -spec linux-${COMPILER} CONFIG+=noDebugSymbols CONFIG+=checkWarnings
- 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"
@ -59,7 +57,7 @@ linux_qt5_qmake_task_template: &LINUX_QT5_QMAKE_TASK_TEMPLATE
linux_qt5_qbs_task_template: &LINUX_QT5_QBS_TASK_TEMPLATE
install_script:
- bash -c "$PACKAGE_MANAGER_INSTALL qbs qtbase5-dev libqt5svg5-dev qttools5-dev-tools libqt5xmlpatterns5-dev libqt5core5a libqt5gui5 libqt5printsupport5 libqt5svg5 libqt5widgets5 libqt5xml5 libqt5xmlpatterns5 poppler-utils xvfb ccache"
- bash -c "$PACKAGE_MANAGER_INSTALL qbs qtbase5-dev libqt5svg5-dev qttools5-dev-tools libqt5xmlpatterns5-dev libqt5core5a libqt5gui5 libqt5printsupport5 libqt5svg5 libqt5widgets5 libqt5xml5 libqt5xmlpatterns5 poppler-utils"
build_script:
- uname -a
- echo $PATH
@ -70,7 +68,6 @@ linux_qt5_qbs_task_template: &LINUX_QT5_QBS_TASK_TEMPLATE
- ls -l /usr/bin/ | grep -E "${COMPILER_REGEX}"
- qmake --version
- qbs --version
- qmake -query
- qbs setup-toolchains /usr/bin/${COMPILER} ${COMPILER}
- qbs setup-qt /usr/bin/qmake qt5
- qbs-config defaultProfile qt5
@ -163,7 +160,7 @@ task:
env:
QT_SELECT: "qt6"
- container:
image: eeks99/gcc-ubuntu:latest
image: dismine/gcc-ubuntu:latest
memory: 16G # Set to 16GB to avoid OOM. https://cirrus-ci.org/guide/linux/#linux-container
env:
COMPILER: gcc
@ -178,7 +175,7 @@ task:
<< : *LINUX_QT5_QBS_TASK_TEMPLATE
env:
QT_SELECT: "qt5"
- name: 'latest Clang [Qt6]'
- name: 'latest GCC [Qt6]'
<< : *LINUX_QT6_TASK_TEMPLATE
env:
QT_SELECT: "qt6"