Files
RedBear-OS/local/recipes/libs/libepoxy/source/.github/workflows/linux.yml
T
vasilito 1a9d77761e fix(qtdeclarative): properly generate qtquick-config.h features
The qtquick-config.h file was being generated empty by the cmake
build, causing 'division by zero in #if' errors in downstream
consumers (SDDM, KWin) because QT_CONFIG(quick_shadereffect) and
QT_CONFIG(quick_draganddrop) were undefined.

Two fixes:
1. Explicitly enable QT_FEATURE_quick_shadereffect and
   QT_FEATURE_quick_draganddrop in the cmake configuration.
2. Add a safety net that regenerates qtquick-config.h with the
   required feature definitions if cmake produces an empty file.
2026-06-21 15:12:40 +03:00

39 lines
913 B
YAML

name: Ubuntu
on:
push:
branches-ignore:
- debian
- khronos-registry
jobs:
build:
strategy:
matrix:
os:
- ubuntu-18.04
compiler:
- gcc
- clang
build-opts:
- ''
- '-Dglx=no'
- '-Degl=no'
- '-Dx11=false'
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- run: >
sudo apt-get update &&
sudo apt-get install --no-install-recommends
libgl1-mesa-dev
libegl1-mesa-dev
libgles2-mesa-dev
libgl1-mesa-dri
ninja-build
- uses: actions/setup-python@v2
with:
python-version: 3.x
- run: |
python -m pip install --upgrade pip
pip3 install meson
/bin/sh -c "CC=${{ matrix.compiler }} .github/scripts/epoxy-ci-linux.sh ${{ matrix.build-opts }}"