forked from gfx-rs/naga
-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Optimize CI times #53
Closed
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ErichDonGubler
force-pushed
the
cache-cargo-in-ci
branch
from
April 4, 2023 21:38
631731c
to
631f7ac
Compare
ErichDonGubler
force-pushed
the
cache-cargo-in-ci
branch
2 times, most recently
from
April 10, 2023 14:17
741ed89
to
08806d1
Compare
ErichDonGubler
force-pushed
the
cache-cargo-in-ci
branch
3 times, most recently
from
April 14, 2023 14:32
a1dd4e5
to
980f051
Compare
ErichDonGubler
force-pushed
the
cache-cargo-in-ci
branch
from
May 22, 2023 19:24
980f051
to
0dcdef2
Compare
ErichDonGubler
force-pushed
the
xtask
branch
3 times, most recently
from
June 6, 2023 18:44
5b15581
to
1491e55
Compare
5 tasks
ErichDonGubler
force-pushed
the
cache-cargo-in-ci
branch
from
June 6, 2023 21:07
0dcdef2
to
79f2a48
Compare
ErichDonGubler
force-pushed
the
xtask
branch
2 times, most recently
from
June 8, 2023 14:47
4858ac2
to
8982be4
Compare
ErichDonGubler
force-pushed
the
cache-cargo-in-ci
branch
from
June 8, 2023 14:47
79f2a48
to
56ce052
Compare
Re-implement `naga` development workflows using [`cargo xtask`]. Convert `make` logic and shader test configuration as file with Bash variables into an `xtask` crate and YAML files, respectively. Pros: * We now have a _portable_ workflow everywhere, which means Windows folks and people who don't install `make` don't have to suffer. 😮💨 * Workflow logic is now relatively easy to inspect and change. Whew! 💁🏻♂️💦 * Contributors can use their existing Rust knowledge to contribute to developer experience. 🎉 * `cargo xtask` is a relatively well-known convention for workflows in the ecosystem. * We can do fancy things like allow folks to run at different log levels for workflows, depending on their tastes. Cons: * There's now a non-trivial compile step to project workflow. Incremental rebuilds seem to be pretty short, though! * Code is much more verbose than the (very) terse `make` implementation. [`cargo xtask`]: https://github.com/matklad/cargo-xtask
TODO: Explain why this is a good idea: * We will definitely need this for speeding up CI, which is the real impetus here. * This basically shouldn't affect anybody that is using a library version of Naga; only binaries consumers, who still have a choice whether they will honor a `Cargo.lock`.
ErichDonGubler
force-pushed
the
cache-cargo-in-ci
branch
from
June 8, 2023 16:53
56ce052
to
6c82314
Compare
ErichDonGubler
force-pushed
the
cache-cargo-in-ci
branch
from
June 8, 2023 16:54
6c82314
to
7c0eb48
Compare
Closing in favor of gfx-rs#2376. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
ci.yml:check-msrv
ci.yml:test:Default test
ci.yml:test:Test all features
ci.yml:check:Check benchmarks
ci.yml:check:Check naga-fuzz
ci.yml:documentation
validate-linux.yml:validate-linux