17 Commits

Author SHA1 Message Date
ZhouGuangyuan 8cb9e72c1f test: add litgen tool for source IR checks 2026-04-17 22:54:09 +08:00
Li Jie 646a97478d dev: add test_std_pkg.sh for std package validation 2026-03-05 10:06:49 +08:00
Li Jie 1b84911959 dev/local_ci: use test timeout flags and add regression test
Add a regression test that fails when local_ci.sh uses -run 30m for go/llgo test, then switch both commands to -timeout 30m.
2026-03-03 10:53:37 +08:00
Li Jie e5ed58b37d dev: test with 30m timeout 2026-02-21 11:27:18 +08:00
Li Jie 91488ef930 dev: restore dev scripts 2026-02-21 11:27:18 +08:00
Li Jie 80bae7e6d7 dev: remove AGENTS.md 2026-02-21 11:27:17 +08:00
Li Jie 27fa54dd6d build: use github.com/goplus/plan9asm and drop internal copy 2026-02-21 11:27:16 +08:00
Li Jie c1498b0c34 plan9asm: add translation debug tool and source annotations 2026-02-21 11:26:51 +08:00
Li Jie 2393924961 ci: raise go test timeout in local_ci to 30m 2026-02-21 11:26:50 +08:00
Li Jie 367da5be19 ci: extend local_ci with embed matrix args and wasm check 2026-02-21 11:26:47 +08:00
Li Jie d2c1d4c069 Revert "chore(dev): drop dev/ tooling changes (moved to separate branch)"
This reverts commit 848f13fb1c.
2026-02-21 11:26:42 +08:00
xushiwei bba953899d Merge pull request #1526 from cpunion/fix/cache-archives-v2
fix(build): ensure linker always consumes .a archives
2026-01-03 13:15:23 +08:00
Li Jie 0ac8485c2e feat: Add comprehensive build cache verification tests
- Add CACHE HIT/MISS verbose output to build.go
- Create test/buildcache with 6 snapshot-based test scenarios:
  1. First build (all CACHE MISS)
  2. Second build (deps CACHE HIT)
  3. Force rebuild with -a (all CACHE MISS)
  4. Dependency change invalidates cache
  5. Partial cache clear (dep2 only)
  6. Partial cache clear (dep2 and dep3)
- Tests run for both native and WASM builds (12 tests total)
- Add dev/build_iwasm.sh to build iwasm with CI-compatible options
- test.sh auto-builds iwasm if not found in llgo cache
- All build outputs go to temp directory to keep source clean
- Add explicit error checking for all build and run commands
- Update CI workflow and local_ci.sh to use test.sh

Closes #1526
2026-01-03 10:59:13 +08:00
xgopilot 2e6ecd039b fix: make dev/llgo.sh always rebuild unconditionally
Remove conditional checks in _llgo_ensure_llgo_cli and always
run 'go install -tags=dev ./cmd/llgo' on every invocation.

This ensures the dev build is always used regardless of whether
the binary exists or files have changed.

Generated with [codeagent](https://github.com/qbox/codeagent)
Co-authored-by: cpunion <8459+cpunion@users.noreply.github.com>
2026-01-02 11:52:03 +00:00
xgopilot eb4eee08dc fix: ensure dev/llgo.sh always rebuilds with -tags=dev
This fixes issue #1518 where dev/llgo.sh would skip rebuilding
with the dev tag when the llgo binary already exists.

Now dev/_llgo_setup.sh uses 'go install -tags=dev ./cmd/llgo'
instead of 'go install ./cmd/llgo' to ensure the dev build
is always used.

Generated with [codeagent](https://github.com/qbox/codeagent)
Co-authored-by: cpunion <8459+cpunion@users.noreply.github.com>
2026-01-02 11:47:59 +00:00
Li Jie e98fa6c5b7 dev: address review feedback 2025-12-13 22:48:05 +08:00
Li Jie db251c53d1 dev: add docker workflow and wrappers 2025-12-13 19:36:59 +08:00