Commit Graph

6 Commits

Author SHA1 Message Date
smilediver 561b8c2349
Enable running `unit-tests` in GitHub workflow (#1871)
* Enable running `unit-tests` in GitHub workflow

* Attempt to fix macOS unit-tests run

* Use axmol run to run unit-tests

* Skip launch when desktop cpu mismatch

* Skip launch when desktop cpu mismatch

* Fix unit-tests crash on linux

* GitHub Action: divide osx arm64, x64 to differrent runner image

---------

Co-authored-by: Deal <halx99@live.com>
2024-05-01 22:24:53 +08:00
halx99 3e3628f1b3 Improve axmol run, add opiton: -wait to support run console app 2024-05-01 10:47:38 +08:00
Deal d4a2aa93cc
Fix axmol.ps1 2024-04-30 21:07:10 +08:00
smilediver 9ac6db4384
Add unit tests (#1862)
* Add unit-tests app for running automatic unit tests

* Move unit tests from cpp-tests to unit-tests

* TEMP

* Add FileUtils::fullPathForDirectory() tests

* Use test assets from `axmol-sample-assets` repo

* Add more FileUtils::isFileExist(), FileUtils::isDirectoryExist() tests

* Add `unit-tests` builds to GitHub's workflows

* Fix `.github/worflows/build.yml`
2024-04-30 20:52:28 +08:00
halx99 ce06671df7 Add missing permision for cmdline tool 2024-04-24 02:24:42 +08:00
halx99 ce89c306f5 Rename tools/console ==> tools/cmdline 2024-04-24 02:08:29 +08:00