From 76a0b0055074bef59080bdaca55489bdd3fb6c49 Mon Sep 17 00:00:00 2001 From: Simon Quigley Date: Tue, 2 Jan 2024 11:51:31 -0600 Subject: [PATCH] Add an Ubuntu devel CI. --- .github/workflows/nightly-ubuntu.yml | 34 ++++++++++++++++++++ ci/deps-ubuntu.sh | 47 ++++++++++++++++++++++++++++ 2 files changed, 81 insertions(+) create mode 100644 .github/workflows/nightly-ubuntu.yml create mode 100755 ci/deps-ubuntu.sh diff --git a/.github/workflows/nightly-ubuntu.yml b/.github/workflows/nightly-ubuntu.yml new file mode 100644 index 000000000..2e7da133a --- /dev/null +++ b/.github/workflows/nightly-ubuntu.yml @@ -0,0 +1,34 @@ +name: nightly-ubuntu + +on: + schedule: + - cron: "12 23 * * *" + workflow_dispatch: + +env: + BUILDDIR: /build + SRCDIR: ${{ github.workspace }} + CMAKE_ARGS: | + -DKDE_INSTALL_USE_QT_SYS_PATHS=ON + -DCMAKE_BUILD_TYPE=Debug + +jobs: + build: + runs-on: ubuntu-latest + container: + image: docker://ubuntu:devel + options: --tmpfs /build:rw --user 0:0 + steps: + - name: "prepare git" + shell: bash + run: | + apt-get update + apt-get -y install git-core jq curl + - name: "prepare source" + uses: calamares/actions/generic-checkout@v5 + - name: "install dependencies" + shell: bash + run: ./ci/deps-ubuntu.sh + - name: "build" + shell: bash + run: ./ci/build.sh diff --git a/ci/deps-ubuntu.sh b/ci/deps-ubuntu.sh new file mode 100755 index 000000000..ddc41560b --- /dev/null +++ b/ci/deps-ubuntu.sh @@ -0,0 +1,47 @@ +#! /bin/sh +# +# Install dependencies for the nightly-ubuntu (devel) build +# These build dependencies are grabbed directly from the Debian package +# +apt-get update +apt-get -y install git-core jq curl ninja +apt-get -y install \ + build-essential \ + cmake \ + extra-cmake-modules \ + gettext \ + libappstreamqt5-dev \ + libkf5config-dev \ + libkf5coreaddons-dev \ + libkf5crash-dev \ + libkf5i18n-dev \ + libkf5iconthemes-dev \ + libkf5kio-dev \ + libkf5parts-dev \ + libkf5plasma-dev \ + libkf5service-dev \ + libkf5solid-dev \ + libkpmcore-dev \ + libparted-dev \ + libpolkit-qt5-1-dev \ + libpwquality-dev \ + libqt5svg5-dev \ + libqt5webkit5-dev \ + libyaml-cpp-dev \ + os-prober \ + pkg-config \ + pkg-kde-tools \ + polkitd \ + python3-dev \ + python3-jsonschema \ + python3-yaml \ + qml-module-qtquick-layouts \ + qml-module-qtquick-privatewidgets \ + qml-module-qtquick-window2 \ + qml-module-qtquick2 \ + qtbase5-dev \ + qtdeclarative5-dev \ + qtlocation5-dev \ + qttools5-dev \ + qttools5-dev-tools +true