CI: Debian 9 is too old, stick with 10, update dependencies

This commit is contained in:
Adriaan de Groot 2021-02-02 12:13:45 +01:00
parent 4acf0d4d34
commit d4a5640446

View File

@ -1,4 +1,4 @@
name: ci-debian-9 name: ci-debian-10
on: on:
schedule: schedule:
@ -18,7 +18,7 @@ jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
container: container:
image: docker://debian:9 image: docker://debian:10
options: --tmpfs /build:rw --user 0:0 options: --tmpfs /build:rw --user 0:0
steps: steps:
- name: "prepare env" - name: "prepare env"
@ -52,7 +52,18 @@ jobs:
qtdeclarative5-dev \ qtdeclarative5-dev \
qttools5-dev \ qttools5-dev \
qttools5-dev-tools qttools5-dev-tools
# Same name as on KDE neon, different version
apt-get -y install libkpmcore-dev apt-get -y install libkpmcore-dev
# Additional dependencies
apt-get -y install \
libappstreamqt-dev \
libicu-dev \
libkf5crash-dev \
libkf5package-dev \
libkf5plasma-dev \
libpwquality-dev \
libqt5webenginewidgets5 \
qtwebengine5-dev
- name: "prepare source" - name: "prepare source"
uses: actions/checkout@v2 uses: actions/checkout@v2
- name: "prepare build" - name: "prepare build"
@ -78,7 +89,7 @@ jobs:
server: chat.freenode.net server: chat.freenode.net
nickname: cala-notify nickname: cala-notify
channel: "#calamares" channel: "#calamares"
message: "${{ github.workflow }} OK ${{ github.repository }} ${{ steps.pre_build.outputs.message }}" message: "${{ github.workflow }} OK ${{ steps.pre_build.outputs.message }}"
- name: "notify: fail" - name: "notify: fail"
uses: rectalogic/notify-irc@v1 uses: rectalogic/notify-irc@v1
if: ${{ failure() && github.repository == 'calamares/calamares' }} if: ${{ failure() && github.repository == 'calamares/calamares' }}
@ -86,4 +97,4 @@ jobs:
server: chat.freenode.net server: chat.freenode.net
nickname: cala-notify nickname: cala-notify
channel: "#calamares" channel: "#calamares"
message: "${{ github.workflow }} FAIL ${{ github.repository }} ${{ steps.pre_build.outputs.message }}\n.. DIFF ${{ github.event.compare }}" message: "${{ github.workflow }} FAIL ${{ steps.pre_build.outputs.message }}\n.. DIFF ${{ github.event.compare }}"