Commit graph

32 commits

Author SHA1 Message Date
Max
76159373e5 feat: add production builds with -s -w stripping and UPX compression
- Add prod builds (stripped) and prod-upx builds (compressed) for Linux
- Add prod builds (stripped) for macOS (UPX not supported)
- Add docker/production-slim for slim images using prod-upx binaries
- Update build-docker.yml to build slim variants
- Update build-macos.yml to sign and notarize all 4 variants
- Add BUILDOPTIONS constant to show build flags in version output
- Add make release-all target for building both dev and prod locally

Linux artifacts: 6 variants (dev, prod, prod-upx for amd64/arm64)
macOS artifacts: 4 variants (dev, prod for amd64/arm64)
Docker images: 6 variants (dev, prod, prod-slim for amd64/arm64)

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-03 12:27:37 +08:00
Max
6e97de948b Enhance build process and options management
- Update Makefile to include new production and UPX build targets for optimized binaries.
- Add BUILDOPTIONS constant to share/const.go for tracking build configurations.
- Modify version command to display build options.
- Update Dockerfile to install UPX for compression during builds.
- Add release and prod targets to streamline artifact creation.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-03 10:22:55 +08:00
Max
f58aea7459 Update Dockerfiles and GitHub Actions to use version 1.0.0
- Updated the Dockerfiles and GitHub Actions workflows to reference version 1.0.0 of the Yao build environment and Go, ensuring compatibility with the latest features and improvements.
- Adjusted the Go version in the macOS workflow and updated the Dockerfile to install Go 1.25.0, enhancing the build process.
2025-12-20 12:12:57 +08:00
Max
e4b4e50c9f Update AWS CLI version in Dockerfile and add version check in build-linux workflow 2025-05-18 19:14:33 +08:00
Max
4dbdb07efb chore: Update version and Go installation in CI workflows
- Bumped the version from 0.9.0 to 0.10.5 in the macOS build workflow.
- Updated the Go installation in the Dockerfile from version 1.24.0 to 1.24.3 for improved compatibility and features.
2025-05-18 17:57:21 +08:00
Max
f55fc7b374 ⚠️ BREAKING: Rename XGen to CUI and update license terms
1. Major Changes:
   - Migrate all XGen references to CUI
   - Update project naming conventions across codebase

2. License Updates:
   - Revise open source license terms
   - Update copyright and usage conditions

This is a breaking change that requires updates in dependent projects.
2025-05-18 12:16:45 +08:00
Max
8b7d56a83d fix: Update download URL for Yao binary in Dockerfiles
- Changed the download URL for the Yao binary in both development and production Dockerfiles to a new location.
- Ensured that the binary is still installed correctly with the appropriate permissions.
2025-05-09 15:39:00 +08:00
Max
5bf6044cf0 Update Dockerfiles to use Ubuntu 24.04 and change download source for Yao binary 2024-11-29 14:38:41 +08:00
Max
dc43e9ca4f Update build-linux.yml and Dockerfile for environment improvements and AWS CLI installation 2024-11-29 13:37:06 +08:00
Max
e6acbacc6b Add unzip installation to Dockerfile for build dependencies 2024-11-23 19:01:10 +08:00
Max
f3b3e80ccf Add unzip step for libv8 in CI workflows and build script 2024-11-23 18:09:21 +08:00
Max
8c4b46fb70 Add Yao Build Environment Docker Image 2024-01-18 13:47:43 +08:00
Max
ceab7754ea [fix] docker image build 2023-04-01 15:14:36 +08:00
Max
c062c6f8ee [change] action workflow & dockerfile 2023-04-01 09:26:18 +08:00
Max
0300f74311 [change] docker file 2022-10-28 23:17:01 +08:00
Max
2926ec99f5 change CDN url for docker release 2022-04-14 17:50:29 +08:00
Max
dc1feb03de + platforms 2022-02-13 19:06:36 +08:00
Max
a1776be538 + 环境变量 2022-02-13 16:50:24 +08:00
Max
fb2c5c857e pub v0.9.1 2022-02-13 16:42:47 +08:00
Max
5bfd1aef44 + docker files 2022-02-13 16:24:57 +08:00
Max
7a87516d17 更新 docker 2022-02-10 01:30:59 +08:00
Max
10bf413962 + Select Hook 2022-01-06 20:08:55 +08:00
Max
0c07b6ea2b v0.9.21 fix datetime bug 2022-01-05 18:36:46 +08:00
Max
3635823d98 v0.9.20 2022-01-04 21:14:47 +08:00
Max
7d8564aa91 v0.9.19 bugfix 2022-01-04 16:32:38 +08:00
Max
1740847ab8 fix 呈现bug 2022-01-02 16:45:24 +08:00
Max
fcd0b875fe v0.9.18 + table select api 2022-01-01 20:42:18 +08:00
Max
4f82bfff3e v 0.9.17 2021-12-31 22:50:49 +08:00
Max
0522415ef9 容器升级到 0.9.15 2021-12-31 00:04:13 +08:00
Max
5e6739cd09 + Docker Image 2021-12-21 09:20:52 +08:00
Max
63981f7877 arm 交叉编译 2021-11-28 19:38:19 +08:00
Max
37594d3ad9 + Arm 交叉编译 2021-11-28 18:10:45 +08:00