Commit Graph

806 Commits

Author SHA1 Message Date
MistEO
96b95bf5e4 ci: only handle push on dev 2026-02-11 10:58:29 +08:00
uye
fd18bfee21 Revert: "feat: 发布时minify resource文件下的json (#15567)" 2026-02-10 02:18:56 +08:00
soundofautumn
3652fc4bea build: Adopt CMake presets for CI and add clangd/VSCode integration (#15595)
* feat: clangd support

* feat: 完善CMakePresets

* docs: 更新cmake命令

* fix: smoke test run

* docs: 更新vscode开发文档

* feat: 添加执行MaaWpf到cmake中

* feat: 支持全部的presets

* chore: 重新安排顺序

* chore: add some comment

* chore: add more comments

* feat: 简化res-update-game

* chore: 移除多余build

* chore: 统一x64和arm64

* chore: 修正重复忽略.vscode

* feat: vscode cmaketool乱码

* docs: 添加提示
2026-02-06 23:05:41 +08:00
soundofautumn
bfe7c0eabc feat: 发布时minify resource文件下的json (#15567)
* feat: 添加json压缩脚本

* feat: 添加cmake install时进行压缩

* feat: 添加压缩成功时日志

* feat: 添加日志

* feat: 修正install路径

* fix: 确保数据写入

* revert: CMakeList.txt

* feat: 在CI中进行minify json的调用
2026-02-06 17:10:33 +08:00
Constrat
89b0b243f9 ci(fix): resource updater incorrectly cleaning optimize_templates.json 2026-01-24 15:41:55 +01:00
MistEO
7d1e18fb39 ci: 算了不传 latest 了 2026-01-20 14:00:22 +08:00
MistEO
09df60e3d2 ci: COS 多传一份 2026-01-20 13:32:45 +08:00
MistEO
d58b86cfb4 ci: Add MAA COS upload step to release workflow (#15479) 2026-01-20 13:16:53 +08:00
dependabot[bot]
0c4e81c4b3 ci: bump kentaro-m/auto-assign-action from 2.0.0 to 2.0.1 in /.github/workflows in the github-actions group (#15467)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-01-20 09:21:43 +08:00
Manicsteiner
dae67ed303 fix: add MaaWin32ControlUnit to nightly build (#15447) 2026-01-19 18:17:26 +08:00
MistEO
a5b6f17e83 feat(PC): 支持 PC 端明日方舟 (#15407)
* feat(controller): 集成 MaaWin32ControlUnit 支持 Win32 窗口截图与控制

- 提取公共滑动插值逻辑到 SwipeHelper.hpp,重构 Minitouch/PlayTools 控制器
- 新增 Win32ControlUnitLoader 动态加载 MaaWin32ControlUnit.dll
- 新增 Win32Controller 实现 ControllerAPI,适配 touch_down/move/up 接口
- 添加 AsstAsyncAttachWindow 公开 API 用于绑定 Win32 窗口
- 添加 Win32 截图/输入方式的类型定义和枚举常量

* feat(api): 增加同步版本的 AsstAttachWindow 接口

模仿 AsstConnect 实现同步绑定 Win32 窗口的接口,方便简单场景下直接调用。
该接口标记为 deprecated,建议使用异步版本 AsstAsyncAttachWindow。

* fix: can build MaaCore

* feat: 完成整体适配

* feat(ci): 添加 MaaFramework Win32ControlUnit 下载步骤

使用 robinraju/release-downloader 从 MaaFramework 最新 release 下载
win-x64 版本并提取 MaaWin32ControlUnit 到构建产物中

* docs: 添加 Win32Controller 调试所需 MaaWin32ControlUnit 的说明

在开发文档的环境配置步骤中说明调试 Win32Controller 需要手动下载
MaaWin32ControlUnit.dll,并欢迎社区贡献自动下载脚本

* fix(i18n): 修改 UseAttachWindowWarning 措辞为"仅供尝鲜"

* fix: 小细节修复

* ci: fix maafw filename

* feat: PC 移至连接配置

* feat: 调整描述

* chore: 调整 PC 在连接配置中的顺序

* feat: 设置指引和开始唤醒界面 PC 选项绑定

---------

Co-authored-by: uye <99072975+ABA2396@users.noreply.github.com>
2026-01-18 21:17:59 +08:00
Loong
286908d41e ci: use git2/vendored-openssl feature flag for cli (#15279) 2026-01-02 23:40:11 +08:00
MistEO
7397e1ac00 ci: fix concurrency group (#15269) 2026-01-02 02:28:55 +08:00
MistEO
c7c8466b10 ci: fix linux build (#15268) 2026-01-02 02:16:31 +08:00
MistEO
21181c2872 ci: try to fix linux arm64 build 2026-01-02 01:24:39 +08:00
MistEO
01b59f54fe ci: limit CI in PRs within the same branch 2026-01-02 01:18:30 +08:00
MistEO
03634ae516 ci: try to fix linux build 2026-01-02 01:03:13 +08:00
Constrat
2dddb7b231 ci: perhaps found a typo 2026-01-01 16:18:55 +01:00
Constrat
cd0273d321 ci: try to fix cache miss on smoke-testing 2026-01-01 16:06:51 +01:00
Constrat
1944164d9c fix: typo for blame_ignore.yml 2025-12-27 16:27:33 +01:00
Constrat
45ab2e7ba5 ci(fix): continue on error required for blame ignore\npost 22.04 to 24.04 ubuntu migration 2025-12-27 10:44:43 +01:00
Constrat
d988d2537c ci: fix for optimize templates
- fixed wrong condition
- xargs -> jq for better checking
2025-12-26 14:45:57 +01:00
SherkeyXD
ccd5d30ac0 chore: 更新 pre-commit 配置 2025-12-26 00:53:35 +08:00
SherkeyXD
232d4adb04 chore: update pre-commit toolchain (#15179) 2025-12-26 00:50:14 +08:00
SherkeyXD
42d8699e63 chore: remove codeql workflow 2025-12-24 19:38:04 +08:00
dependabot[bot]
a3d3b54fcf ci: bump the github-actions group in /.github/workflows with 2 updates (#15177)
Bumps the github-actions group in /.github/workflows with 2 updates: [actions/checkout](https://github.com/actions/checkout) and [actions/setup-python](https://github.com/actions/setup-python).


Updates `actions/checkout` from 4 to 6
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v6)

Updates `actions/setup-python` from 5 to 6
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
- dependency-name: actions/setup-python
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-22 14:22:19 +01:00
Constrat
0f25d34076 ci: implement matrix for uploading myrror + ubuntu for winget (#14844)
* ci: implement matrix for uploading myrror + ubuntu for winget

docs say it's fine since we don't use .msi

* revert: ubuntu-latest to windows-latest
2025-12-19 13:57:10 +01:00
MistEO
07b808dc30 ci: 将 pre-commit 改为定时任务运行 (#15133) 2025-12-19 18:03:49 +08:00
dependabot[bot]
3b3383ef4b ci: bump the github-actions group in /.github/workflows with 4 updates (#15091)
Bumps the github-actions group in /.github/workflows with 4 updates: [actions/upload-artifact](https://github.com/actions/upload-artifact), [actions/cache](https://github.com/actions/cache), [actions/download-artifact](https://github.com/actions/download-artifact) and [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request).


Updates `actions/upload-artifact` from 5 to 6
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v5...v6)

Updates `actions/cache` from 4 to 5
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v4...v5)

Updates `actions/download-artifact` from 6 to 7
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v6...v7)

Updates `peter-evans/create-pull-request` from 7 to 8
- [Release notes](https://github.com/peter-evans/create-pull-request/releases)
- [Commits](https://github.com/peter-evans/create-pull-request/compare/v7...v8)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
- dependency-name: actions/cache
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
- dependency-name: actions/download-artifact
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
- dependency-name: peter-evans/create-pull-request
  dependency-version: '8'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-15 18:44:55 +01:00
Manicsteiner
e44e113190 fix: fix nightly ota dotnet build (#14996) 2025-12-10 11:39:11 +08:00
dependabot[bot]
8ac592d217 ci: bump the github-actions group in /.github/workflows with 3 updates (#14978)
Bumps the github-actions group in /.github/workflows with 3 updates: [apple-actions/import-codesign-certs](https://github.com/apple-actions/import-codesign-certs), [apple-actions/download-provisioning-profiles](https://github.com/apple-actions/download-provisioning-profiles) and [softprops/action-gh-release](https://github.com/softprops/action-gh-release).


Updates `apple-actions/import-codesign-certs` from 5 to 6
- [Release notes](https://github.com/apple-actions/import-codesign-certs/releases)
- [Commits](https://github.com/apple-actions/import-codesign-certs/compare/v5...v6)

Updates `apple-actions/download-provisioning-profiles` from 4 to 5
- [Release notes](https://github.com/apple-actions/download-provisioning-profiles/releases)
- [Commits](https://github.com/apple-actions/download-provisioning-profiles/compare/v4...v5)

Updates `softprops/action-gh-release` from 2.4.2 to 2.5.0
- [Release notes](https://github.com/softprops/action-gh-release/releases)
- [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md)
- [Commits](https://github.com/softprops/action-gh-release/compare/v2.4.2...v2.5.0)

---
updated-dependencies:
- dependency-name: apple-actions/import-codesign-certs
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
- dependency-name: apple-actions/download-provisioning-profiles
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
- dependency-name: softprops/action-gh-release
  dependency-version: 2.5.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-09 19:01:30 +01:00
AnnAngela
bde9b78a60 ci: Potential fix for code scanning alert no. 109: Workflow does not contain permissions
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2025-11-30 23:47:58 +08:00
status102
1bb6012cd8 fix: 压缩win平台的pdb文件 2025-11-28 23:37:48 +08:00
status102
1d4a84dcca fix: 收集遗漏的MaaCore.pdb和MaaUtils/pdb 2025-11-28 14:36:11 +08:00
dependabot[bot]
36084974d1 ci: bump actions/checkout from 5 to 6 in /.github/workflows in the github-actions group (#14847)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-24 23:39:04 +08:00
Copilot
a778ff84d9 fix: propagate errors from parallel downloads in res-update-game workflow (#14794)
* Initial plan

* fix: properly handle errors in parallel downloads for stages.json

Co-authored-by: AnnAngela <9762652+AnnAngela@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: AnnAngela <9762652+AnnAngela@users.noreply.github.com>
2025-11-24 09:30:03 +01:00
MistEO
44aec32649 ci: continue on bad cache key 2025-11-22 22:48:20 +08:00
MistEO
3bec98b7ce ci: continue on error for all actions/cache 2025-11-22 22:23:36 +08:00
MistEO
889313fe36 ci: continue on cache maadeps error 2025-11-22 22:19:06 +08:00
status102
06f793cf59 ci: nightly版恢复pdb文件生成及上传 2025-11-19 17:47:38 +08:00
Constrat
a4ca4ffda9 ci(testing): game resource update error comment tweaks and changes 2025-11-18 16:11:14 +01:00
AnnAngela
8e9c648f0e ci: Change curl command to fail on error
cc @Constrat
2025-11-18 22:31:57 +08:00
AnnAngela
222af5e23c ci: Simplify resource update workflow (#14785)
* ci: Simplify resource update workflow

Removed unnecessary delay and re-download steps for resources.

* ci: Apply suggestions from code review

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* ci: Remove continue-on-error from download steps

Removed 'continue-on-error' option from multiple download steps.

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-11-17 17:41:08 +01:00
Lucien Shaw
f096131e12 ci: 修正一个cli相关的action的输入 (#14730)
ci: 修正cli使用的一个action的输入
2025-11-12 09:08:51 +01:00
Weiyou Wang
74cad75e74 fix: build WpfGui for ARM architecture (#14722) 2025-11-12 12:27:02 +08:00
MistEO
1c233d21c4 ci: include prerelease for release-package-distribution
https://github.com/pozetroninc/github-action-get-latest-release

default 	"prerelease, draft"
2025-11-12 01:28:43 +08:00
MistEO
b7cca46076 ci: remove permissions restrictions 2025-11-12 01:23:51 +08:00
Lucien Shaw
bfacd31911 ci: 支持winget软件分发 (#14667)
* ci: 测试winget-releaser

* ci: 暂时禁用mirrorchyan

* Revert "ci: 暂时禁用mirrorchyan"

This reverts commit 83550ac47f.

* ci: release分发工作流支持指定tag

* ci: 修复判断语句

* ci: 修改主工作流的release分发部分

* ci: 添加权限

* ci: 设置默认版本tag为空

* ci: 尝试修复空版本号带来的问题

* ci: 使用独立工作流设置release tag

* ci: 补全仓库名称

* ci: 优化gh workflow run调用语句

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* style: 添加空格

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* ci: use secrets and repos of MAA

* ci: 更新secrets名称

* ci: 版本分发工作流重命名

* ci: 匹配的名称变更

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-11-12 01:04:55 +08:00
dependabot[bot]
2bad5258e2 ci: bump the github-actions group in /.github/workflows with 2 updates (#14705)
Bumps the github-actions group in /.github/workflows with 2 updates: [actions/upload-artifact](https://github.com/actions/upload-artifact) and [softprops/action-gh-release](https://github.com/softprops/action-gh-release).


Updates `actions/upload-artifact` from 4 to 5
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v4...v5)

Updates `softprops/action-gh-release` from 2.4.1 to 2.4.2
- [Release notes](https://github.com/softprops/action-gh-release/releases)
- [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md)
- [Commits](https://github.com/softprops/action-gh-release/compare/v2.4.1...v2.4.2)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
- dependency-name: softprops/action-gh-release
  dependency-version: 2.4.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-11 14:26:45 +01:00
MistEO
5e07116597 ci: 提供调试符号 (#14675) 2025-11-09 16:07:25 +08:00