diff --git a/.github/workflows/nightly-fedora-qt6-boost.yml b/.github/workflows/nightly-fedora-qt6-boost.yml new file mode 100644 index 000000000..044baf839 --- /dev/null +++ b/.github/workflows/nightly-fedora-qt6-boost.yml @@ -0,0 +1,36 @@ +name: nightly-fedora-qt6 + +on: + schedule: + - cron: "52 2 * * *" + workflow_dispatch: + +env: + BUILDDIR: /build + SRCDIR: ${{ github.workspace }} + CMAKE_ARGS: | + -DKDE_INSTALL_USE_QT_SYS_PATHS=ON + -DCMAKE_BUILD_TYPE=Debug + -DWITH_QT6=ON + -DBUILD_APPSTREAM=ON + -DBUILD_APPDATA=ON + -DWITH_PYBIND11=OFF + +jobs: + build: + runs-on: ubuntu-latest + container: + image: docker://registry.fedoraproject.org/fedora:40 + options: --tmpfs /build:rw --user 0:0 + steps: + - name: "prepare git" + shell: bash + run: yum install -y git-core jq curl + - name: "prepare source" + uses: calamares/actions/generic-checkout@v5 + - name: "install dependencies" + shell: bash + run: ./ci/deps-fedora-qt6-boost.sh + - name: "build" + shell: bash + run: ./ci/build.sh diff --git a/ci/deps-fedora-qt6-boost.sh b/ci/deps-fedora-qt6-boost.sh new file mode 100755 index 000000000..01e3e3449 --- /dev/null +++ b/ci/deps-fedora-qt6-boost.sh @@ -0,0 +1,18 @@ +#! /bin/sh +# +# Install dependencies for the nightly-fedora-qt6-boost build +# + +yum install -y bison flex git make cmake gcc-c++ ninja-build +yum install -y yaml-cpp-devel libpwquality-devel parted-devel python-devel gettext gettext-devel +yum install -y libicu-devel libatasmart-devel +yum install -y boost-devel +# Qt6/KF6 dependencies +yum install -y qt6-qtbase-devel qt6-linguist qt6-qtbase-private-devel qt6-qtdeclarative-devel qt6-qtsvg-devel qt6-qttools-devel +yum install -y extra-cmake-modules kf6-kcoreaddons-devel kf6-kdbusaddons-devel kf6-kcrash-devel +yum install -y kf6-kconfig-devel kf6-ki18n-devel kf6-kwidgetsaddons-devel kf6-kservice-devel +yum install -y polkit-qt6-1-devel appstream-qt-devel +# Runtime dependencies for QML modules +yum install -y kf6-kirigami2-devel || true +yum install -y qt6-qt5compat-devel || true +true