Commit Graph

43 Commits

Author SHA1 Message Date
Particle_G
2d7d02d5c9 CI update workflow (#1175)
(cherry picked from commit 64ddb09060)

Co-authored-by: MrZ_26 <1046101471@qq.com>
2024-11-08 01:59:37 +08:00
Imple Lee
c03f3f727c fix cc move error when spawn is too low (#874) 2023-03-27 12:53:48 +08:00
Particle_G
388e8e1fe1 - Fix deprecated set-output 2022-10-25 03:34:57 +00:00
Particle_G
aedb541f68 Use new CI system (#732)
* - Init new CI/CD system

* - Update resources

* - Update android assets

* - Update iOS assets

* - Use stable version

* - Fix apple bundle id

* - Use libs-path

* - Try modify iOS love source codes

* - Update patch

* - Try add ColdClear to macOS

* - Try add Cold Clear to Linux

* - Fix download ColdClear

* - Change inputs order

* - Try new get-CC

* - Fix iOS
2022-07-29 18:21:46 +08:00
Imple Lee
db47528a37 check syntax validity in automatic test (#701) 2022-05-07 12:30:27 +08:00
Imple Lee
9dab204ae8 change fixed URL to relative URL in GitHub Actions (#699) 2022-05-05 16:11:47 +08:00
Imple Lee
075f643fb7 check font in automatic test (#698)
* check font in automatic test

* fix `description` in `action.yml`

* check font first
because it's faster

* add link to missing character

* fix grammar error

* fix grammar error again

* fix SHA error

* fix one-line error to align with github

* fix: make line-number start from 1
2022-05-04 18:25:52 +08:00
Imple Lee
54175a6ee8 change default cc branch 2022-02-20 18:26:22 +08:00
Trebor Huang
ae15281db0 Allow Zframework to be checked out (#580)
* Allow checkout Zframework

* Propagate changes to all workflows

* Fix indentation

* Decide to be `recursive`

* Remove unnecessary checkouts

* Remove unnecessary recursive checkouts
2022-01-05 12:50:43 +08:00
ParticleG
ae61ec26c0 - Remove upload to server 2021-11-15 01:39:37 +08:00
ParticleG
e09609ea21 - Use Python 3.9 2021-11-09 16:04:06 +08:00
ParticleG
d02ae67bc0 - Add logs to upload-artifact 2021-11-09 16:04:06 +08:00
ParticleG
546104ba5b - Add Upload Action 2021-11-09 16:04:06 +08:00
MrZ626
111790fdab 修正自动打包没有把legals.md和license.txt文件放进去 2021-11-06 03:27:09 +08:00
MrZ626
a34a3051a3 Merge remote-tracking branch 'tech/ci-autotest' into HEAD 2021-11-02 17:39:13 +08:00
MrZ626
3db28f5136 再修正ci替换版本号的问题 2021-11-01 17:33:42 +08:00
MrZ626
f9e37f3c6a 修正ci替换版本号的小问题 2021-11-01 17:24:47 +08:00
MrZ626
904bcf6852 版本号改为0.16.4,移除@DEV标记(需要测试) 2021-11-01 15:52:23 +08:00
Trebor-Huang
951b7407fc Keep up the pace 2021-11-01 09:52:41 +08:00
Imple Lee
d75b709f23 Move Python code from updateVersion.py into action.ymls directly (#423)
* test python3

* try use `python` instead of `python3`

* use `update-version` everywhere

* fix variable injection

* fix python2vs3

* move `updateVersion.py` into action files
2021-11-01 02:12:32 +08:00
Trebor Huang
f4b85e0dbb Merge branch 'main' into ci-autotest 2021-10-31 23:51:40 +08:00
Trebor-Huang
e42fa8351e Can't get xvfb to return the correct value? 2021-10-31 23:35:12 +08:00
Trebor-Huang
9582a625ff Add shell 2021-10-31 23:20:33 +08:00
Trebor-Huang
81abb06f7b Add shell 2021-10-31 23:19:04 +08:00
Trebor-Huang
7cfea0eebe Try using composite 2021-10-31 23:15:57 +08:00
ParticleG
5e9c9cb5fa - Try use discordrb 2021-10-31 00:39:52 +08:00
Particle_G
bd4b28e052 Rel ci test (#412)
* - Test iOS release

* - Fix wrong grammar

* - Try release CI

* - Modify window size

* - Try with discord webhook

* - Finish test
2021-10-26 01:33:50 +08:00
Trebor Huang
c6c5c849b4 Dmg ameliorate (#408)
* Add `dmg` background

* Eyeball coordinates

* Add dmg icon

* Delete dmg-background.png

* Change background

* Change resources

* Fix line break

* 词典的命令行词条补充一些

* 屏蔽词典敏感词
词典场景代码简化(无需性能场景,更易读)

* Update dict_en.lua (#410)

I've personally never seen the game being referred to as Tetris Tour. In most places, including Tetris.com, it's referred to as Tetris Journey; TapTap once referred to it as Tetris Adventure.

* 修复生成AI玩家时没刷新20G开关

* 再减少一点框架依赖

* 修改BGM模块的初始化log
简单统计启动第一帧各个阶段加载时间

* 修改更新历史和build号

* - Testing CI

* - Change CI name

* - Update badge

* - Pass version number to fastlane

* - Modify build number

* - Try more dots

* - Add send email support

* - Give up using email to notify

* -  Only test macos

* - Skip sign and notarize

* - Change position

* - Modify window size

* - Slighty move icons

* - Re-enables other stuffs

Co-authored-by: MrZ626 <1046101471@qq.com>
Co-authored-by: user670 <22617255+user670@users.noreply.github.com>
Co-authored-by: ParticleG <particle_g@outlook.com>
2021-10-25 21:06:11 +08:00
ParticleG
e5fd3f6c9f - Give up using email to notify 2021-10-25 15:58:03 +08:00
ParticleG
8d8e537cd4 - Add send email support 2021-10-25 14:15:48 +08:00
ParticleG
658e6f7fdd - Pass version number to fastlane 2021-10-24 22:06:30 +08:00
ParticleG
4e3823616d - Update variables 2021-10-24 16:06:23 +08:00
ParticleG
7450bae6d2 [no ci] Rearrange names and descriptions 2021-10-24 15:37:33 +08:00
Trebor-Huang
ac9e649e02 Integration into current CI files 2021-10-24 13:06:29 +08:00
Trebor-Huang
506e1a4c1d Use *.dmg format to distribute on macOS
Pack up dmg files

Cooperate with fastlane config

Fix directory

Put off notarization

Diagnose dmg

Try notarize

Check notarize

Duh Fix

Better codesigning

Last try
2021-10-24 13:06:11 +08:00
YunyushuLiu
c9d74a4cdf Follow up macOS CI
- Update macOS CI to use flatlane

- Test macOS

- Use Github tokens

- Pass MATCH_PASSWORD

- Fix wrong path

- Update keychain file

- Change keychain path

- Update macOS release

- Triggered on release, not main

- Try notarize macOS app

- Triggered on test branch

- Triggered by release

- Rename lane names to avoid infinite recurse

- Init dev workflow

- Triggered by tags

- Rename workflow name

- Update workflows

- Allow all tags

- Fix on

- Add codesign options

- Add missing =

- Update options

- Test sign

- Fix options

- Update macOS template
- Use identifier

- Fix minor issues

- Try not notarize

- try not sign package

- Try sign without runtime option

- Try notarize without runtime option

- Use entitlements

- Add back runtime option

- Pack the whole directory to see what happened

- Chmod +x love

- Try with strict and print app info

- Change step order

- Break into two step

Zip first with `ditto`.

Push back zipping

Don't check the `zip` file

Stop zipping it over and over and over and over

Try zipping right
2021-10-24 13:05:51 +08:00
YunyushuLiu
0ff2e6e273 Implement iOS CI
- Update for multiple targets

- Fix wrong lane

- Update Dev CI

- Rename scheme

- Test ad-hoc

- Enable other runs

- Try use if

- Fix missing shell property

- Fix if

- Add change log support

- Update apple key

- Test Release

[no ci] fix grammar

- Release test

- Only test release

- New build

- Test rename in fastfile

- Move right ipa

- Finish touching
2021-10-24 13:05:35 +08:00
MrZ626
c4c6ab3130 删除ci中对不存在的document文件夹的操作 2021-10-24 04:46:51 +08:00
Particle_G
b80a72785b Ci ios (#399)
*Bunch of ci-ios thing*

Co-authored-by: Imple Lee <80144331+ImpleLee@users.noreply.github.com>
Co-authored-by: Trebor-Huang <2300936257@qq.com>
Co-authored-by: Trebor Huang <41145779+Trebor-Huang@users.noreply.github.com>
Co-authored-by: YunyushuLiu <kunluntree@qq.com>
Co-authored-by: MrZ626 <1046101471@qq.com>
Co-authored-by: 梦飞翔 <1149761294@qq.com>
2021-10-21 02:49:29 +08:00
Particle_G
e236be7a62 Ci ios (#395)
* merge get-cc-url into get-version

* add `get-cc`

* remove `apt update`

* rename `get-version` -> `get-info`

* rm unnecessary file

* - Add support for ios
- Fix missing top folder for macos

* - Fix directory names

* - Fix with binary r/w

* iOS的plist文件先转换为明文

* add IOS

* 整合新action

* Finishing touch

* Update action.yml

* Test chmod

* - Xcode build test

* - Build with default keychain

* - Test iOS only

* - Use macos-11

* - Change keychain operations' sequence

* - Allow provisioning updates

* - Set build directory

* - Specify build path

* - Pack bare app

* - Add quiet option

* 测试:输出touchrelease位置

* - Test with ad hoc cert

* - Fix wrong variable

* - Use Release instead of Distribution

* - Chmod CCloader to add execute permission

* 继续测试ios触屏问题

* 继续测试ios触屏问题

* - Use macos latest
- Re-enable other runs

* - Sign CCloader after build

* - Remove redundant inputs in build.yml

* - Install test

* - Export test

* - install test

* - Try fastlane

* - Use builtin ruby

* - CI Test

* - Update python script to fix ios versioning

* - Use static lib

* - Test static cc

* - Fix locations

* Update readme.md

Co-authored-by: Imple Lee <80144331+ImpleLee@users.noreply.github.com>
Co-authored-by: Trebor-Huang <2300936257@qq.com>
Co-authored-by: Trebor Huang <41145779+Trebor-Huang@users.noreply.github.com>
Co-authored-by: YunyushuLiu <kunluntree@qq.com>
Co-authored-by: MrZ626 <1046101471@qq.com>
Co-authored-by: 梦飞翔 <1149761294@qq.com>
2021-10-20 13:07:51 +08:00
Trebor Huang
46a49050b9 Fix vulneribility 2021-10-18 02:00:26 +08:00
Imple Lee
25b5f53f34 update cc-related CI (#387)
* merge get-cc-url into get-version

* add `get-cc`

* fix

* fix again

* fix

* fix

* fix macos

* remove `apt update`

* fix macos

* rename `get-version` -> `get-info`

* rm unnecessary file
2021-10-17 14:23:36 +08:00
Imple Lee
7f8efcdf41 move some work into independent jobs (#366)
* change build branch in build.yml

* try with get-version

* fix get-version

* fix get-version again

* try use get-version everywhere

* use apt upgrade again

* fix get-version again

* fix get-version again

* fix get-version again

* fix get-version again

* independent get-cc-url

* fix get-cc-url

* remove 2 useless commands

* try action

* try fix action

* try action

* use get-unzip

* try windows build

* fix build-windows

* fix build-love

* try build-linux

* add shell in build-linux

* put `commit id` into `get-version`

* fix `updateVersion.py -T Version`

* try build-android

* add shell into `build-android`

* move away android signing from build-android

* apply build-android on android mini

* gain snapshot action

* fixes

* fix build-love

* use build-macos

* put more into build-android

* fix build-android

* put more into build-macos

* fix

* fix

* ci: use preinstalled ndk (#367)

* fix apk location

* move `rename` into `build-android`

* fix `build-android`

* rename variable; remove a level of zips in macOS

* shallow clone

* remove tons of `./`s

* fix icon in windows and linux

* reorganize build-android

Co-authored-by: 梦飞翔 <1149761294@qq.com>
2021-10-15 01:06:17 +08:00