Commit Graph

870 Commits

Author SHA1 Message Date
github-actions[bot]
31ff5a5073 chore: Auto Templates Optimization
Triggered by 2db9a3e441

[skip changelog]
2025-10-12 12:50:04 +00:00
Constrat
b3250e3b3b ci(revert): remove lldb as it just crashed the workflow erroring out 2025-10-11 22:52:11 +02:00
Constrat
50d1b8ed40 fix: POSIX compliant 2025-10-11 22:43:16 +02:00
Constrat
9e67bfbf61 fix: python formatting 2025-10-11 12:52:05 +02:00
Constrat
b92f6e8b34 fix(ci): task sorter UTF-8 BOM fix 2025-10-10 14:25:37 +02:00
HX3N
5d097f12f0 chore: KR MT navigation (#14365)
* chore: KR MT navigation
2025-10-10 13:59:10 +02:00
github-actions[bot]
619ce4b770 chore: Auto Templates Optimization
Triggered by abd5368b0a

[skip changelog]
2025-10-10 10:58:15 +00:00
Constrat
01ba30e649 fix: update VisitNext
ref #14357
2025-10-10 12:05:57 +02:00
github-actions[bot]
9bcfe9922c chore: Auto Templates Optimization
Triggered by 3f9b1d2871

[skip changelog]
2025-10-10 04:24:57 +00:00
uye
3f9b1d2871 feat: 支持访问好友半透明界面 2025-10-10 12:24:23 +08:00
github-actions[bot]
a62638ceef chore: Auto Templates Optimization
Triggered by 9ae9d1d3b8

[skip changelog]
2025-10-08 23:09:46 +00:00
github-actions[bot]
9ae9d1d3b8 chore: Auto Update Game Resources - 2025-10-08
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/18360388224

[skip changelog]
2025-10-08 23:08:38 +00:00
Horror Proton
152bbf429a chore: run smoke test in lldb 2025-10-07 05:41:49 +00:00
Lucien Shaw
14194d1118 chore: 完善容器配置及依赖安装 (#14208)
格式化工具部分:
1. pre-commit 引入 python 的格式化工具,包括 black(代码格式化)和 isort(对“包导入顺序”的规范)
2. 允许 prettier 对文档站的 markdown 文件格式化
3. 不允许 prettier 对 markdown 文件中的代码块的代码本身进行格式化
4. 升级了 pre-commit 的各个 hook 的版本
5. 优化了 pre-commit 的日志文本显示

容器总览部分:
1. 由原来的单一轻量环境转为区分空环境、轻量环境和全量环境
2. 空环境是裸 Linux 镜像(Ubuntu),为默认环境
3. 轻量环境适合开发文档站前端
4. 全量环境适合开发 MaaCore
5. 目前,全量环境完整包含了轻量环境,轻量环境完整包含了空环境
6. 在仓库 README.md 中更新了三个环境的描述,并将链接分别设置为对应环境的创建链接
   **注意:没有修改文档站中的对应文件**
7. 在各个语言的开发指南的最后,移除了 Codespace 部分的“安装额外依赖”相关描述,且将链接设置为全量环境的创建链接
   **注意:没有添加“开发文档站”的指南和对应 codespace 的使用方式**

容器的轻量环境和全量环境共有部分:
1. 安装 black 和 isort 包
2. 调整 VS Code 设置,取消先前(对 markdown 文件单独指定 markdownlint 扩展作为格式化工具)的错误设置,现在 markdown 文件仍然使用默认的 prettier 扩展作为格式化工具
3. 引入 markdown-all-in-one 扩展作为语法提示工具
4. 将 node_modules 和 3rdparty 排除在 VS Code 的文本的搜索路径之外

容器的全量环境部分:
1. 为 tools 下的所有 python 脚本安装依赖
2. 使用 tools/maadeps-download.py 下载 maadeps,且将必要二进制文件软链接到 /usr/local/bin/
3. 使用 apt 安装 cmake 和 clangd-20,将后者通过 update-alternatives 设置为系统 clangd 的默认版本
4. 使用 cmake tools 扩展,并按照 Linux 编译方法进行配置
5. 使用 clang-format 作为 c/cpp 的格式化工具,clang-format 程序主体来自 maadeps(已经软链接到 /usr/local/bin/)
6. 使用 clangd 作为 c/cpp 的语法提示工具
7. 将 MaaDeps、install 和 build 排除在 VS Code 的文本搜索路径之外

其它手动调整:
1. 更新文档站的 package.json,指定 pnpm 包管理器的版本
2. 手动保证 markdown 文件中的列表前后有空行(注意到 MarkdownLint 官方规则不一定能精准定位所有“列表前后空行”的问题,详见:https://github.com/DavidAnson/markdownlint/blob/main/doc/Rules.md#md032---lists-should-be-surrounded-by-blank-lines )
3. 修改了部分 markdown 文件中的 json 代码块的语法问题
   **注意:相同的问题并未全部发现,仅修改了两处**
4. 在 tools 目录中,一处 python 脚本的包名误用(本地包名和某个 pip 包重名),这里修改了相应代码
5. 在 tools 目录中,一处 python 脚本使用了弃用的包 cchardet 的问题,这里更换了推荐使用的功能相近的包并修改了相应代码

自动化脚本提交的修改:
1. 自动格式化了大量 tools 中的 python 脚本
2. 自动格式化了大量 docs 中的 markdown 文件

Commits:

* chore: pre-commit引入black和isort规范py文件

* chore: Auto update by pre-commit hooks [skip changelog]

* chore: devcontainer添加isort扩展,排序python导入

* chore: pre-commit任务命名及更名

* style: isort fix

* chore: Auto update by pre-commit hooks [skip changelog]

* chore: 更新pre-commit的hook版本

* fix: 模块名与第三方库重名,大忌

* chore: 容器构建时额外安装isort

* docs: md -> markdown

* chore: 容器安装python包和maadeps

* fix: 修复过时python包

* chore: 指定pnpm版本

* chore: container支持选择轻量环境

* chore: 去掉rust

* chore: add plain env

* chore: 使用clangd语言服务器

* chore: 无需单独设置markdown的格式化工具

* chore: 更新安装的clangd版本

* docs: 简易文档适配

* docs: 在仓库README中重新编排codespaces相关指引

* chore: Auto update by pre-commit hooks [skip changelog]

* style: 调整缩进

* chore: 格式化工具不用特意排除被gitignore忽略的文件

* chore: sh文件在gitattributes中单列一类

* chore: 格式化docs下的markdown文件

* chore: 暂时不修改md文件中的代码块

* style: 人为明确markdown中的部分列表相关格式

* docs: 补上部分markdown的json代码块中缺失的逗号

* chore: Auto update by pre-commit hooks [skip changelog]

* chore: Auto update by pre-commit hooks [skip changelog]

* fix: 补上tools的服务器排序相关代码中缺失的逗号

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

* chore: 使用maadeps的clangd

* build: 更新maadeps工具链版本

* style: prettier fix

* revert: 还原maadeps版本

* revert: 取消使用maadeps的clangd依赖,改用系统apt安装

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-09-30 19:39:48 +08:00
github-actions[bot]
4a913eb67a chore: Auto Templates Optimization
Triggered by 17264f39ac

[skip changelog]
2025-09-26 05:58:00 +00:00
github-actions[bot]
b8e85600d9 chore: Auto Templates Optimization
Triggered by 2ae03ba3ed

[skip changelog]
2025-09-25 08:50:39 +00:00
github-actions[bot]
2ae03ba3ed chore: Auto Update Game Resources - 2025-09-25
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/18002097304

[skip changelog]
2025-09-25 08:49:14 +00:00
github-actions[bot]
28697e4e9d chore: Auto Templates Optimization
Triggered by e8de47c7bc

[skip changelog]
2025-09-18 07:01:41 +00:00
Constrat
820c93cad7 ci(fix): try to color only [err] log as red 2025-09-15 01:36:04 +02:00
Constrat
dbd2d31877 fix: smoke-testing script 2025-09-14 18:48:47 +02:00
MistEO
a498727fc5 ci: refactor res_updater cmake (#14106)
* ci: refactor res_updater cmake

* ci: remove ResourceUpdater from main cmake

* ci: typos

* build: remove boost

* ci: fix deps and cmake config

* ci: add zsh script

* chore: fix res_updater

* chore: use -Wno-error for res_updater

* fix: perms for version.zsh

* fix: gitignore

* fix: script

---------

Co-authored-by: Constrat <56174894+Constrat@users.noreply.github.com>
2025-09-14 18:33:40 +02:00
MistEO
40c3cccfb2 ci: try macos for smoke_test (#14104)
* ci: try macos for smoke_test

* ci: Remove concurrency from smoke-testing workflow

* ci: use ninjga build for macos testing

* ci: add trigger

* ci: fix macos parallel

* ci: update bash

* fix: zsh script

* fix: perms

* fix: zsh script regular array

* ci: add resource link for cache hit

* test: enable dev for testing

* test: revert test

---------

Co-authored-by: Constrat <56174894+Constrat@users.noreply.github.com>
2025-09-14 14:22:15 +02:00
nekosu
f2b4a622e6 feat: custom clang (#14102)
* feat: custom clang

* fix: version typo

* fix: version typo
2025-09-14 12:35:40 +02:00
Status102
fbbc0d9f59 ci: 为smoke-testing使用cache时增加resource链接 (#14096)
Co-authored-by: MistEO <mistereo@hotmail.com>
2025-09-14 17:30:30 +08:00
uye
7101cb9544 chore: 更新基建技能效率 2025-09-14 16:20:15 +08:00
Constrat
d2faaf6bb9 fix: move smoke testing working dir 2025-09-13 14:55:15 +02:00
Constrat
4754e4a632 feat: convert ResourceUpdater to ubuntu-latest (#14076)
* feat: convert workflow to ubuntu-latest

* fix: missing toolchain

* fix: remove component specification

* fix: apparently I didn't push the deps changes

* fix: apparently I didn't push the cache changes

* fix: build everything

* chore: delete llvm

* fix: version.sh missing indentation

* fix: missing bash
2025-09-11 17:53:56 +02:00
Constrat
1cfa44cf26 chore: tweak workflow + remove .sln (#14074)
---------

Co-authored-by: nekosu <liao.hy@outlook.com>
2025-09-11 14:11:45 +02:00
Constrat
d4f5ad3829 ci: temporarily revert changes to ResourceUpdater to allow caching exe 2025-09-11 13:09:07 +02:00
nekosu
18aa60cad6 ci: fix resource updater ignoring problem 2025-09-11 14:17:35 +08:00
github-actions[bot]
75a4809377 chore: Auto Update Game Resources - 2025-09-11
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/17634608287

[skip changelog]
2025-09-11 05:09:14 +00:00
nekosu
43fcba1a5c ci: update resource updater pipeline
#14045
2025-09-11 12:50:20 +08:00
nekosu
86c72b8fa0 feat: support build resource updater
#14045
2025-09-11 12:09:33 +08:00
Constrat
cbc8b3cf47 ci(perf): update smoke testing to ubuntu runner (#14066)
* ci: update smoke testing to ubuntu runner

* fix: missing perms
2025-09-10 16:15:59 +02:00
github-actions[bot]
356afb7962 chore: Auto Templates Optimization
Triggered by b86b4d0870

[skip changelog]
2025-09-09 11:52:56 +00:00
nekosu
82bcfd11bc fix: linux cross compiling (#14048)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-09-09 13:22:53 +08:00
MistEO
5c0445d3ab refactor: 依赖大更新 (#13908)
Co-authored-by: status102 <102887808+status102@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-09-08 21:17:47 +08:00
github-actions[bot]
5bc76fd343 chore: Auto Templates Optimization
Triggered by 2c41924b4c

[skip changelog]
2025-09-07 07:22:48 +00:00
github-actions[bot]
0fc3ca84cf chore: Auto Templates Optimization
Triggered by 6226b2702d

[skip changelog]
2025-09-04 02:34:18 +00:00
github-actions[bot]
6226b2702d chore: Auto Update Game Resources - 2025-09-04
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/17451555281

[skip changelog]
2025-09-04 02:33:49 +00:00
github-actions[bot]
11ac53d063 chore: Auto Templates Optimization
Triggered by 850039b15c

[skip changelog]
2025-09-01 22:51:45 +00:00
github-actions[bot]
d6708aba71 chore: Auto Templates Optimization
Triggered by dcf5ad9402

[skip changelog]
2025-08-31 15:08:30 +00:00
Constrat
24504d6f6c fix: update Infrast templates for EN 2025-08-30 17:03:01 +02:00
github-actions[bot]
24095dbc15 chore: Auto Templates Optimization
Triggered by ed225cc572

[skip changelog]
2025-08-29 14:31:06 +00:00
Constrat
6a183f23ff fix: OfficeMini template for EN 2025-08-29 01:50:18 +02:00
github-actions[bot]
1f57278707 chore: Auto Templates Optimization
Triggered by 6b8a7609fa

[skip changelog]
2025-08-28 22:55:34 +00:00
github-actions[bot]
a9c0aae665 chore: Auto Templates Optimization
Triggered by 76a12e5544

[skip changelog]
2025-08-28 09:33:13 +00:00
github-actions[bot]
a53e1a4092 chore: Auto Update Game Resources - 2025-08-28
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/17291207437

[skip changelog]
2025-08-28 09:09:22 +00:00
github-actions[bot]
4825ff9e3c chore: Auto Templates Optimization
Triggered by cc1ec5ee1d

[skip changelog]
2025-08-19 06:46:41 +00:00
uye
1dca9e4625 fix: 无法区分界园 3/5 层 boss 2025-08-14 19:57:12 +08:00