aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMukilan Thiyagarajan <mukilan@igalia.com>2024-12-20 16:30:43 +0530
committerMukilan Thiyagarajan <mukilan@igalia.com>2024-12-20 17:50:16 +0530
commit61bfd2f8b3f17fa988830447f169b97fd87c624c (patch)
tree2cc9b4882a3cad540b8b2539e1473121dcfb3b49
parentadfee3daa536f75bff7074d2f8e5e1a4863d983b (diff)
downloadservo-fix-nightly-build-mozjs-issue.tar.gz
servo-fix-nightly-build-mozjs-issue.zip
ci: explictly install Clang 14 on Linux runnersfix-nightly-build-mozjs-issue
The nightly build jobs run on Ubuntu 20.04 to ensure the glibc version is compatible with WPT.fyi runners. But this version of Ubuntu has an older clang version (10) that is not compatible with mozjs. This patch ensures both the nightly and regular linux jobs explicity install Clang 14 using the KyleMayes/install-llvm-action@v2 action. Fixes #34713. Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com>
-rw-r--r--.github/workflows/linux.yml9
1 files changed, 5 insertions, 4 deletions
diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml
index 9f1ebbf1e1b..1ab5c5ceb49 100644
--- a/.github/workflows/linux.yml
+++ b/.github/workflows/linux.yml
@@ -124,10 +124,11 @@ jobs:
run: |
git switch --detach
git reset --hard FETCH_HEAD
-
- - name: Set LIBCLANG_PATH env # needed for bindgen in mozangle
- if: ${{ runner.environment != 'self-hosted' && !inputs.upload }} # not needed on ubuntu 20.04 used for nightly
- run: echo "LIBCLANG_PATH=/usr/lib/llvm-14/lib" >> $GITHUB_ENV
+ - name: Install LLVM and Clang
+ if: ${{ runner.environment != 'self-hosted' }}
+ uses: KyleMayes/install-llvm-action@v2
+ with:
+ version: 14
- name: Setup Python
if: ${{ runner.environment != 'self-hosted' }}
uses: ./.github/actions/setup-python