From c3a4a9dbb046cdf0de3846e1861b59378e24349e Mon Sep 17 00:00:00 2001 From: DeeDeeG Date: Sun, 15 Dec 2024 21:23:54 -0500 Subject: [PATCH 1/2] CI: Add linux build dependencies for Linux 'test bins' job Need to fix a compilation error in CI which is resulting from missing X11-related headers. Some of these deps presumably have been removed or changed in the recent "ubuntu-latest means Ubuntu 24.04" change. See this tracking issue about the runner migration for details, maybe: github[dot]com/actions[slash]runner-images/issues/10636 So, adding all of these deps just to be sure our code can compile and be tested successfully in CI. These are the same deps as used above in the main "build" Linux part of the workflow file. --- .github/workflows/build.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a7fb479842..2c44b9c3ce 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -238,6 +238,10 @@ jobs: needs: build steps: + - name: Install build dependencies - Linux + if: ${{ runner.os == 'Linux' }} + run: sudo apt-get update && sudo apt-get install -y git python3 python3-pip make gcc g++ libx11-dev libxkbfile-dev pkg-config libsecret-1-dev rpm xvfb ffmpeg zstd wget squashfs-tools + - name: Checkout the latest code uses: actions/checkout@v4 From b3a60420180ce72309af25ed8c43006aa10839a1 Mon Sep 17 00:00:00 2001 From: DeeDeeG Date: Sun, 15 Dec 2024 23:00:37 -0500 Subject: [PATCH 2/2] Changelog: Add PR 1165 (deps fix for Linux CI) --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index f6c28a2377..4abc279fa2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,7 @@ ### Pulsar +- CI: Add build dependencies for Linux 'test bins' job [@DeeDeeG](https://github.com/pulsar-edit/pulsar/pull/1165) - Tree-sitter rolling fixes, 1.124 edition [@savetheclocktower](https://github.com/pulsar-edit/pulsar/pull/1148) - Fix Linux trash error message [@mauricioszabo](https://github.com/pulsar-edit/pulsar/pull/1151) - electron-builder: Don't create differential update blockmaps [@DeeDeeG](https://github.com/pulsar-edit/pulsar/pull/1139)