Commit graph

202 commits

Author SHA1 Message Date
Hazel
2d1118ab04 le pain 2024-04-24 21:33:02 +01:00
Hazel
694bd2f2dd .......................... 2024-04-24 21:23:05 +01:00
Hazel
7e624af6e6 i swear to grub 2024-04-24 21:18:23 +01:00
Hazel
72131af794 suffering 2024-04-24 21:10:39 +01:00
Hazel
918c05b0ed insane in the membrane 2024-04-24 21:06:21 +01:00
Hazel
73bc4d4740 https://open.spotify.com/track/2zXbLJiS5099aDVyTHIDU4 2024-04-24 20:35:55 +01:00
Hazel
804ae7ca6f i am in spain but the s is silent 2024-04-24 20:29:39 +01:00
Hazel
354f4cced0 meow 2024-04-24 20:26:01 +01:00
Hazel
c896fed6c7 no 2024-04-24 20:22:16 +01:00
Hazel
a5b3d62a4a devops is such a fun profession, featuring 'staring at github actions broken web ui for 5 minutes' 2024-04-24 20:07:53 +01:00
Hazel
54605ec430 https://open.spotify.com/track/7LVHVU3tWfcxj5aiPFEW4Q 2024-04-24 20:02:28 +01:00
Hazel
53d99df3fb fuck around & find out 2024-04-24 19:54:12 +01:00
Hazel
b9b5c0dd9b i love working with git 2024-04-24 19:48:18 +01:00
Hazel
c87a16a0e1 shasjakslkas 2024-04-24 19:40:24 +01:00
Hazel
9a36c14f53 debug moment 2024-04-24 19:32:28 +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
a04ca577a4 Update action.yml 2023-11-04 12:36:09 -04: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
Hazel
2a25c4c625 Merge branch 'rewrite/master' into rewrite/bugfix/ci-bad-refname-cherrypick 2023-10-09 19:04:21 +01:00
Hazel
9a762e1129 switch from GITHUB_REF to GITHUB_REF_NAME 2023-10-09 19:02:05 +01:00
Cameron Taylor
689420ed02 Merge pull request #177 from FunkinCrew/rewrite/bugfix/git-hooks
Added Git Hooks to the repo
2023-10-09 13:25:10 -04: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
EliteMasterEric
2a3f5bc5db Added Git Hooks 2023-10-09 12:02:19 -04:00
Hazel
2e97bb2d7b attempt i. at caching haxe installs 2023-10-06 15:52:28 +01:00
Hazel
af65b83ddd remove --quiet so i can see errors (woah) 2023-10-05 15:55:23 +01: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
Cameron Taylor
d4e601ebaa Update action.yml (#147) 2023-09-04 22:10:24 -04: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
050086fb36 Fixed camera focus on game over. 2023-08-03 11:40:19 -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
Cameron Taylor
7bd472e709 Merge pull request #113 from FunkinCrew/feature/new-input-system-yay
New input system (yay)
2023-07-31 16:22:12 -04:00
Cameron Taylor
0388410e73 added --quiet to github action 2023-07-31 11:41:34 -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
EliteMasterEric
6c9ec918af Attempt 2, with powershell 2023-07-10 20:49:28 -04:00
EliteMasterEric
364753286f Attempt at fixing custom Lime in build 2023-07-10 20:10:17 -04:00
Cameron Taylor
0b42b6e305 moved caching so html5 can also cache haxelibs 2023-06-15 14:12:39 -04:00
Cameron Taylor
a7aafa9e3e .haxelib caching 2023-06-15 14:09:19 -04:00
Hazel
c17d48f39e fix ci builds (#106) (common ravy W)
* maybe fix html5 builds?

* sudo apt -y

i need to use debian based distros more dont i

* also needs randr extensions

* fuck it lets install all the x extensions and hope this is enough

* libmesa is now libgl1-mesa

* also needs alsa lib for sound

man i love undocumented dependencies
2023-06-12 11:20:51 -04:00
Cameron Taylor
91af9ba613 update setup-haxe for haxe 4.3.1 2023-05-24 18:55:42 -04:00
Cameron Taylor
69cd351cec changed from 64fast to windows-latest 2023-05-22 23:58:03 -04:00
Cameron Taylor
656ebd988b read/write perms for gh actions workflow 2023-03-08 23:41:13 -05:00
Cameron Taylor
007902868b windows caching maybe? 2023-03-08 20:29:57 -05:00
Cameron Taylor
f690d04157 Update build-shit.yml 2023-03-02 12:43:41 -05:00
Cameron Taylor
b8e0dbbb0f debug.. doh! 2023-02-22 15:47:55 -05:00
Cameron Taylor
25d91f3964 revert to hmm stuff for windows build 2023-02-22 14:41:04 -05:00
Cameron Taylor
7d2bd7bed0 revert haxe setup to hmm 2023-02-22 14:39:41 -05:00
Cameron Taylor
591b7ac3a6 Update build-shit.yml 2023-02-09 21:50:23 -05:00
Cameron Taylor
c50b2bb379 Update build-shit.yml 2023-02-09 20:06:59 -05:00
Cameron Taylor
63ef82a8cc Update build-shit.yml 2023-02-09 19:58:47 -05:00
Cameron Taylor
204f205667 Update build-shit.yml 2023-02-09 19:53:01 -05:00
Cameron Taylor
56519c04c8 Update build-shit.yml 2023-02-09 19:44:51 -05:00
Cameron Taylor
1cf9c61503 Update build-shit.yml 2023-02-09 19:38:51 -05:00
Cameron Taylor
b837d95aed Update build-shit.yml 2023-02-09 19:33:59 -05:00
Cameron Taylor
9e811c048a Update build-shit.yml 2023-02-09 19:28:48 -05:00
Cameron Taylor
4a7c0f18a4 Update build-shit.yml 2023-02-09 19:28:13 -05:00
Cameron Taylor
b383c00a3c Update build-shit.yml 2023-02-09 19:24:24 -05:00
Cameron Taylor
5bc4898ca2 Update build-shit.yml 2023-02-09 19:18:02 -05:00
Cameron Taylor
d90438189d Update build-shit.yml 2023-02-09 19:08:01 -05:00
Cameron Taylor
32b25b7291 Update build-shit.yml 2023-02-09 19:00:30 -05:00
Cameron Taylor
cf4392088f Update build-shit.yml 2023-02-09 18:48:22 -05:00
Cameron Taylor
a18ca4e987 npx 2023-02-09 18:44:05 -05:00
Cameron Taylor
a955a9b569 Update build-shit.yml 2023-02-09 18:34:27 -05:00
Cameron Taylor
f80b45943b Update build-shit.yml 2023-02-09 18:16:36 -05:00
Cameron Taylor
2d9c204130 Update build-shit.yml 2023-02-09 18:11:21 -05:00
Cameron Taylor
a2ce6c7233 Update build-shit.yml 2023-02-09 06:29:46 -05:00
Cameron Taylor
6b705c0d5c Update build-shit.yml 2023-02-09 06:25:27 -05:00
Cameron Taylor
8123d72955 Update build-shit.yml 2023-02-09 06:24:02 -05:00
Cameron Taylor
5230d7fdde Update build-shit.yml 2023-02-09 06:23:30 -05:00
Cameron Taylor
c8ed334191 no more npx *vine boom* 2023-02-09 06:14:05 -05:00
Cameron Taylor
f9c8f7db3f Update build-shit.yml 2023-02-09 06:03:22 -05:00