Increase the high-end GCC version in qt-ci (#3488)
This commit is contained in:
8
.github/workflows/qt-ci.yml
vendored
8
.github/workflows/qt-ci.yml
vendored
@@ -59,18 +59,18 @@ jobs:
|
||||
strategy:
|
||||
matrix:
|
||||
include:
|
||||
- name: Linux
|
||||
- name: Linux_GCC11
|
||||
os: ubuntu-24.04
|
||||
build_type: RelWithDebInfo
|
||||
qt_version: 6.8.1
|
||||
qt_target: desktop
|
||||
compiler: ""
|
||||
- name: Linux_GCC13
|
||||
- name: Linux_GCC14
|
||||
os: ubuntu-24.04
|
||||
build_type: RelWithDebInfo
|
||||
qt_version: 6.8.1
|
||||
qt_target: desktop
|
||||
compiler: "gcc-13"
|
||||
compiler: "gcc-14"
|
||||
- name: macOS
|
||||
os: macos-14
|
||||
build_type: RelWithDebInfo
|
||||
@@ -128,7 +128,7 @@ jobs:
|
||||
libegl1 \
|
||||
fonts-noto-cjk
|
||||
|
||||
- name: Install compiler
|
||||
- name: Install compiler (Linux)
|
||||
id: install_compiler
|
||||
if: runner.os == 'Linux' && matrix.compiler != ''
|
||||
uses: rlalik/setup-cpp-compiler@master
|
||||
|
||||
@@ -88,11 +88,15 @@ public:
|
||||
return;
|
||||
}
|
||||
Image newImage(size_);
|
||||
if (valid()) {
|
||||
if (!size_.isEmpty() && valid()) {
|
||||
assert(bytes()); // gcc12 bug
|
||||
newImage.fill(0);
|
||||
copy(*this,
|
||||
newImage,
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{std::min(size.width, size_.width), std::min(size.height, size_.height)});
|
||||
}
|
||||
copy(*this, newImage, {0, 0}, {0, 0}, {std::min(size.width, size_.width), std::min(size.height, size_.height)});
|
||||
operator=(std::move(newImage));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user