From 34b5a2f0096892321b3ddd5e02eea28b49ebae9e Mon Sep 17 00:00:00 2001 From: dankeboy36 Date: Tue, 25 Feb 2025 15:49:36 +0100 Subject: [PATCH] fix: install missing linux dependencies Install `libx11-dev`, `libxkbfile-dev`, `libsecret-1-dev` libraries as the most recent update to ubuntu-latest does not include them Signed-off-by: dankeboy36 --- .github/workflows/check-i18n-task.yml | 6 ++++++ .github/workflows/check-javascript.yml | 6 ++++++ .github/workflows/check-yarn.yml | 6 ++++++ .github/workflows/i18n-nightly-push.yml | 6 ++++++ .github/workflows/i18n-weekly-pull.yml | 6 ++++++ .github/workflows/test-javascript.yml | 6 ++++++ .github/workflows/themes-weekly-pull.yml | 6 ++++++ 7 files changed, 42 insertions(+) diff --git a/.github/workflows/check-i18n-task.yml b/.github/workflows/check-i18n-task.yml index 22426313a..3064dc602 100644 --- a/.github/workflows/check-i18n-task.yml +++ b/.github/workflows/check-i18n-task.yml @@ -76,6 +76,12 @@ jobs: repo-token: ${{ secrets.GITHUB_TOKEN }} version: 3.x + - name: Install dependencies (Linux only) + if: runner.os == 'Linux' + run: | + sudo apt-get update + sudo apt-get install -y libx11-dev libxkbfile-dev libsecret-1-dev + - name: Install dependencies run: yarn install --immutable env: diff --git a/.github/workflows/check-javascript.yml b/.github/workflows/check-javascript.yml index 23162a19e..26720d48b 100644 --- a/.github/workflows/check-javascript.yml +++ b/.github/workflows/check-javascript.yml @@ -73,6 +73,12 @@ jobs: cache: yarn node-version: ${{ env.NODE_VERSION }} + - name: Install Dependencies (Linux only) + if: runner.os == 'Linux' + run: | + sudo apt-get update + sudo apt-get install -y libx11-dev libxkbfile-dev libsecret-1-dev + - name: Install npm package dependencies env: # Avoid failure of @vscode/ripgrep installation due to GitHub API rate limiting: diff --git a/.github/workflows/check-yarn.yml b/.github/workflows/check-yarn.yml index 3b2efe92c..019cfec88 100644 --- a/.github/workflows/check-yarn.yml +++ b/.github/workflows/check-yarn.yml @@ -72,6 +72,12 @@ jobs: cache: yarn node-version: ${{ env.NODE_VERSION }} + - name: Install Dependencies (Linux only) + if: runner.os == 'Linux' + run: | + sudo apt-get update + sudo apt-get install -y libx11-dev libxkbfile-dev libsecret-1-dev + - name: Install npm package dependencies env: # Avoid failure of @vscode/ripgrep installation due to GitHub API rate limiting: diff --git a/.github/workflows/i18n-nightly-push.yml b/.github/workflows/i18n-nightly-push.yml index 6f401a526..7b3ba2efc 100644 --- a/.github/workflows/i18n-nightly-push.yml +++ b/.github/workflows/i18n-nightly-push.yml @@ -34,6 +34,12 @@ jobs: repo-token: ${{ secrets.GITHUB_TOKEN }} version: 3.x + - name: Install dependencies (Linux only) + if: runner.os == 'Linux' + run: | + sudo apt-get update + sudo apt-get install -y libx11-dev libxkbfile-dev libsecret-1-dev + - name: Install dependencies run: yarn install --immutable diff --git a/.github/workflows/i18n-weekly-pull.yml b/.github/workflows/i18n-weekly-pull.yml index ef87c8bbb..6d75556d3 100644 --- a/.github/workflows/i18n-weekly-pull.yml +++ b/.github/workflows/i18n-weekly-pull.yml @@ -34,6 +34,12 @@ jobs: repo-token: ${{ secrets.GITHUB_TOKEN }} version: 3.x + - name: Install dependencies (Linux only) + if: runner.os == 'Linux' + run: | + sudo apt-get update + sudo apt-get install -y libx11-dev libxkbfile-dev libsecret-1-dev + - name: Install dependencies run: yarn install --immutable diff --git a/.github/workflows/test-javascript.yml b/.github/workflows/test-javascript.yml index 2ae001c7d..a1665f4f5 100644 --- a/.github/workflows/test-javascript.yml +++ b/.github/workflows/test-javascript.yml @@ -107,6 +107,12 @@ jobs: repo-token: ${{ secrets.GITHUB_TOKEN }} version: 3.x + - name: Install Dependencies (Linux only) + if: runner.os == 'Linux' + run: | + sudo apt-get update + sudo apt-get install -y libx11-dev libxkbfile-dev libsecret-1-dev + - name: Install npm package dependencies env: # Avoid failure of @vscode/ripgrep installation due to GitHub API rate limiting: diff --git a/.github/workflows/themes-weekly-pull.yml b/.github/workflows/themes-weekly-pull.yml index 0590e421f..4daa767ba 100644 --- a/.github/workflows/themes-weekly-pull.yml +++ b/.github/workflows/themes-weekly-pull.yml @@ -36,6 +36,12 @@ jobs: repo-token: ${{ secrets.GITHUB_TOKEN }} version: 3.x + - name: Install dependencies (Linux only) + if: runner.os == 'Linux' + run: | + sudo apt-get update + sudo apt-get install -y libx11-dev libxkbfile-dev libsecret-1-dev + - name: Install dependencies run: yarn install --immutable