1
0
Fork 0
mirror of https://github.com/ninjamuffin99/Funkin.git synced 2024-11-24 15:56:30 +00:00
Commit graph

122 commits

Author SHA1 Message Date
Cameron Taylor e1aa25a249
Merge pull request #791 from FunkinCrew/actions-manual-output
Allow for manual configuration + artifact saving for Github Actions
2024-09-25 19:24:14 -04:00
EliteMasterEric d54dc6179a Add several new Github Actions for issue management 2024-09-18 06:02:13 -04:00
Cameron Taylor 7fbbc5cf95 save artifacts on html5 and linux? 2024-09-17 04:48:30 -04:00
Cameron Taylor 4939b09fb0 manual build artifacts 2024-09-17 04:43:34 -04:00
mint 1089764ab6 suppress useless git warnings 2024-08-26 21:32:21 +02:00
mint a1714711e3 swap docker image deps 2024-08-26 21:32:21 +02:00
Cameron Taylor a15695c3dc compile dev version of hxcpp 2024-07-25 06:39:12 -04:00
EliteMasterEric 242ab6e922 Add change counts labels to Actions labeler 2024-07-10 18:08:54 -04:00
Cameron Taylor 5d866cb186 pr target 2024-05-23 14:53:25 -04:00
Cameron Taylor 28bf46022a add simple PR auto labelling action 2024-05-23 14:37:50 -04:00
Hazel 0cb206cc52 fix(ci): private repo auth, for real this time (#510) 2024-04-24 23:10:17 +01:00
Hazel 71ea913f0a fix(ci): priv repo auth, ii. (#509) 2024-04-24 22:21:54 +01:00
Hazel 826199c055 fix(ci): private repo auth (#508) 2024-04-24 22:08:35 +01:00
Hazel 7644ce1019 feat: ci parallelization, linux builds, ci refactoring (#484)
* first linux build attempt

* linux deps!

* hxcodec dependencies

* build timeouts

* reup hxcpp cache every time

by default gh actions will not update caches on cache hit.
since the hxcpp cache grows with compiles, that's not what we want here.
since we *do* need the files newly compiled.

* ci speed test

* group runners by purpose

* REFACTOR CI. IT WAS NEEDED

* smol changies

* second attempt at libc

* fix any format issues

* it's 1:50am

* migrate away from gacts/run-and-post-run@v1

* apt does not have a stable cli interface. use with caution in scripts

* first attempt at libffi6

* second attempt at libffi6

* fuck that

* sigh

* html5 also needs new libc

* make sure rerunning ln -s doesn't fail the build

* desperate attempt

* arc attempt

* arc, ii

* ci

* apt-GET

* who needs safeguards anyway

* clean ci build

* debug time

* lots of connectivity debugging

* 🥺

* natesales/q

* i'm not very smart

* debug hard?

* whose traceroute?

* pls

* ...

* we go even newer

* merge moment

* haxelib maybe

* debug info

* 🥺

* lower mtu runner?

* libffi my beloved

* no multiline env?

* smol buggy

* non docker-aware vars

* i love bash

* builds hopefully go nyoom

* forgor native dep

* [skip ci] meow

* convenient typo

* sigh

* [skip ci] waow

* [skip ci] docker is hard

* i don't understand docker tbh

* debuggering

* docking

* small amount of dumb but still doesn't explain why curl doesn't curl

* just vsc things

* ca certs issue?

* please this has to be the one

* find -type d fail, laugh at this user

* too eepy

* im not that smart am i

* attempt to run containerized from docker base image

* [skip-ci] some more docking

* might as well try

* :pleaading_face:

* ?

* !

* idea

* sigh

* i give in

* aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa

* 🥺

* hopefully fix hxcpp cache

* [skip ci] a little dx never hurt anyone

* try removing things until it breaks

* welp that was easy

* not-docker-friendly paths in non-docker env, etc. you get the point

* more sane default cache size

* finishing touches

* welp

* mounted volume

* no systemd, got it

* more failproof dockerfile

* does this not have ossh

* haxelib master

* hopefully final docker build

* bob the builder

* docking :3

* image cleanup

* github moment

* okay mayb

* gotta set it up first

* i have an idea

* hope we ready

* 🥺

* fuck

* sigh

* trigger build on new image

* no comment

* global hxcpp, first idea

* yikes

* hxcpp oopsy

* code dupe

* more code dupe

* lint

* increase hxcpp cache size on native builds as well

* buttons :3

* oops

* forgor to export env variable

* aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
2024-04-14 17:49:41 -04:00
Cameron Taylor e949900bec Merge pull request #434 from FunkinCrew/bugfix/combo-fixes
Bugfix/combo fixes

cancel builds if there's a new one queued

get list of current runs on current-branch

push test

comment out if merge

wrap in string

actions permissions

log

more log

cancel runs test

write permission

uncomment pr merge check

remove push lol

sender branch name

better branch

lol ref
2024-03-29 02:13:46 -04:00
Hazel 2b1fc1e7d7 bugfix: html5 builds (#418) 2024-03-25 16:12:37 +01:00
EliteMasterEric bbaf8dfb3e Debugger popup fixes 2024-03-12 17:57:52 -04:00
Hazel 0a19c7a8cb fix(ci), feat(ci), refactor: i don't need sleep, i need answers (#357)
* hx the codec

* fix(ci,html5): use haxe.Timer instead of Sys.time

* refactor(compat): use haxe.Timer instead of Sys.time(), introduce TimerUtil to reduce code dupe

* fix: redundant types

* refactor(style): use TimerTools in place of haxe.Timer

* refactor: consistent timer code

* feat: build timings

* refactor(ci): cleanup ci configs

* sigh

* sigh, 2

* fix: haxelib deleterepo does not silently fail

* retrigger ci

* verbose output

* debug info after haxelib gti

* force haxelib git override

* more debug info

* force bash

* at least haxelib is consistent now

* fix the runners first, then do that

* update ci-haxe

* it is time?

* deleterepo may fail

* finishing touches
2024-03-02 23:49:27 -05:00
Cameron Taylor 6da1dd57ad Update build-shit.yml 2024-02-27 22:27:50 -05:00
Cameron Taylor 92f52b2c3f flixel debugging on test builds 2024-02-12 23:15:18 -05:00
Hazel d6bc8d88aa fix(ci): checkout, html5 (#305)
* fetch-depth=1

* switch to app tokens

* docs?

* docs!

* actions / doesnt check out

* mac attempt 1

* custom setup haxe action

* trigger ci run thanks github

* interesting

* meow

* use tags

* homebrew fixing maybe

* mymindishazel/actions-setup-haxe@vC.1.8

* automationgit pushgit pushgit push

* rosetta all the way?

* macos oopsy

* mac cache && move ci to org

* update checkout action to do post-checkout cleaning

* update haxe & cache actions to node 20

* retry action but with updated ci-checkout@v6

* cleanup: there's no scheduled runs

* actions/cache@v4 in setup-haxe

* update to haxe 4.3

* lack of libc?

* ubuntu 23.10 has glibc 2.38

---------

Co-authored-by: Eric <ericmyllyoja@gmail.com>
Co-authored-by: Cameron Taylor <cameron.taylor.ninja@gmail.com>
2024-01-29 14:50:04 -05:00
Hazel 583eb81de5 fix(ci): checkout failures, feat(ci): mac builds
* fetch-depth=1

* switch to app tokens

* docs?

* docs!

* actions / doesnt check out

* mac attempt 1

* custom setup haxe action

* trigger ci run thanks github

* interesting

* meow

* use tags

* homebrew fixing maybe

* mymindishazel/actions-setup-haxe@vC.1.8

* automationgit pushgit pushgit push

* rosetta all the way?

* macos oopsy

* mac cache && move ci to org

---------

Co-authored-by: Eric <ericmyllyoja@gmail.com>
Co-authored-by: Cameron Taylor <cameron.taylor.ninja@gmail.com>
2024-01-18 07:19:29 -05:00
Hazel 3cff8873ce possibly fix submodule issues 2023-11-27 18:07:25 +00:00
Hazel 6e6958a3bd safe.directory moment 2023-11-21 19:17:34 +00:00
Hazel 01019d1422 update actions/checkout to v4 2023-11-21 18:59:41 +00:00
Hazel b6d7fc95e7 yaml 2023-11-21 18:55:45 +00:00
Hazel 1f1a430efc add check whether submodules exist 2023-11-21 18:54:46 +00:00
Hazel 818062605c ci: use our own hardware (#226)
* attempt selfhosted linux runner

* try container option

* run check_date job on own hardware too

* prep container

* importing actions before checkout doesn't work thanks github

* dockering

* attempt 2

* attempt 3

* typo

* permission issues

* try using safe.directory

* github actions moment

* container prep time!

* container prep time!
2023-11-21 13:29:38 -05:00
Cameron Taylor afcb677fac index on rewrite/bugfix/pause-and-results-fixes: 9b8fc872 song diff menu sort 2023-10-17 00:38:28 -04:00
Hazel db563a4967 hotfix: windows style paths 2023-10-09 21:03:49 +01:00
Hazel 3e1e5d330c ci: hxcpp + export caching 2023-10-09 19:39:11 +01:00
EliteMasterEric 1462d90a35 Disable unit test suite on Actions until we can figure out what's up. 2023-10-09 12:12:31 -04:00
Hazel 1e72c3d600 64fast is not worth it 2023-10-05 15:54:13 +01:00
Hazel 66e9bf8716 64fast 2023-10-05 15:41:37 +01:00
Hazel 6d7df09437 missed a checkout for unit tests 2023-10-05 15:34:01 +01:00
Hazel 572dfb2656 apt update 2023-10-05 14:57:02 +01:00
Hazel 50b579ed4f attempt using PAT for submodule checkout 2023-10-05 14:48:54 +01:00
Eric 874c57bde3 GitHub Actions: Release builds (#140)
* Initial test suite

* Fix some build warnings

* Implemented working unit tests with coverage

* Reduced some warnings

* Fix a mac-specific issue

* Add 2 additional unit test classes.

* Multiple new unit tests

* Some fixins

* Remove auto-generated file

* WIP on hiding ignored tests

* Added list of debug hotkeys

* Remove old website

* Remove empty file

* Add more unit tests

* Fix bug where arrows would nudge BF

* Fix bug where ctrl/alt would flash capsules

* Fixed bug where bf-old easter egg broke

* Remove duplicate lines

* More test-related stuff

* Some code cleanup

* Add mocking and a test assets folder

* More TESTS!

* Update Hmm...

* Update artist on Monster

* More minor fixes to individual functions

* 1.38% unit test coverage!

* Even more tests? :O

* More unit test work

* Rework migration for BaseRegistry

* gameover fix

* Fix an issue with Lime

* Fix issues with version parsing on data files

* 100 total unit tests!

* Added even MORE unit tests!

* Additional test tweaks :3

* Fixed tests on windows by updating libraries.

* A bunch of smaller syntax tweaks.

* New crash handler catches and logs critical errors!

* Chart editor now has null safety enabled.

* Null safety on all tests

* New Level data test

* Generate proper code coverage reports!

* Disable null safety on ChartEditorState for unit testing

* Update openfl to use latest fixes for crash reporting

* Added unit test to Github Workflow

* Updated unit tests to compile with null safety enabled by inlining assertions.

* Added coverage gutters as a recommended extension

* Impreovements to tests involving exceptions

* Disable a few incomplete tests.

* Add scripts for building unit coverage reports on linux

* GitHub Actions now creates release builds (for improved performance when testing)

---------

Co-authored-by: Cameron Taylor <cameron.taylor.ninja@gmail.com>
2023-08-30 18:32:51 -04:00
Eric 279277b18c Unit Tests: Coverage Reporting and Github Actions Integration (#131)
* Initial test suite

* Fix some build warnings

* Implemented working unit tests with coverage

* Reduced some warnings

* Fix a mac-specific issue

* Add 2 additional unit test classes.

* Multiple new unit tests

* Some fixins

* Remove auto-generated file

* WIP on hiding ignored tests

* Added list of debug hotkeys

* Remove old website

* Remove empty file

* Add more unit tests

* Fix bug where arrows would nudge BF

* Fix bug where ctrl/alt would flash capsules

* Fixed bug where bf-old easter egg broke

* Remove duplicate lines

* More test-related stuff

* Some code cleanup

* Add mocking and a test assets folder

* More TESTS!

* Update Hmm...

* Update artist on Monster

* More minor fixes to individual functions

* 1.38% unit test coverage!

* Even more tests? :O

* More unit test work

* Rework migration for BaseRegistry

* gameover fix

* Fix an issue with Lime

* Fix issues with version parsing on data files

* 100 total unit tests!

* Added even MORE unit tests!

* Additional test tweaks :3

* Fixed tests on windows by updating libraries.

* A bunch of smaller syntax tweaks.

* New crash handler catches and logs critical errors!

* Chart editor now has null safety enabled.

* Null safety on all tests

* New Level data test

* Generate proper code coverage reports!

* Disable null safety on ChartEditorState for unit testing

* Update openfl to use latest fixes for crash reporting

* Added unit test to Github Workflow

* Updated unit tests to compile with null safety enabled by inlining assertions.

* Added coverage gutters as a recommended extension

* Impreovements to tests involving exceptions

* Disable a few incomplete tests.

* Add scripts for building unit coverage reports on linux

---------

Co-authored-by: Cameron Taylor <cameron.taylor.ninja@gmail.com>
2023-08-30 18:31:59 -04:00
Cameron Taylor dc5adce2a1 Merge pull request #127 from FunkinCrew/bugfix/asset-redirect
Asset redirect fix (now disabled for Github Actions builds)
2023-08-15 21:07:10 -04:00
EliteMasterEric e5f27d6798 Asset redirect fix (now disabled for Github Actions builds) 2023-08-15 14:38:15 -04:00
EliteMasterEric 4e1a5d6d65 Use cached builds for Lime 2023-08-03 11:47:40 -04:00
EliteMasterEric 70d8a3638b . 2023-08-03 09:39:06 -04:00
EliteMasterEric adc5043da2 Improvements to build workflows 2023-08-03 09:31:54 -04:00
EliteMasterEric 113b4c45a4 Attempt at fixing Github Actions on WIN and HTML5 2023-08-03 09:23:53 -04:00
EliteMasterEric 3d8459fe6f Added dependency to HTML5 lime build 2023-07-15 04:22:02 -04:00
EliteMasterEric ddcb0474a3 Convert command to Bash 2023-07-14 23:07:17 -04:00
EliteMasterEric 5a70a50a56 Remember to build Lime on HTML5 too. 2023-07-14 22:53:11 -04:00
EliteMasterEric f675a5c578 Fix actions more 2023-07-14 22:25:51 -04:00
EliteMasterEric 8fe837d76d Attempt to fix github actions 2023-07-14 19:51:45 -04:00