From 70aefd4db462980f8dc508cb8eb24dcbe1d4a0e8 Mon Sep 17 00:00:00 2001 From: Michael Keller Date: Sun, 24 Sep 2023 19:28:33 +1300 Subject: [PATCH] Fix coverity Scan Workflow. Update the virtual machine to run on Ubuntu 22.04 ('latest' at the time of writing). Signed-off-by: Michael Keller --- .github/workflows/coverity-scan.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/coverity-scan.yml b/.github/workflows/coverity-scan.yml index 385fc49ee..1b618ec7c 100644 --- a/.github/workflows/coverity-scan.yml +++ b/.github/workflows/coverity-scan.yml @@ -4,10 +4,10 @@ on: - cron: '0 18 * * *' # Daily at 18:00 UTC jobs: - CoverityScanBuildOnBionic: - runs-on: ubuntu-18.04 + CoverityScanBuildOnUbuntu: + runs-on: ubuntu-latest container: - image: ubuntu:18.04 # yes, this looks redundant, but something is messed up with their Ubuntu image that causes our builds to fail + image: ubuntu:22.04 steps: - name: checkout sources @@ -15,15 +15,16 @@ jobs: - name: add build dependencies run: | - apt update - apt install -y \ + apt-get update + apt-get upgrade -y + DEBIAN_FRONTEND=noninteractive apt-get install -y -q --force-yes \ wget curl \ autoconf automake cmake g++ git libcrypto++-dev libcurl4-gnutls-dev \ libgit2-dev libqt5qml5 libqt5quick5 libqt5svg5-dev \ libqt5webkit5-dev libsqlite3-dev libssh2-1-dev libssl-dev libssl-dev \ libtool libusb-1.0-0-dev libxml2-dev libxslt1-dev libzip-dev make \ pkg-config qml-module-qtlocation qml-module-qtpositioning \ - qml-module-qtquick2 qt5-default qt5-qmake qtchooser qtconnectivity5-dev \ + qml-module-qtquick2 qt5-qmake qtchooser qtconnectivity5-dev \ qtdeclarative5-dev qtdeclarative5-private-dev qtlocation5-dev \ qtpositioning5-dev qtscript5-dev qttools5-dev qttools5-dev-tools \ qtquickcontrols2-5-dev libbluetooth-dev libmtp-dev