diff --git a/.github/workflows/nightly-debian.yml b/.github/workflows/nightly-debian.yml index 8de2932bc..a5ace8e95 100644 --- a/.github/workflows/nightly-debian.yml +++ b/.github/workflows/nightly-debian.yml @@ -19,52 +19,14 @@ jobs: image: docker://debian:11 options: --tmpfs /build:rw --user 0:0 steps: - - name: "prepare env" + - name: "prepare git" shell: bash - run: | - apt-get update - # Make sure we can send notices later - apt-get -y install git-core jq curl - apt-get -y install \ - build-essential \ - cmake \ - extra-cmake-modules \ - gettext \ - libatasmart-dev \ - libappstreamqt-dev \ - libboost-python-dev \ - libicu-dev \ - libparted-dev \ - libpolkit-qt5-1-dev \ - libqt5svg5-dev \ - libqt5webkit5-dev \ - libyaml-cpp-dev \ - os-prober \ - pkg-config \ - python3-dev \ - qtbase5-dev \ - qtdeclarative5-dev \ - qttools5-dev \ - qttools5-dev-tools - # Same name as on KDE neon, different version - apt-get -y install libkpmcore-dev - # Additional dependencies (KF5, +) - apt-get -y install \ - libkf5config-dev \ - libkf5coreaddons-dev \ - libkf5i18n-dev \ - libkf5iconthemes-dev \ - libkf5parts-dev \ - libkf5service-dev \ - libkf5solid-dev \ - libkf5crash-dev \ - libkf5package-dev \ - libkf5plasma-dev \ - libpwquality-dev \ - libqt5webenginewidgets5 \ - qtwebengine5-dev + run: 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-debian11.sh - name: "build" - id: build - uses: calamares/actions/generic-build@v4 + shell: bash + run: ./ci/build.sh diff --git a/ci/deps-debian11.sh b/ci/deps-debian11.sh new file mode 100644 index 000000000..505266f54 --- /dev/null +++ b/ci/deps-debian11.sh @@ -0,0 +1,45 @@ +#! /bin/sh +# +# Install dependencies for the nightly-debian (11) build +# +apt-get update +# Make sure we can send notices later +apt-get -y install git-core jq curl +apt-get -y install \ + build-essential \ + cmake \ + extra-cmake-modules \ + gettext \ + libatasmart-dev \ + libappstreamqt-dev \ + libboost-python-dev \ + libicu-dev \ + libparted-dev \ + libpolkit-qt5-1-dev \ + libqt5svg5-dev \ + libqt5webkit5-dev \ + libyaml-cpp-dev \ + os-prober \ + pkg-config \ + python3-dev \ + qtbase5-dev \ + qtdeclarative5-dev \ + qttools5-dev \ + qttools5-dev-tools +# Same name as on KDE neon, different version +apt-get -y install libkpmcore-dev +# Additional dependencies (KF5, +) +apt-get -y install \ + libkf5config-dev \ + libkf5coreaddons-dev \ + libkf5i18n-dev \ + libkf5iconthemes-dev \ + libkf5parts-dev \ + libkf5service-dev \ + libkf5solid-dev \ + libkf5crash-dev \ + libkf5package-dev \ + libkf5plasma-dev \ + libpwquality-dev \ + libqt5webenginewidgets5 \ + qtwebengine5-dev