Skip to content

Commit 33cb881

Browse files
committed
add debug printout for Runtime.hs for github CI
1 parent 5d3a611 commit 33cb881

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

.github/workflows/main.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,20 @@ jobs:
4343
- name: Bun build prod
4444
run: bun run build && bun run prod
4545

46+
- name: Debug Verify miso source content
47+
run: |
48+
echo "=== Git state ==="
49+
git log -1 --oneline
50+
echo "=== Local Runtime.hs Bidirectional definition ==="
51+
grep -B2 -A5 "data.*Bidirectional\|Bidirectional.*=" src/Miso/Runtime.hs || echo "Not found in expected location"
52+
echo "=== Nix source path evaluation ==="
53+
nix-instantiate --eval --strict -E '
54+
let pkgs = import <nixpkgs> {};
55+
sources = import ./nix/source.nix { inherit pkgs; };
56+
in sources.miso' 2>&1 | head -20
57+
echo "=== Hash of local Runtime.hs ==="
58+
sha256sum src/Miso/Runtime.hs
59+
4660
- name: (JS) Miso GHCJS (GHCJS 8.6)
4761
run: nix-build -A miso-ghcjs
4862

0 commit comments

Comments
 (0)