Commit Graph

42 Commits

Author SHA1 Message Date
houseme d66525a22f refactor(deps): centralize crate versions in root Cargo.toml (#448)
* chore(ci): upgrade protoc from 30.2 to 31.1

- Update protoc version in GitHub Actions setup workflow
- Use arduino/setup-protoc@v3 to install the latest protoc version
- Ensure compatibility with current project requirements
- Improve proto file compilation performance and stability

This upgrade aligns our development environment with the latest protobuf standards.

* modify package version

* refactor(deps): centralize crate versions in root Cargo.toml

- Move all dependency versions to workspace.dependencies section
- Standardize AWS SDK and related crates versions
- Update tokio, bytes, and futures crates to latest stable versions
- Ensure consistent version use across all workspace members
- Implement workspace inheritance for common dependencies

This change simplifies dependency management and ensures version consistency across the project.

* fix

* modify
2025-06-07 21:52:59 +08:00
loverustfs 1a921df86b add linux arm64 package 2025-05-29 14:50:02 +08:00
houseme 0c351965a2 fix(ci): add repo-token to setup-protoc action for authentication
- Add GITHUB_TOKEN parameter to arduino/setup-protoc@v3 action
- Ensure proper authentication for Protoc installation in CI workflow
- Maintain consistent setup across different CI environments
2025-05-12 00:36:29 +08:00
houseme 07c3cb3f0a refactor(ci): optimize build workflow for better efficiency
- Integrate GUI build steps into main build-rustfs job
- Add conditional GUI build execution based on tag releases
- Simplify workflow by removing redundant build-rustfs-gui job
- Copy binary directly to embedded-rustfs directory without downloading artifacts
- Update merge job dependency to only rely on build-rustfs
- Improve cross-platform compatibility for Windows binary naming (.exe)
- Streamline artifact uploading and OSS publishing process
- Maintain consistent conditional logic for release operations
2025-05-11 23:41:19 +08:00
houseme 33cd4c546a refactor(ci): optimize build workflow for better efficiency
- Integrate GUI build steps into main build-rustfs job
- Add conditional GUI build execution based on tag releases
- Simplify workflow by removing redundant build-rustfs-gui job
- Copy binary directly to embedded-rustfs directory without downloading artifacts
- Update merge job dependency to only rely on build-rustfs
- Improve cross-platform compatibility for Windows binary naming (.exe)
- Streamline artifact uploading and OSS publishing process
- Maintain consistent conditional logic for release operations
2025-05-11 23:41:09 +08:00
houseme f6f1f3b329 add GH_TOKEN 2025-05-10 10:05:15 +08:00
houseme 780ff5f5df add x86_64-unknown-linux-musl target 2025-05-10 09:46:49 +08:00
houseme f8f58a8355 test 2025-05-10 00:52:41 +08:00
houseme 43f2963d14 test target aarch64-apple-darwin 2025-05-10 00:39:08 +08:00
houseme a7115ba699 test 2025-05-10 00:30:01 +08:00
houseme f64458018b fix 2025-05-10 00:27:54 +08:00
houseme b1358d4711 # Expand ARM64 Linux Support in Build Pipeline
Added support for both ARM64 Linux variants to the CI/CD build pipeline:

1. Enabled the previously commented `aarch64-unknown-linux-gnu` target build
2. Re-enabled the `aarch64-unknown-linux-musl` target build
3. Updated the build matrix to ensure proper runner selection:
   - Ubuntu runners build all Linux targets
   - macOS runners build only Apple Silicon targets
4. Maintained compatibility with the existing build scripts and packaging process

This expansion gives users more options for deploying on ARM64 Linux platforms, supporting both glibc and musl libc environments for maximum compatibility and performance.
2025-05-10 00:24:14 +08:00
houseme 2a9a60197b # Add aarch64-apple-darwin Build Target Support
Added ARM64 macOS (Apple Silicon) build target support to the CI/CD pipeline by:

1. Including `aarch64-apple-darwin` as a new build variant in the build matrix
2. Adding proper exclusion rules to ensure the target only runs on macOS runners
3. Ensuring compatibility with the existing build scripts and packaging process

This change enables native builds for Apple Silicon Macs, improving performance for users with M1/M2/M3/M4 processors while maintaining the same artifact organization and deployment process.
2025-05-10 00:15:05 +08:00
houseme f5a97b63b9 chore(ci): optimize build workflow and update protoc version
- Update protoc version from 27.0 to 30.2 for better compatibility
- Improve build workflow parameters handling
2025-04-10 11:49:44 +08:00
houseme 96625b42ff improve code for build 2025-04-07 17:47:43 +08:00
houseme 5204cb67d8 Change build target to x86_64-unknown-linux-musl and update system dependencies
- Change build target from `x86_64-unknown-linux-gnu` to `x86_64-unknown-linux-musl`
- Default install `x86_64-unknown-linux-musl` toolchain in setup action
- Add `musl-tools` and `build-essential` to system dependencies
2025-04-07 16:55:14 +08:00
overtrue 31697a55b6 feat: latest zip 2025-03-29 19:38:30 +08:00
overtrue 4b8fcc4b31 fix: filename 2025-03-29 14:29:36 +08:00
overtrue f2ebffd0ca n 2025-03-29 14:08:33 +08:00
loverustfs c3b47adf39 fix console-zip package error
fix console-zip package error
2025-03-24 22:58:00 +08:00
houseme a0fef99f8a improve for build.yml 2025-03-06 12:07:25 +08:00
houseme bbd9fcbc84 add dx linux cmd 2025-03-06 11:23:56 +08:00
houseme 1689cef204 improve unzip cmd 2025-03-06 10:52:14 +08:00
houseme 9b2e36afc4 improve 2025-03-06 10:31:23 +08:00
houseme a635fc8f88 fix actions/download-artifact version to v4 2025-03-06 08:48:20 +08:00
houseme 1e3421e973 test build-rustfs-gui 2025-03-06 08:37:51 +08:00
houseme efdff73bbf fix 2025-03-06 00:34:50 +08:00
houseme 6fcdde0617 test build.yml 2025-03-06 00:06:34 +08:00
houseme 951c08ec4f improve add cache 2025-03-06 00:00:57 +08:00
houseme 6690396b65 improve build.yml 2025-03-05 23:43:00 +08:00
houseme f1f5967117 test build gui 2025-03-05 23:35:38 +08:00
houseme 9b77084ffe feat: add build-rustfs-gui process and optimize utils/helper.rs
1. Added a new build process `build-rustfs-gui` in `build.yaml` to streamline the build operations for the RustFS GUI.
2. Optimized `cli/rustfs-gui/utils/helper.rs` by using `rust-embed` to embed the `rustfs` resources directly into the binary.
2025-03-05 18:47:21 +08:00
houseme 03c3d4abfe improve build yml 2025-03-02 16:53:27 +08:00
houseme 34dc49c2f5 ci: confirm static directory placement in artifact package
Ensure the static directory is copied as a sibling to the rustfs binary
in the artifact package, maintaining the proper directory structure
for the application to locate its resources.
2025-03-02 01:14:10 +08:00
houseme f113f8afea ci: optimize GitHub Actions build workflow and fix artifact merging
- Fix artifact pattern matching in merge step to use consistent name pattern
- Standardize artifact naming convention with clear format
- Improve static assets handling with simpler download and extraction
- Add 7-day retention policy for artifacts to manage storage
- Use output variables to ensure consistency between artifact names and paths
- Optimize package creation process to eliminate redundant nesting
- Enhance error handling and script readability
2025-03-02 00:59:46 +08:00
houseme 7ffe6a9063 improve buidl.yml 2025-03-02 00:28:45 +08:00
houseme 637db138fd test build action 2025-03-01 23:49:04 +08:00
houseme e9ba185362 feat: add remote file download, extraction, and packaging process in build.yml (#245)
* fix

* update README.md
2025-03-01 23:14:30 +08:00
Nugine e87cc87cbf ci: build for old glibc (#232)
* build(deps): shadow_rs

* ci(build): build for old glibc

* ci: simplify all
2025-02-22 20:25:16 +08:00
Nugine bf71bc27b9 feat(rustfs): add build info (#121) 2024-11-09 15:23:51 +08:00
Nugine 692048d537 ci: improve build workflow (#115)
* ci: fix build workflow

* ci: use setup actions
2024-11-04 15:06:19 +08:00
Nugine dd9abc1db0 ci: add build workflow 2024-10-29 13:13:30 +08:00