Repository navigation
release.yml: the cache script from the workflow's commit, and faster runners by repo variable - #139
Merged
Merged
Conversation
… commit (a sparse checkout into .workflow), not the tag's tree: a dispatched dry run that fills the cache builds an older tag (v0.1.3-rc3), whose tree has no tools/release/compile-cache.sh, so its Linux and Windows jobs stopped at 'Use the compile cache' with exit 127
…s one (vars RELEASE_MAC_RUNNER, RELEASE_LINUX_RUNNER, RELEASE_WINDOWS_RUNNER; a third party's), else GitHub's own as before. GitHub's macOS runner is a 3-core M1 with 7 GB: a cold release build took 183 minutes there, Linux 105 and Windows 142 (0.1.2-rc5)
…e: RELEASE_*_RUNNER hold runs-on label lists (a machine and a cache volume), RELEASE_RUNNER_CACHE=1 keeps the build folder and cargo's downloads on the volume between runs (nscloud-cache-action, after the tag's checkout), so a candidate rebuilds what changed and links. The cleanup that deletes target/ is skipped there (a bind mount on Linux), and the Mac's Xcode pruning runs only on GitHub's runner. sccache on R2 stays for the workspace's own crates, which a fresh checkout's file times mark as changed
This file contains hidden or 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
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.
#138's dry run to fill the cache (workflow_dispatch on main, tag v0.1.3-rc3) stopped at 'Use the compile cache' with exit 127: the job checks out the tag, and rc3's tree has no tools/release/compile-cache.sh. The script now comes from the workflow's own commit (github.sha), a sparse checkout into .workflow. Nothing in the release scripts checks for untracked files.