From 23cd10b1b5577856218468ee299a2750aa56ff4b Mon Sep 17 00:00:00 2001 From: Henric Jungheim Date: Wed, 15 Jan 2025 10:40:24 -0700 Subject: [PATCH] Make sure libx11-dev is installed in the Ubuntu GitHub CI build. --- .github/workflows/build.yml | 4 ++++ .github/workflows/coverity-scan-ubuntu.yml | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 586901c2..870bcd4d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -43,6 +43,10 @@ jobs: - name: Get cmake and ninja uses: lukka/get-cmake@latest + - name: Install packages + if: runner.os == 'Linux' + run: sudo apt update && sudo apt install -y libx11-dev + - name: Fetch repo uses: actions/checkout@v4 with: diff --git a/.github/workflows/coverity-scan-ubuntu.yml b/.github/workflows/coverity-scan-ubuntu.yml index 5e59a9fc..891c75c1 100644 --- a/.github/workflows/coverity-scan-ubuntu.yml +++ b/.github/workflows/coverity-scan-ubuntu.yml @@ -25,9 +25,9 @@ jobs: #sudo add-apt-repository ppa:ubuntu-toolchain-r/test sudo apt-get update sudo apt-get dist-upgrade -y - sudo apt-get install -y gcc-11 g++-11 gettext - sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-11 50 - sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-11 50 + sudo apt-get install -y gcc-14 g++-14 gettext libx11-dev + sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-14 50 + sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-14 50 - name: Get cmake and ninja uses: lukka/get-cmake@latest