Commit graph

132 commits

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