aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/docs.yml
diff options
context:
space:
mode:
authorMukilan Thiyagarajan <mukilan@igalia.com>2024-12-16 14:50:37 +0530
committerGitHub <noreply@github.com>2024-12-16 09:20:37 +0000
commit88a35b3cc99b6bf47099f1551b6a2349bba76c15 (patch)
tree67ad14a3a325e09c614b2ad53da50b846d023661 /.github/workflows/docs.yml
parentf757fa46acc865f42205d152dd06e381a674f788 (diff)
downloadservo-88a35b3cc99b6bf47099f1551b6a2349bba76c15.tar.gz
servo-88a35b3cc99b6bf47099f1551b6a2349bba76c15.zip
mach: adopt `uv` and avoid system python (#34632)
This allows us to use `uv` for: 1. Installing a pinned Python version 2. Installing the dependency packages using `uv`'s pip compatible interface. 4. Bootstrapping `mach` without a Python installion on the host, using `uv run` This change also introduces a new 'composite' GitHub action to setup python in the different CI workflows. There is no support for externally managed python installations and virtual environments. These could be added in the future. Fixes #34095, #34547 Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com>
Diffstat (limited to '.github/workflows/docs.yml')
-rw-r--r--.github/workflows/docs.yml3
1 files changed, 2 insertions, 1 deletions
diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml
index f546469f962..74530c40e1f 100644
--- a/.github/workflows/docs.yml
+++ b/.github/workflows/docs.yml
@@ -13,9 +13,10 @@ jobs:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
+ - name: Setup Python
+ uses: ./.github/actions/setup-python
- name: Bootstrap
run: |
- python3 -m pip install --upgrade pip
sudo apt update
python3 ./mach bootstrap --skip-lints
- name: Set LIBCLANG_PATH # This is needed for bindgen in mozangle.