Commit Graph

169 Commits

Author SHA1 Message Date
Him188
4ed551027a [build] Support both configuring Android targets by Android SDK or JVM
- try to fix sdk dir when android is desired
- Do not printAndroidNotInstalled multiple times
2023-05-02 16:17:48 +01:00
Him188
9995a2136c
[build] Publishing: remove install OpenSSL for macOS 2023-05-01 11:09:44 +01:00
Him188
30b3472460
[build] Fix macOS CI, use pre-installed OpenSSL 2023-04-15 14:58:57 +01:00
Him188
50a24582a7
[build] Run snapshot publishing jobs only in mamoe/mirai. Fix #2580 2023-03-19 16:27:51 +00:00
Him188
48d674b383
[build] Actions v3 (#2518)
* [build] Update to `actions/checkout@v3` and `actions/setup-java@v3`

* v3
2023-02-20 23:56:20 +00:00
Him188
f6dc4c6b55
[build] 使用自增序号作为预览版本号 (#2516)
* [build] Use numerical build index numbers for snapshot versions

* use warning

* Use same index for all machines

* fix get

* different indexes for branches

* add docs
2023-02-18 23:22:03 +00:00
Him188
d5055316e7
[build] Fix worflow 'Check Publishing' unncessary checking to pull_request 2022-12-17 22:40:08 +00:00
Karlatemp
4962f1907e
[ci] Try to fix snapshot publishing 2022-12-15 12:37:09 +08:00
Him188
943be41108
[build] Disable Ubuntu 18 CI machines 2022-12-02 01:34:02 +00:00
Karlatemp
bdaabeb7ef
[publish] Kill java processes before publishing to central 2022-11-29 15:27:37 +08:00
Karlatemp
531ef65f5e
[publish] Rewrite publishing 2022-11-29 15:24:46 +08:00
Him188
e34f7d0d00 [build] Do not run duplicated macos tests for mirai-core native 2022-11-27 15:25:18 +00:00
Him188
b0af6b0818 [build] Run only native tests for Release Publish to avoid OOM. Do not close repository because it always fails. 2022-11-27 15:25:18 +00:00
Him188
2c9c6bd82b [build] Disable check-publishing for Windows due to OOM 2022-11-27 15:25:18 +00:00
Him188
9f7face6eb [build] Disable KotlinNativeLink by default. Can be enabled by -Dmirai.native.link=true 2022-11-27 15:25:18 +00:00
Him188
9540bc95c5 [gradle+deps] Adjust memory limit for test Gradle instances 2022-11-27 15:25:18 +00:00
Him188
a6af7e82ea [build] Fix check-publishing actions 2022-11-27 15:25:18 +00:00
Him188
f7e138086b [build] Disable parallel compilation on Windows and Ubuntu 2022-11-27 15:25:18 +00:00
Him188
4c8a18edb7 [build] Fix shadow task dependencies and check-publishing actions 2022-11-27 15:25:18 +00:00
Him188
c9dd92c694 [build] Use pat-s/always-upload-cache@v3.0.11 for caching 2022-11-27 15:25:18 +00:00
Him188
2df721ed50 [build] Disable ubuntu-18.04 from CI machines for all workflows to speed up builds 2022-11-27 15:25:18 +00:00
Him188
442b52d61c [build] Add separate 'Check Publishing' workflow to speed up usual builds 2022-11-27 15:25:18 +00:00
Karlatemp
2682b1665c
[skip ci] Update bug.yml 2022-11-23 17:56:26 +08:00
Him188
1d6e6ea67d
[core] Ensure MPP metadata with all available platforms is uploaded before uploading platform artifacts. Fix #2270 2022-10-19 16:30:20 +01:00
Him188
9042b1298d
Update bug.yml 2022-10-15 10:22:28 +01:00
Him188
e967b888a3
[build] Run JVM builds no macOS, and concurrently to improve speed 2022-08-28 13:48:56 +08:00
Him188
5935e16029
[build] Remove matrix osmacos-os for Native builds 2022-08-28 12:39:53 +08:00
Him188
428089617f
[build] Run JVM builds on Windows 2022-08-28 12:36:55 +08:00
Him188
15dea7a6b2
[build] Run JVM builds on Windows 2022-08-28 12:36:02 +08:00
Eritque arcus
13c473fa4e
[build] use github.event.pusher replace github.event.push (#2173) 2022-08-12 19:31:28 +08:00
Him188
60f477b794 Configure publishing for HMPP 2022-07-20 00:30:16 +08:00
Him188
793fdc05b4 Disable JVM tests for Windows 2022-07-20 00:30:16 +08:00
Him188
b82517e513 actions publishing 2022-07-20 00:30:16 +08:00
Him188
fd67ba9204 Configure shadow relocation and add checks for multiplatform publishing 2022-07-20 00:30:16 +08:00
AdoptOSS
dc747ea438 fix: platform socket on Windows (#2121)
* fix: platform socket on Windows

* fix(workflow): use win platform ssl provider instead of openssl for cURL
openssl can't use system's native CA store by default
2022-07-20 00:30:16 +08:00
AdoptOSS
7325c1f7e2 native: 优化 build script 及 actions,修复 ECDH 相关资源释放问题 (#2110)
* build: fix build on Windows

* test: fix ContentEqualsTest on native

* build: allow disabling targets with property

* fix: free ECDH-related resources properly on native
avoid memory leaking (usually on *nix) or crash (usually on Windows)

Signed-off-by: AdoptOSS <adoptoss@outlook.com>

* build(workflow): remove invalid options

* fix(styling): `mirai.target` property

* build(workflow): try to limit memory usage during mirai-console:tools:gradle-plugin:integTest

* enhance(test): use buildList

* build(workflow): retry

Co-authored-by: ArcticLampyrid <arcticlampyrid@outlook.com>
2022-07-20 00:30:16 +08:00
Him188
daf9c4a208 Configure GitHub Actions for native 2022-07-20 00:30:16 +08:00
Karlatemp
75fea25e38
Disable parallel when running testing 2022-06-07 10:40:13 +08:00
Karlatemp
eff9adf0a3
Release CI RAM before publish a snapshot page & ignore page creating error 2022-05-18 17:31:23 +08:00
Karlatemp
efd864449e
Try to fix CI 2022-04-09 16:44:50 +08:00
Karlatemp
fd2663e60c
Publish snapshot pages after built 2022-04-09 16:44:49 +08:00
Karlatemp
30f1f98a83
Upload artifacts after workflow 2022-03-22 23:54:27 +08:00
Him188
b4ca90be02
Update bug.yml 2022-02-19 13:21:47 +00:00
Him188
b43e6c1957 Rename all 'fillBuildConstants' tasks to 'generateBuildConstants' and ensure generated files are not versioned. Update docs and CI build config 2022-01-10 23:27:23 +00:00
Karlatemp
d14261d5b0
Update issue template
[no ci]
2022-01-05 17:46:57 +08:00
Him188
75dc7ad5d6 Use JDK 17 on actions 2021-12-23 01:37:11 +00:00
Him188
bd65ac9c24 Disable tests on Windows and Ubuntu 2021-12-21 18:59:29 +00:00
Him188
dd25b402e6 Fix actions 2021-12-18 18:06:35 +00:00
Him188
7fa6b4e1d7 Configure build for platforms: Windows, macOS 11, Ubuntu 2021-12-18 17:29:37 +00:00
Karlatemp
6f55816b08
Use JDK 11 for CI 2021-12-18 17:12:50 +08:00