Stream: git-wasmtime

Topic: wasmtime / PR #7315 Build "min" artifacts on CI


view this post on Zulip Wasmtime GitHub notifications bot (Oct 20 2023 at 22:41):

alexcrichton requested wasmtime-core-reviewers for a review on PR #7315.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 20 2023 at 22:41):

alexcrichton requested fitzgen for a review on PR #7315.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 20 2023 at 22:41):

alexcrichton requested wasmtime-default-reviewers for a review on PR #7315.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 20 2023 at 22:41):

alexcrichton opened PR #7315 from alexcrichton:min-builds to bytecodealliance:main:

This commit updates the binary artifacts produced by CI to include "min"
builds where all default features are disabled. Additionally all the
stops are pulled in terms of build flags, nightly versions, etc, to get
a build that is as small as possible without actual source code changes.
This effectively codifies the instructions in https://github.com/bytecodealliance/wasmtime/pull/7282 into an easily
downloadable artifact.

No new tarballs are created for github releases but instead tarballs
that previously had a wasmtime executable for example now have a
wasmtime-min executable. Furthermore the C API which previously had
libwasmtime.so for example now has libwasmtime-min.so. The intention
is that the minimum-size artifacts are handy for determining a rough
size of Wasmtime but they're not so important that it seems worthwhile
to dedicate entire release entries for.

CI is refactored to support these minimum builds with separate builders.
This means that a single tarball produced as a final result is actually
two separate tarballs merged together, one for the normal build we do
today plus a new "min" tarball produced on the new "min" builders.
Various scripts and CI organization has been adjusted accordingly.

While here I went ahead and enabled panic=abort and debuginfo
stripping in our current release artifacts. While this doesn't affect a
whole lot it's less to upload to GitHub Actions all the time.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 20 2023 at 22:41):

alexcrichton updated PR #7315.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 23 2023 at 16:26):

pchickey submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 23 2023 at 17:27):

alexcrichton merged PR #7315.


Last updated: Oct 23 2024 at 20:03 UTC