Author SHA1 Message Date
nandi 3aa78f6ab1 Merge pull request 'M6: elements and window — Element/Render, headless Window, div, canvas' (#6) from feat/window into main
CI / moon fmt, check, test (push) Successful in 23s
2026-11-29 06:14:49 +00:00
nandi dc3645fa58 Merge pull request 'Porting plan + first pure slice: geometry, color, scene' (#1) from feat/geometry-color-scene into main
CI / moon fmt, check, test (push) Successful in 18s
2026-11-29 06:14:36 +00:00
nandiandClaude Opus 5.5 30bd8b86b2 Merge feat/geometry-color-scene into feat/window
CI / moon fmt, check, test (pull_request) Successful in 23s
The squash of M1 there is already contained here in unsquashed form, so this
keeps this branch's tree and adds only the CI workflow.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 22:11:48 -08:00
nandiandClaude Opus 5.5 6d8389a97c ci: run moon fmt, check and test on pull requests
CI / moon fmt, check, test (pull_request) Successful in 17s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 22:11:46 -08:00
nandi 73c67825b2 M7: test platform — Platform traits, Application, TestPlatform, VisualTestContext (#7) 2026-11-24 23:54:56 +00:00
nandi ae3fd7da55 M1: style — Style/StyleRefinement, generated Styled API, font, card example (#2) 2026-11-24 21:53:38 +00:00
+31
View File
@@ -0,0 +1,31 @@
name: CI
on:
pull_request:
push:
branches: [main]
workflow_dispatch:
jobs:
moon:
name: moon fmt, check, test
runs-on: depot-ubuntu-24.04-4
# bookworm: glibc >= 2.34 is needed to link moon native tests; the image also provides
# node for actions/checkout and the js backend, and cc for the native backend.
container: node:20-bookworm
steps:
- uses: actions/checkout@v4
- name: Install MoonBit CLI
run: |
curl -fsSL https://cli.moonbitlang.com/install/unix.sh | bash
echo "$HOME/.moon/bin" >> "$GITHUB_PATH"
- name: moon fmt --check, check, test
run: |
set -eu
moon version --all
moon update
moon fmt --check
moon check --target all
moon test --target all