Commit Graph

415 Commits

Author SHA1 Message Date
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
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
Deal 9ec7c54c57
release 2.1.0 finally (#1621) [release 2.1.0]
* Delete deprecated prop `buildconfig` from gradle.properties

* Delete unnecessary props since it's value same with defaults

* Don't need config debug keystore, will auto signed by default debug.keystore

* Update funding [skip ci]

* Fix axmol cmdline tool command 'new'

* Refix c99 for winsdk < 10.0.22000.0

* Fix powershell 3 condition statement: 'xxx = if(c) { v1 } else { v2 }' will lost switch parameter semantic

* Improve code style

* Improve code style

* Fixup
2024-01-20 16:16:53 +08:00
halx99 8ee68b58c9 Bump 2.1.0 2024-01-19 20:39:08 +08:00
halx99 fc6fff75bc Prepare release v2.1.0 2024-01-19 00:12:19 +08:00
halx99 3b4bf5c69b Improve console scripts
- setup.ps1: auto set windows `powershell.exe` execution policy to `Bypass`
- Improve axmol console command
- Improve ninja setup
2024-01-19 00:05:18 +08:00
halx99 32b0b7a48b Update 1k scripts 2024-01-09 01:07:05 +08:00
halx99 f39fc765f1 Use plainlua for genbindings 2024-01-08 22:55:15 +08:00
罗捷捷 15f38eefde
Add fairygui lua support (#1587) 2024-01-06 23:25:20 +08:00
halx99 5794f67335 Improve build scripts & update changelog 2024-01-06 01:09:31 +08:00
halx99 9af781f419 Improve make-pkg.ps1
Add a hack inject dotnet runtime 6.0+ to support create cross platform zip on windows.
2023-12-27 23:29:38 +08:00
halx99 22a1faa593 Improve build system 2023-12-22 02:39:38 +08:00
halx99 fa08bc89bb Add publish ci [skip ci] 2023-12-20 20:30:02 +08:00
Deal 8902d48a5b
Prepare release v2.1.0 (#1527)
* Prepare release v2.1.0

- Support download prebuilt and optional package from mirror: gitee.com
- Move download cache dir: thirdparty/_deps ==> cache
- Add change log

* Update CHANGELOG.md
2023-12-20 02:34:45 +08:00