Commit Graph

14 Commits

Author SHA1 Message Date
Martin Robinson
2946fa83ec ci: Switch to actions/checkout@v4 (#31379)
This change also removes the use of `fetch-depth: 2` where it isn't
necessary. These were likely copy-and-pasted from other workflows.
2024-02-19 16:23:53 +00:00
Samson
c06ae7faf2 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>
2024-01-16 12:19:32 +00:00
Martin Robinson
0d240b8713 deps: Raise the Python requirement to 3.10 (#31088)
This will allow us to use the pip's new dependency resolver.
2024-01-15 11:56:15 +00:00
Martin Robinson
01013b9ea8 Re-enable minification to fix the doc build (#30871)
Disable isn't possible for non-nightly versions of Rust, so this is
currently breaking the doc build. In addition, it seems that the
original issue that triggered this change [^1] is now fixed.

[^1]: https://github.com/rust-lang/rust/issues/58849
2023-12-13 16:57:43 +00:00
Corey Farwell
117d59d393 Replace virtualenv with Python's built-in venv (#30377)
* Replace virtualenv with Python's built-in venv.

* Apply Delan's suggestions and make a couple small fixes

- Fix a tidy warning about directories that don't exist
- Use shutil instead of the redundant get_exec_path
- Miscellaneous cleanups

* Fix typo in environment variable

* fix bug where pip still tries to the wrong site-packages

---------

Co-authored-by: Martin Robinson <mrobinson@igalia.com>
Co-authored-by: Delan Azabani <dazabani@igalia.com>
2023-12-07 08:18:30 +00:00
Martin Robinson
63701b338c Fix the upload docs action after renaming master to main (#30820) 2023-12-04 10:51:52 +00:00
Martin Robinson
23add0c1e5 Rename the master branch to main 2023-12-04 10:11:56 +01:00
Samson
d470955032 Add --document-private-items to Docs CI (#30329)
Docs CI overrides RUSTDOCFLAGS
2023-09-10 13:16:57 +00:00
Martin Robinson
1abbfeb1cf Fix the rustdoc build after recent changes
If passing --disable-minification, we must also enable unstable-options.
This was happening before, but by accident.
2023-06-21 11:38:59 +02:00
sagudev
4a7075b0db Do not run specialized workflow on forks 2023-02-24 17:46:21 +01:00
Dirk Stolle
bc151643cf Update actions/checkout in GitHub Actions workflows to v3
Signed-off-by: Dirk Stolle <striezel-dev@web.de>
2022-12-17 22:30:39 +01:00
Josh Matthews
96315e0193 Use master branch for github docs push. 2021-05-25 11:59:38 -04:00
Josh Matthews
7a593bcc38 Set up virtualenv before compiling docs. 2021-05-24 19:40:48 -04:00
Josh Matthews
a82b268be0 Convert more taskcluster jobs to Github Actions. 2021-05-23 11:16:09 -04:00