Commit7083bf74Recorded2 Sep 2026Repositorysigil-web-repl

Add the standard pipeline, building the web config

Message

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

Changed
 .kiln/ci.sgv |  9 +++++++++
 package.sgl  |  8 ++++----
 sigil.lock   | 18 +++++++++---------
 3 files changed, 22 insertions(+), 13 deletions(-)
Diff
.kiln/ci.sgvadded
@@ -0,0 +1,9 @@
+1
(pipeline ci
+2
on: #[ (push) (manual) ]
+3
+4
(job ci
+5
steps: #[
+6
(shell name: deps "sigil deps install")
+7
(shell name: build "sigil build --config web")
+8
(shell name: test "sigil test")
+9
]))
package.sglmodified
@@ -7,7 +7,7 @@
7
(package
8
name: "sigil-web-repl"
9
version: "0.7.0"
−10
sigil: "^0.19"
+10
sigil: "0.20"
11
description: "Interactive Sigil web REPL"
12
url: "https://codeberg.org/sigil/sigil-web-repl"
13
license: "BSD-3-Clause"
@@ -43,9 +43,9 @@
43
features: '(web wasm)))
44
45
dependencies: (list
−46
(from-git url: "codeberg:sigil/sigil" package: "sigil-wasm-runtime" version: "^0.19")
−47
(from-git url: "codeberg:sigil/sigil" package: "sigil-stdlib" version: "^0.19")
−48
(from-git url: "codeberg:sigil/sigil" package: "sigil-repl" version: "^0.19"))
+46
(from-git url: "codeberg:sigil/sigil" package: "sigil-wasm-runtime" version: "^0.20")
+47
(from-git url: "codeberg:sigil/sigil" package: "sigil-stdlib" version: "^0.20")
+48
(from-git url: "codeberg:sigil/sigil" package: "sigil-repl" version: "^0.20"))
49
50
tasks: (list
51
(task
sigil.lockmodified
@@ -2,22 +2,22 @@
2
(lock
3
(package name: "sigil-wasm-runtime"
4
url: "codeberg:sigil/sigil"
−5
ref: "^0.19"
−6
sha: "3d0668a0bf23c3fd144e5afe1cee65fc3232ee26"
+5
ref: "^0.20"
+6
sha: "2e452e2f641fcf63be4e88a2748b34791543be8f"
7
package-selector: "sigil-wasm-runtime"
−8
version: "0.19.1")
+8
version: "0.20.3")
9
(package name: "sigil-stdlib"
10
url: "codeberg:sigil/sigil"
−11
ref: "^0.19"
−12
sha: "3d0668a0bf23c3fd144e5afe1cee65fc3232ee26"
+11
ref: "^0.20"
+12
sha: "2e452e2f641fcf63be4e88a2748b34791543be8f"
13
package-selector: "sigil-stdlib"
−14
version: "0.19.1")
+14
version: "0.20.3")
15
(package name: "sigil-repl"
16
url: "codeberg:sigil/sigil"
−17
ref: "^0.19"
−18
sha: "3d0668a0bf23c3fd144e5afe1cee65fc3232ee26"
+17
ref: "^0.20"
+18
sha: "2e452e2f641fcf63be4e88a2748b34791543be8f"
19
package-selector: "sigil-repl"
−20
version: "0.19.1")
+20
version: "0.20.3")
21
(package name: "sigil-json"
22
url: "codeberg:sigil/sigil-json"
23
ref: "^0.16.0"