* Fix shaders not copying to final build on macOS for non Xcode builds
* Fix macOS build after adding minimum CMake 3.20 requirement
* Refactor "Fix macOS build after adding minimum CMake 3.20 requirement"
* Retain _debugDrawNode in Label
This fixes a memory corruption bug and resulting crash in the TextFieldTTF (and likely other TextField classes) where the _debugDrawNode wasn't being retained, and the label isn't added to the scene for a TextField, but is maintained by the TextField. This caused _debugDrawNode in the Label class to get cleaned up, even though Label still thought it had a valid reference to a DrawNode.
* Added missing Axmol copyright
* Changed Label to use visit for _debugDrawNode
* Ensure that the content scale factor is used to correctly set up a scale 9 sprite
* Insets defined in FairyGUI editor should be scaled too, which simplifies the fix.
* Update copyright for Axmol related modifications
* 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>
* 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`
* Fix FileUtils::getFileSize() not returning -1 when file is not found
* Fix FileUtils::fullPathForDirectory() not appending a trailing slash
* Fix `not` and `and` keyword usage
* Fix FileUtils::getDefaultResourceRootPath() returning nothing on macOS
* Fix FileUtils::isFileExist() returning true for directories on macOS