Repository navigation
build: faster symbol archives, skip test artifacts on publish - #52942
Closed
VerteDinde wants to merge 1 commit into
Closed
VerteDinde wants to merge 1 commit into
VerteDinde wants to merge 1 commit into
Conversation
* build: compress symbol archives faster and skip test artifacts on publish dsym.tar.xz was written by single-threaded xz, which takes 25-45 minutes per macOS publish job for the ~7GB of dSYMs; use multi-threaded xz (bsdtar --options xz:threads=0, XZ_OPT=-T0 for GNU tar). Drop the symbol zips from deflate level 9 to 6, which is ~1.7x faster for ~0.4% larger output; pdb.zip on Windows took 8-16 minutes at level 9. Publish and release-build jobs have no test consumers, so pass generate-test-artifacts: false to skip the src_artifacts tar (12+ minutes on Windows) and the linux arm64 cross-arch snapshot (~6 minutes). The mksnapshot_args fixup is also needed by the released mksnapshot.zip, so it now runs for release builds regardless of that flag. No-Verification-Needed: CI workflow and packaging script changes only * build: only zip symbols when the build asked for them No-Verification-Needed: CI action condition only (cherry picked from commit 7eb7b5f)
3 tasks done
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.
Backport of #52745
See that PR for details.
Manual backport notes: 43-x-y's publish workflows still use
pipeline-segment-electron-publish.yml(nopublish:input) and have the extra linuxarm/ windowsx86jobs, sogenerate-test-artifacts: falsewas added to every publish job inlinux-publish.yml,macos-publish.ymlandwindows-publish.yml;release-build.ymldoes not exist on this branch and is dropped. Thebuild-electron/action.ymlandscript/lib/util.pyhunks are identical tomain.Notes: none