Skip to content

Commit

Permalink
Make sure libx11-dev is installed in the Ubuntu GitHub CI build.
Browse files Browse the repository at this point in the history
  • Loading branch information
henricj committed Jan 15, 2025
1 parent d10faee commit 23cd10b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/coverity-scan-ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 23cd10b

Please sign in to comment.