Commit Graph

151 Commits

Author SHA1 Message Date
soundofautumn
84f1bf490c 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
Constrat
884cff91d8 ci(fix): resource updater incorrectly cleaning optimize_templates.json 2026-01-24 15:41:55 +01:00
dependabot[bot]
e4d5d1999c 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
dependabot[bot]
8b2a694412 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
ea63e5aa23 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
641a673f14 ci: continue on error for all actions/cache 2025-11-22 22:23:36 +08:00
Constrat
c75b7b41bc ci(testing): game resource update error comment tweaks and changes 2025-11-18 16:11:14 +01:00
AnnAngela
d4a6fb3fa2 ci: Change curl command to fail on error
cc @Constrat
2025-11-18 22:31:57 +08:00
AnnAngela
aa374699a4 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
Constrat
0e545e870c chore: remove expired token 2025-11-05 11:44:57 +01:00
Constrat
ad2d828974 fix: move to public arkntools repo for txwy
Thanks to @Tsuk1ko
2025-11-05 11:44:38 +01:00
Lucien Shaw
0711c822c2 ci: 更新最新工作流的部分显示名称和部分代码注释中的表达 (#14597)
* ci: name change for submodule update workflows

* ci: if failed -> on failure

* docs: 代码注释中,succeeded与failed相对
2025-11-01 17:48:16 +08:00
MistEO
bcf93aeeca refactor: 集成 MaaUtils (#14578)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-10-31 14:56:56 +08:00
dependabot[bot]
5faabf5367 ci: bump the github-actions group in /.github/workflows with 2 updates (#14553)
Bumps the github-actions group in /.github/workflows with 2 updates: [actions/upload-artifact](https://github.com/actions/upload-artifact) and [actions/download-artifact](https://github.com/actions/download-artifact).


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 `actions/download-artifact` from 5 to 6
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v5...v6)

---
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: actions/download-artifact
  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-10-28 11:32:20 +01:00
Constrat
6020d255f1 test: remove cancelled() and add mentions 2025-10-21 15:31:56 +02:00
Constrat
b010e42664 fix: change default issue + remove always as not necessary 2025-10-21 15:31:06 +02:00
Constrat
6b1a189b7b fix: add always() 2025-10-21 15:26:20 +02:00
Constrat
639d715aa9 ci: test using a single issue by adding comments and hiding previous comments 2025-10-21 15:23:17 +02:00
Constrat
089e0d04b0 ci: increase sleep delay for resource updater 2025-10-21 14:42:01 +02:00
Lucien Shaw
d6e6be44c9 ci: refine display names for existing workflows (#14419)
---------

Co-authored-by: Constrat <56174894+Constrat@users.noreply.github.com>
2025-10-21 14:37:49 +02:00
Constrat
c3aac18e1b style: run prettier as there's missing stuff apparently 2025-10-20 21:30:13 +02:00
MistEO
659d1a6669 ci: use sh install zsh to fix resource updater
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/18378946272/job/52360092110

Zsh seems to treat the array as a whole string and cannot split it, resulting in traversal errors @Constrat
2025-10-09 22:16:48 +08:00
MistEO
295fe15604 ci: set hash version 2025-09-15 02:31:32 +08: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
nekosu
f2b4a622e6 feat: custom clang (#14102)
* feat: custom clang

* fix: version typo

* fix: version typo
2025-09-14 12:35:40 +02:00
Constrat
d1ed40f5c1 ci: reduce building scope for resource updater + rm llvm.sh (#14084)
* test: pre target / component

* test: temp disable cache

* fix: add libcxx

* ci: remove llvm.sh after execution

* test: reconfigure cache
2025-09-12 12:46:26 +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
43fcba1a5c ci: update resource updater pipeline
#14045
2025-09-11 12:50:20 +08:00
dependabot[bot]
5b372dfc27 ci: bump the github-actions group across 1 directory with 7 updates (#14041)
* ci: bump the github-actions group across 1 directory with 7 updates

Bumps the github-actions group with 7 updates in the /.github/workflows directory:

| Package | From | To |
| --- | --- | --- |
| [actions/checkout](https://github.com/actions/checkout) | `4` | `5` |
| [actions/download-artifact](https://github.com/actions/download-artifact) | `4` | `5` |
| [softprops/action-gh-release](https://github.com/softprops/action-gh-release) | `2.3.2` | `2.3.3` |
| [actions/github-script](https://github.com/actions/github-script) | `7` | `8` |
| [actions/setup-python](https://github.com/actions/setup-python) | `5` | `6` |
| [actions/stale](https://github.com/actions/stale) | `9` | `10` |
| [actions/setup-node](https://github.com/actions/setup-node) | `4` | `5` |



Updates `actions/checkout` from 4 to 5
- [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...v5)

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

Updates `softprops/action-gh-release` from 2.3.2 to 2.3.3
- [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.3.2...v2.3.3)

Updates `actions/github-script` from 7 to 8
- [Release notes](https://github.com/actions/github-script/releases)
- [Commits](https://github.com/actions/github-script/compare/v7...v8)

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)

Updates `actions/stale` from 9 to 10
- [Release notes](https://github.com/actions/stale/releases)
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/stale/compare/v9...v10)

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

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
- dependency-name: actions/download-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.3.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
- dependency-name: actions/github-script
  dependency-version: '8'
  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
- dependency-name: actions/stale
  dependency-version: '10'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
- dependency-name: actions/setup-node
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>

* ci: fix schema

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Constrat <56174894+Constrat@users.noreply.github.com>
2025-09-08 18:51:43 +02: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
MistEO
8cc692636a Revert "ci: bump the github-actions group in /.github/workflows with 2 updates" (#13707) 2025-08-15 10:11:34 +08:00
dependabot[bot]
6333fd5e08 ci: bump the github-actions group in /.github/workflows with 2 updates (#13648)
Bumps the github-actions group in /.github/workflows with 2 updates: [actions/checkout](https://github.com/actions/checkout) and [actions/download-artifact](https://github.com/actions/download-artifact).


Updates `actions/checkout` from 4 to 5
- [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...v5)

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

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
- dependency-name: actions/download-artifact
  dependency-version: '5'
  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-08-12 09:32:59 +08:00
Constrat
c3ac608cb8 fix: update-resources.yml removal from res-update-game 2025-05-15 12:01:30 +02:00
Constrat
3e8eddb081 rft: tasks (#12448)
* rft: tasks

* chore: remove older tasks.json

* rft: move some stages

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

* rft: rename

---------

Co-authored-by: SherkeyXD <57581480+SherkeyXD@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-04-25 18:31:37 +08:00
MistEO
4674c455c7 ci: temp update resource token
急急急,先改了用着。回头看看换成哪个正确的
2025-02-14 16:46:47 +08:00
Constrat
084e324ee9 feat: script to update version.json (#11875)
* chore: do not modify version.json time in cpp

* feat: add version time updater script

* chore: add version.ps1 to workflow

* feat: implement previous logic from validator.ps1

* feat: add version bool for update-resources

* fix: wrong condition on OTA step
2025-02-13 14:24:47 +08:00
Constrat
bebfaef7f9 feat: bypass update resources in formatting cases (#11867) 2025-02-12 12:59:16 +01:00
Constrat
a3a7573667 refactor: switch gamedata repos for workflow (#11799)
* refactor: switch gamedata repos for workflow

* refactor: switch gamedata repos for workflow fix

* fix: I'm stupid

* fix: main.cpp resource updater

* ci: fix ps1 script

* fix: I'm stupid 2
2025-02-07 20:35:45 +01:00
Constrat
fa3be5c531 fix: delay and retry downloads on resource updater (#11504) 2025-01-07 16:28:55 +01:00
Constrat
580d25e771 ci: fix consistency in cache key for res-update
[skip changelog]
2025-01-01 17:54:49 +01:00
Constrat
c28afd9908 style: simplify key for res-update-game
[skip changelog]
2025-01-01 17:43:59 +01:00
Constrat
2e515e53ad fix: GH_TOKEN for smoke testing + fail_fast 2024-12-20 23:46:33 +01:00
Constrat
93499806db ci: perf improvement with caching (#11400) 2024-12-20 23:31:40 +01:00
Constrat
8f40647045 ci: bump res update game upload action version 2024-12-15 23:21:54 +01:00
Constrat
1651b5b21e Revert "refactor: yml -> yaml standardization"
This reverts commit 70edd47c6c.
2024-12-14 14:46:30 +01:00
Constrat
70edd47c6c refactor: yml -> yaml standardization 2024-12-14 14:39:01 +01:00
Constrat
e52f006264 ci: styling formatting + cron adjustment 2024-12-13 15:04:18 +01:00
Constrat
3c472c5789 Revert "ci: change author from github bot to github actions"
This reverts commit a4bb55bcc7

[skip changelog]
2024-12-04 11:03:54 +01:00