Commit Graph

16 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
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 65466ca22c Fix linux ci 2024-04-24 02:18:16 +08:00
halx99 078d6bf21d Fix ci, don't limit xcode version 2024-04-24 02:13:02 +08:00
halx99 ce89c306f5 Rename tools/console ==> tools/cmdline 2024-04-24 02:08:29 +08:00
halx99 39b7ba6c61 Update build script path 2024-04-24 01:42:55 +08:00
halx99 f5b6d7029f Fixup 2024-04-13 22:20:13 +08:00
axmol-bot 1de0e166b1
Committing luabindings for commit 07f47c1 (#1773)
* Committing luabindings for commit 07f47c1

* Check lua-tests on linux ci

---------

Co-authored-by: halx99 <6977319+halx99@users.noreply.github.com>
2024-03-28 21:07:51 +08:00
Deal 5d2c42e73f
Implement new axmol log system based on fmtlib (#1732)
* Implement new log macros based on fmtlib

* Fix ci

* Fix ci

* Fix android ci

* Fix warnings

* Replace more ax::log by AXLOGX

* Fix ci

* Fix linux build

* Use stack memory for log prefix

* Fix linux build

* Fix warning

* Add ILogOutput support

* Replace old log calls with new log macros

* Fixup

* Fixup

* Fixup

* Update ci msvc to 14.39

* Update Console.h [skip ci]

* Pass log level to ILogOutput
2024-03-07 08:47:00 +08:00
Deal 56059975ad
Update ci msvc_devcmd actions [skip ci][skip appveyor] 2024-02-24 22:06:06 +08:00
Deal d7f5333c73
Fix linux build (#1715)
* Update CMakeLists.txt

* Update CMakeLists.txt

* Update build.yml [skip ci]

* Delete .github/workflows/pr.yml
2024-02-24 19:07:18 +08:00
Deal 31da0f2917
Improve dll support (#1706)
* Improve dll support

* Tidy header include path

* Fix android build & symbol dup issue

* Fix android compile error

* Fixup
2024-02-20 05:37:12 +08:00
halx99 e278e45ab8 Fix ci 2024-02-02 00:42:42 +08:00
halx99 83bc0b1de9 Fixup
- Don't build draft pull-request
- Delete update-prebuilts ci, since prebuilts managed by manifest.json
- genbindings now will create a pull-request automatically
- Fix build-site download unexpected artifacts from appveyor
- Fix build win32 with clang error
2024-01-22 21:46:55 +08:00
halx99 87a2532910 Try fix xcode15 linker fire duplicate libraries warnings
- https://github.com/axmolengine/axmol/issues/1453
- https://gitlab.kitware.com/cmake/cmake/-/merge_requests/8946
- https://gitlab.kitware.com/cmake/cmake/-/blob/master/Modules/FindPNG.cmake
2024-01-10 09:17:47 +08:00
halx99 22a1faa593 Improve build system 2023-12-22 02:39:38 +08:00