mirror of
https://github.com/servo/servo.git
synced 2025-08-11 16:35:33 +01:00
mach: recreate .venv when .python-version changes (#34712)
The new images published in servo/ci-runners#12 should have `uv` installed already and the initial build of servo triggered during the base image construction will force the installation of the Python version mentioned at the time of the image construction (3.12). When .python-version changes, we can no longer use the .venv baked into the image and must recreate the it to avoid activating the environment. Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com>
This commit is contained in:
parent
50c9c72778
commit
adfee3daa5
12 changed files with 46 additions and 46 deletions
4
.github/workflows/docs.yml
vendored
4
.github/workflows/docs.yml
vendored
|
@ -18,11 +18,11 @@ jobs:
|
|||
- name: Bootstrap
|
||||
run: |
|
||||
sudo apt update
|
||||
python3 ./mach bootstrap --skip-lints
|
||||
./mach bootstrap --skip-lints
|
||||
- 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
|
||||
run: python3 ./mach doc
|
||||
run: ./mach doc
|
||||
env:
|
||||
RUSTDOCFLAGS: --document-private-items
|
||||
- name: Upload docs
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue