Commit graph

147 commits

Author SHA1 Message Date
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