Commit Graph

428 Commits

Author SHA1 Message Date
aismann fe0adcbb1f
Rename all AXLOG/printf to AXLOGD (without .\core, .\3rdparty) (#2020) 2024-07-11 23:28:31 +08:00
halx99 d11a846844 Fix luabinding due to cindex.py not support c++20 concepts 2024-07-03 00:39:13 +08:00
halx99 92143c0b67 Fix lua bindings 2024-06-08 01:06:46 +08:00
halx99 99b405e68c Update tolua config 2024-06-07 20:18:43 +08:00
halx99 905fce52d0
Release 2.1.3 (#1925)
* Update CHANGELOG.md

* Update publish.ps1

* Enable lua bit module for all lua versions supported by axmol

* Fixup

* Enable build lua-tests on gh ci

* Update ChangeLog

* Update CHANGELOG.md

* updUpdate 1kdist to v86
2024-05-26 12:53:08 +08:00
halx99 2f5bc186a5 Update ChangeLog 2024-05-22 21:42:04 +08:00
halx99 1a15620f4e Fix #1906
The tools/ci/genbindings.ps1 now support windows,linux,mac
2024-05-22 08:50:32 +08:00
halx99 cb142c6c4e Fix #1911 [skip ci] 2024-05-22 01:23:28 +08:00
halx99 d9563d1741 Fix docs menu_versions 2024-05-20 23:46:48 +08:00
halx99 53e2fbad14 Rename 1k/build.ps1 ==> 1k/1kiss.ps1 2024-05-18 23:30:26 +08:00
halx99 52288a2f14 Fix build-site.ps1 [skip ci] 2024-05-18 17:33:40 +08:00
halx99 5b70bf82c9 Update build site [skip ci]
Due to appveyor limit 1 hours build time and always failed with timeout, so we migrate ci:wasm to github action
2024-05-18 17:25:31 +08:00
halx99 c9b4d3caff
Try enable wasm on github action (#1903)
* Update build.yml

* Upload artifacts for wasm ci

* Fixup

* Improve tools/cmdline/build.ps1

- Improve unhandled args forward
- Fix parse unexpected arg with differrent args order

* Fixup
2024-05-18 14:22:46 +08:00
halx99 33c328e910 Update luabinding: ax::Ref ==> ax::Object 2024-05-05 00:34:51 +08:00
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
halx99 599cbdb4c9 Fix ci 2024-04-24 01:48:22 +08:00
halx99 f8de198e18 Improve build system 2024-04-24 01:39:49 +08:00
halx99 1fff0fa746 Add experimental wasm64 support
really experimental, just build, can't run yet
2024-04-12 20:34:59 +08:00
halx99 197f2adfcd Add create isolated project support (#1801)
axmol new HelloCpp -i
2024-04-10 22:11:42 +08:00
halx99 d37f23997a Improve axmol cmdline 2024-04-09 02:42:25 +08:00
halx99 544664033e Don't generate changelog for prerelease 2024-04-07 23:45:14 +08:00
halx99 88eb698ba2 Make command `axmol build` alias `axmol` 2024-04-07 23:34:30 +08:00
RH 5f9da6e4ae
Add required define to generate correct bindings (#1778) 2024-03-30 14:43:28 +08:00
RH 690e16df30
Use single macro to control each feature (#1776)
* Use single macro to control each feature

* Allow Physics module to be enabled or disabled via cmake option
2024-03-30 08:56:32 +08:00
RH 07f47c1640
Update LUA config for new build options (#1772) 2024-03-28 13:38:33 +08:00
halx99 3555f97a7b Fix ci 2024-03-24 05:20:59 +08:00
halx99 0cab7e3f1f Improve build system 2024-03-22 23:37:16 +08:00
halx99 d1ec623bb5 Rename folder thirdparty ==> 3rdparty 2024-03-19 21:33:02 +08:00
halx99 a468a88b04 Fix genbindings.ps1 strip empty lines not working 2024-03-15 21:21:48 +08:00
Deal 00ae3ce226
Fix luabinding gen strip execution order 2024-03-15 01:36:33 +08:00
halx99 f6757157b4 Strip empty lines for luabinding header files 2024-03-15 01:23:18 +08:00
Deal 4b1f2e1279
Change TLD axmol.org -> axmol.dev [skip ci] 2024-03-14 23:29:26 +08:00
halx99 2a40fcf509 Fix gen luabindings ci 2024-03-08 02:04:44 +08:00
RH 3b967e6431
Add -f switch info to axmol command help output (#1729)
* Add -f switch to help output

* Update wording
2024-03-04 22:26:37 +08:00
halx99 397343b36f Release 2.1.2 [release 2.1.2] 2024-02-25 12:38:16 +08:00
halx99 399b07792d Improve publish ci 2024-02-22 20:26:12 +08:00
Deal f1be0d569a
Update make-pkg.ps1 [skip ci][skip appveyor] 2024-02-22 09:38:50 +08:00
Deal c222d2e442
Improve project templates (#1713)
* Improve project templates

* Update template cfg [skip ci][skip appveyor]

* Update template cfg [skip ci][skip appveyor]

* Leaving base permission for android[skip ci][skip appveyor]

* Improve code [skip ci][skip appveyor]
2024-02-22 00:41:07 +08:00
halx99 d5e846322a Fix axmol console command 2024-02-17 00:29:07 +08:00
Deal b9ad6579a2
Add -j to specify build cpu count support (#1688) 2024-02-16 08:57:13 +08:00
RH 9f8962d47d
Change extension folder structure to reduce file name conflicts (#1647)
* Restructure extension folder structure to reduce conflicts with project source files

* Do not include SDFGen headers for Android builds

* Ensure correct paths are included for the relevant targets

* ImGui is not be enabled for WinUWP, tvOS and iOS

* Fix LUA auto binding generator to work with updated extension folder structure

* Fix path and linker issues for yasio when using prebuilt option
Set correct paths to extensions for prebuilt option
2024-02-03 10:08:22 +08:00
halx99 e278e45ab8 Fix ci 2024-02-02 00:42:42 +08:00
halx99 5afc17c83a Fix android ci 2024-02-02 00:15:06 +08:00
halx99 7838d7f861 Fix genbindings ci can't commit modified files 2024-01-30 21:27:32 +08:00
halx99 9ef440cb7f Update docs [skip ci][skip appveyor] 2024-01-23 21:24:07 +08:00