Commit Graph

144 Commits

Author SHA1 Message Date
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
微莹·纤绫
d10d20302e
Dokka (#1708)
* dokka

* test

* Fix classpath

* Fix deploy

* Fix deploy

* Fix deploy

* GitHub workflows
2021-12-04 15:43:09 +00:00
Karlatemp
3bd56bd480
Replace Bug Report to GitHub issue forms [no ci] 2021-11-20 20:49:37 +08:00
Karlatemp
9b47b2877c
Try fix publishing
[no ci]
2021-11-02 23:10:32 +08:00
Karlatemp
d8ac8e2034
Ensure all compilations completed before publish 2021-09-22 18:22:16 +08:00
Karlatemp
3b7e85f3c5
Ensure all artifact published; fix #1552 2021-09-18 18:29:44 +08:00
Him188
f90320bd2b
Snapshots publishing (#1465)
* Add snapshots publishing

* fix workflow

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* Create tag on releasing snapshots

* fix

* fix

* fix

* Publish only when tagged `v*`

* MAMOE_TOKEN

* fix

* fix

* Close repository but not publish on release

* Ignore documentations for snapshots publishing

* Update docs for snapshots

* Remove unused newly added files

* Disable all shadow tasks on snapshots publishing

* Remove concurrency limitation for publish-mirai

* fix

* fix

* fix

* Remove publishMiraiCoreArtifactsToMavenLocal
2021-09-01 13:47:02 +08:00
Him188
3fc6fbed85 Change all system property names mirai.debug.network.* to mirai.network.* 2021-07-28 11:45:43 +08:00
Karlatemp
2c3f686315
Update issue template of bug report 2021-07-07 23:03:18 +08:00
Karlatemp
39e312f71c
Add description of network log files; close #1343 2021-06-21 22:19:13 +08:00
Him188
f2ca8e1eff Revert "Fix kt compiler errors (#1159)"
This reverts commit b227f719
2021-06-19 23:58:27 +08:00
Him188
b469ccc7bf Fix yaml syntax 2021-05-31 16:20:09 +08:00
Him188
04dda62740 Enable debugging properties in actions 2021-05-31 16:14:51 +08:00
Him188
5e25c0e25b Remove bintray 2021-05-25 12:25:53 +08:00
Him188
0a3bb2b5c3
Create config.yml 2021-05-06 14:10:00 +08:00
Karlatemp
b227f719a2
Fix kt compiler errors (#1159)
* Fix kt compiler errors

* Revert "Fix compiler bug, fix #1136"

This reverts commit 39f6c168

* Fix log style

Co-authored-by: Him188 <Him188@mamoe.net>
2021-04-05 22:41:26 +08:00
sandtechnology
3d6dd03666
Making version section more detailed for user (#1163) 2021-04-04 16:30:06 +08:00
Him188
faebbde94c Do not publish on release created 2021-03-26 10:46:01 +08:00
Him188
eccb92a78d Publish on tagged v* 2021-03-26 10:40:08 +08:00
Him188
1d68c6ab68 Don't checkout submodules remotely in CI builds 2021-02-27 14:44:46 +08:00
Him188
9922aa48ba Run 'Release Publish' on tagging '*-release' 2021-02-11 19:09:08 +08:00
Bo Zhang
ba06ce6db3 Simplify release.yml task 'check keys'
from https://github.com/mamoe/mirai/pull/981#discussion_r574175859
2021-02-11 17:02:54 +08:00
Karlatemp
32ef89add1
Merge remote-tracking branch 'origin/dev' into maven-central
# Conflicts:
#	.github/workflows/bintray.yml
#	.github/workflows/release.yml
2021-02-10 10:01:07 +08:00
Bo Zhang
d998b655e5
Use build scan instead of --info --stacktrace (#1008)
So we can have much neater build logs
2021-02-09 21:58:27 +08:00
Karlatemp
ff23709ae3
Merge remote-tracking branch 'origin/dev' into maven-central
# Conflicts:
# .github/workflows/bintray.yml
# .github/workflows/release.yml
# buildSrc/src/main/kotlin/Versions.kt
2021-02-08 12:24:15 +08:00
Him188
f2d9c0e5d2 Fix publishing workflow 2021-02-07 15:53:46 +08:00