ci: Set LLVM_PATH when building docs (#31095)

* Add llvm to path

This is needed on 22.04 runners (that we started using in https://github.com/servo/servo/pull/31088).

* Update docs.yml

---------

Co-authored-by: Martin Robinson <mrobinson@igalia.com>
This commit is contained in:
Samson 2024-01-16 13:19:32 +01:00 committed by GitHub
parent f2b3e497b2
commit c06ae7faf2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -20,6 +20,8 @@ jobs:
python3 -m pip install --upgrade pip python3 -m pip install --upgrade pip
sudo apt update sudo apt update
python3 ./mach bootstrap python3 ./mach bootstrap
- name: Set LIBCLANG_PATH # This is needed for bindgen in mozangle.
run: echo "LIBCLANG_PATH=/usr/lib/llvm-14/lib" >> $GITHUB_ENV
- name: Compile docs - name: Compile docs
run: python3 ./mach doc run: python3 ./mach doc
env: env: