Repository navigation
CI: the browser job serves the arigl-web package's page - #9
Merged
Merged
Conversation
…t from libcvc libcvc 3.7.8 publishes arigl-web (transfix/libcvc#952), and its single-threaded wasm package carries ari's xterm.js page in share/arigl-web/: ari.html, ari.js, ari.wasm, ari-web.* and xterm/, what tools/site.sh takes. So the browser job installs it with cvcpkg, as a site would, and drops the libcvc checkout, the emsdk and wasm deps, the cmake build and its cache. tools/libcvc.sh and tools/libcvc-resolve.py only fed that build, so they go, with the LIBCVC_REF/LIBCVC_PRS/LIBCVC_WEB_PRS env and the dispatch inputs. The test job's name is spelled out: it is still the required check main-protect lists. The packaged page is the full build: ari.wasm is 23.8 MB raw, 7.7 MB gzipped, against 8.8 MB and 3.1 MB for the lean one CI built. The install also lays down the static wasm libraries the page was linked from (about 126 MB of downloads in all); the site uses none of them.
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.
libcvc 3.7.8 is the first release to publish
arigl-web(transfix/libcvc#952). Its single-threaded wasm package carries ari's xterm.js page inshare/arigl-web/:ari.html,ari.js,ari.wasm,ari-web.*andxterm/. Those are the filestools/site.shtakes. The browser job now installs that package with cvcpkg, as a site would, instead of building the page from libcvc at a tag.cvcpkg install arigl-web --platform wasm --arch wasm32 --link static, thentools/site.sh "$ARI_WEB"for both the test site and the Pages site. Removed: the libcvc checkout, emsdk, the wasm deps, the cmake/ninja build and the page cache.tools/libcvc.sh,tools/libcvc-resolve.py, theLIBCVC_*env and theworkflow_dispatchinputs. They only fed that build.tests/run.sh (ari master + PRs), because that is still the required check in main-protect.Checked locally:
cvcpkg install arigl-web3.7.8+cvc.1 (wasm) givesshare/arigl-web/with every filesite.shchecks.tools/site.shassemblesapps/cypkg/from it.ari.htmldefaults tomain.ari, andweb/ariadne.config.jsonpins it anyway.Trade-offs:
ari.wasmis 23.8 MB raw and 7.7 MB gzipped, against 8.8 MB and 3.1 MB for the lean page CI built before. GitHub Pages serves the bigger one.