Add the standard pipeline, building the web config
This repo was recorded as a build failure. It is not one: the verification sweep ran a bare sigil build, which selects dev, and this package's build task links a web application unconditionally. So a dev build compiles for the host and then asks the linker for a wasm module, producing the confusing
The linker did not leave a non-empty file starting with
the WASM magic bytes.sigil build --config web succeeds and yields a real artifact: build/web/sigil-web-repl.wasm, 1080735 bytes, leading with 0061736d.
Worth noting for whoever touches the task next: dev and release are plain native configs with no wasm target, yet the task links a web application for them too. A bare sigil build therefore fails in a way that reads like a broken toolchain rather than a wrong config. No binaryen or extra tooling was needed -- the linker in the sigil toolchain is sufficient.
The test step will be RED: no test files, so sigil test exits 1 with "No test files found". Expected until sigil 0.21.0.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01P6mPymR1ZBRV1nuyDpBxDF
.kiln/ci.sgv | 9 +++++++++
package.sgl | 8 ++++----
sigil.lock | 18 +++++++++---------
3 files changed, 22 insertions(+), 13 deletions(-).kiln/ci.sgvadded
(pipeline ci on: #[ (push) (manual) ] (job ci steps: #[ (shell name: deps "sigil deps install") (shell name: build "sigil build --config web") (shell name: test "sigil test") ]))package.sglmodified
(package name: "sigil-web-repl" version: "0.7.0" sigil: "^0.19" sigil: "0.20" description: "Interactive Sigil web REPL" url: "https://codeberg.org/sigil/sigil-web-repl" license: "BSD-3-Clause" features: '(web wasm))) dependencies: (list (from-git url: "codeberg:sigil/sigil" package: "sigil-wasm-runtime" version: "^0.19") (from-git url: "codeberg:sigil/sigil" package: "sigil-stdlib" version: "^0.19") (from-git url: "codeberg:sigil/sigil" package: "sigil-repl" version: "^0.19")) (from-git url: "codeberg:sigil/sigil" package: "sigil-wasm-runtime" version: "^0.20") (from-git url: "codeberg:sigil/sigil" package: "sigil-stdlib" version: "^0.20") (from-git url: "codeberg:sigil/sigil" package: "sigil-repl" version: "^0.20")) tasks: (list (tasksigil.lockmodified
(lock (package name: "sigil-wasm-runtime" url: "codeberg:sigil/sigil" ref: "^0.19" sha: "3d0668a0bf23c3fd144e5afe1cee65fc3232ee26" ref: "^0.20" sha: "2e452e2f641fcf63be4e88a2748b34791543be8f" package-selector: "sigil-wasm-runtime" version: "0.19.1") version: "0.20.3") (package name: "sigil-stdlib" url: "codeberg:sigil/sigil" ref: "^0.19" sha: "3d0668a0bf23c3fd144e5afe1cee65fc3232ee26" ref: "^0.20" sha: "2e452e2f641fcf63be4e88a2748b34791543be8f" package-selector: "sigil-stdlib" version: "0.19.1") version: "0.20.3") (package name: "sigil-repl" url: "codeberg:sigil/sigil" ref: "^0.19" sha: "3d0668a0bf23c3fd144e5afe1cee65fc3232ee26" ref: "^0.20" sha: "2e452e2f641fcf63be4e88a2748b34791543be8f" package-selector: "sigil-repl" version: "0.19.1") version: "0.20.3") (package name: "sigil-json" url: "codeberg:sigil/sigil-json" ref: "^0.16.0"