Commit graph

11 commits

Author SHA1 Message Date
Lea Anthony
208639b5c7 fix(ci): add libwayland-dev to Linux CI dependencies
Ubuntu 24.04 no longer transitively installs libwayland-server.so.0
via libwebkit2gtk-4.1-dev, causing all Linux template tests to fail
with "cannot open shared object file". Add libwayland-dev explicitly
to all workflow files.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-07 13:55:31 +11:00
Lea Anthony
b498907629 fix: treat skipped cross-compile job as success in CI
The cross_compile_results job treats "skipped" as a failure, but the
cross_compile job is legitimately skipped when the PR hasn't been
approved yet. Accept "skipped" alongside "success".

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-07 12:05:08 +11:00
Lea Anthony
284c67d037 perf(ci): use native ARM64 runner for linux/arm64 builds
Use ubuntu-24.04-arm runner for linux/arm64 cross-compile tests
instead of QEMU emulation. This should reduce build time from ~20min
to ~3min.

- Remove QEMU and Buildx setup (not needed with native runner)
- Remove --platform flag from Docker commands
- Each matrix entry now specifies its runner

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-01 10:10:58 +11:00
Lea Anthony
7e74a5d9d0 fix(build): use QEMU emulation for Linux cross-arch builds
For Linux ARM64 builds on x86_64 hosts, use Docker's QEMU emulation
instead of trying to cross-compile with Zig or install multi-arch packages.

Changes:
- Workflow: Set up QEMU and Docker Buildx for Linux cross-arch builds
- Workflow: Build Docker image with --platform for target architecture
- Dockerfile: Simplify to use native GCC (QEMU handles arch translation)
- Taskfile: Add --platform flag to docker run for Linux builds

This approach is slower but reliable and doesn't require complex
cross-compilation toolchain setup.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-01 00:25:41 +11:00
Lea Anthony
259c33dfda fix(ci): use absolute path for replace directive in Docker build
The Docker mounts v3 at the same absolute path, so change the replace
directive to use the absolute workspace path instead of removing it.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-31 23:45:05 +11:00
Lea Anthony
513669bf13 fix(ci): remove replace directive before Docker cross-compile
The project created by wails3 init has a replace directive pointing
to the local v3 source. This doesn't work inside Docker containers.
Remove it before running the cross-compile tasks.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-31 23:38:18 +11:00
Lea Anthony
4af09b43a8 fix(ci): use correct task names for cross-compilation
- common:setup:docker instead of setup:docker
- darwin:build, linux:build, windows:build instead of build:darwin, etc.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-31 23:24:42 +11:00
Lea Anthony
72fcf2fa1c fix(ci): use Go 1.25 and go install for wails3 CLI
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-31 22:57:56 +11:00
Lea Anthony
fb0f10ca70 fix(ci): add Linux dependencies for wails3 CLI build
The wails3 CLI requires webkit2gtk, gtk, and other Linux libraries
to compile due to CGO dependencies.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-31 22:57:16 +11:00
Lea Anthony
46d27c526b fix(ci): use wails3 init and task-based cross-compile workflow
Instead of building Docker images from scratch, the workflow now:
- Installs wails3 CLI
- Creates a test project with wails3 init
- Runs setup:docker to build the cross-compile image
- Uses task build:<platform> for cross-compilation

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-31 22:49:52 +11:00
Lea Anthony
403be215a2 feat(ci): add cross-compile test workflow for v3 PRs
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-31 22:45:13 +11:00