Skip to content

Commit 5338283

Browse files
authored
Bump 2.11.0 (#2954)
1 parent 93374c6 commit 5338283

File tree

7 files changed

+125
-54
lines changed

7 files changed

+125
-54
lines changed

.github/workflows/build.yml

Lines changed: 52 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -29,60 +29,55 @@ on:
2929

3030
env:
3131
__1K_CXXSTD: '${{ inputs.cxxstd }}'
32+
GH_XCODE_VER: '16.4'
3233

3334
run-name: 'build@c++${{ inputs.cxxstd || 20 }}'
3435

3536
jobs:
36-
win32:
37+
win32-ogl:
3738
runs-on: windows-latest
3839
steps:
3940
- uses: actions/checkout@v6
40-
4141
- name: Build
4242
shell: pwsh
4343
run: |
44-
.\tools\cmdline\axmol -p win32 -a x64
45-
.\tools\cmdline\axmol run -p win32 -a x64 -t unit-tests
44+
.\tools\cmdline\axmol -p win32 -a x64 -O3
45+
.\tools\cmdline\axmol run -p win32 -a x64 -t unit-tests -O3
4646
- name: Check prebuilt workflow
4747
shell: pwsh
4848
run: |
4949
./setup.ps1
5050
axmol new HelloCpp
51-
axmol -d .\HelloCpp -xc '-DAX_PREBUILT_DIR=build'
52-
- uses: actions/upload-artifact@v4
51+
axmol -d .\HelloCpp -xc '-DAX_PREBUILT_DIR=build' -O3
52+
- uses: actions/upload-artifact@v6
5353
with:
54-
name: windows_x64
54+
name: windows_ogl_x64
5555
path: |
5656
build/bin/cpp-tests/**/*
57-
win32-dll:
57+
winuwp-ogl:
5858
runs-on: windows-latest
5959
steps:
6060
- uses: actions/checkout@v6
6161

6262
- name: Build
6363
shell: pwsh
64-
run: .\tools\cmdline\axmol -p win32 -a x64 -dll
65-
winuwp:
66-
# build uwp debug avoid github CI fail with memory issue
64+
run: .\tools\cmdline\axmol -p winuwp -a x64 -O3
65+
win32-clang-ogl:
6766
runs-on: windows-latest
6867
steps:
6968
- uses: actions/checkout@v6
7069

7170
- name: Build
7271
shell: pwsh
73-
run: .\tools\cmdline\axmol -p winuwp -a x64 -O3
74-
win32-clang:
72+
run: .\tools\cmdline\axmol -p win32 -a 'x64' -cc clang -O3
73+
win32-dll-ogl:
7574
runs-on: windows-latest
76-
env:
77-
# Test winsdk < 10.0.22000.0 (missing C11 standard stdalign.h), axmol will auto fallback to C99 for resolving compiling issue.
78-
WINSDK_VER: '10.0.19041.0'
7975
steps:
8076
- uses: actions/checkout@v6
81-
8277
- name: Build
8378
shell: pwsh
84-
run: .\tools\cmdline\axmol -p win32 -a 'x64' -cc clang -sdk $env:WINSDK_VER -O3
85-
linux:
79+
run: .\tools\cmdline\axmol -p win32 -a x64 -dll
80+
linux-ogl:
8681
runs-on: ubuntu-latest
8782
steps:
8883
- uses: actions/checkout@v6
@@ -96,22 +91,28 @@ jobs:
9691
shell: pwsh
9792
run: ./tools/cmdline/axmol -p linux -a x64 -t 'cpp-tests,lua-tests' && ./tools/cmdline/axmol run -p linux -a x64 -t unit-tests -wait
9893
osx-arm64:
99-
runs-on: macos-latest
94+
runs-on: ${{ vars.GH_MACOS_VER }}
10095
steps:
10196
- uses: actions/checkout@v6
102-
97+
- uses: maxim-lobanov/setup-xcode@v1
98+
id: setup-xcode
99+
with:
100+
xcode-version: '${{ env.GH_XCODE_VER }}'
103101
- name: Build
104102
shell: pwsh
105-
run: ./tools/cmdline/axmol -p osx && ./tools/cmdline/axmol run -p osx -t unit-tests
103+
run: ./tools/cmdline/axmol -p osx -a arm64 && ./tools/cmdline/axmol run -p osx -a arm64 -t unit-tests
106104
osx-x64:
107-
runs-on: macos-latest
105+
runs-on: ${{ vars.GH_MACOS_VER }}-intel
108106
steps:
109107
- uses: actions/checkout@v6
110-
108+
- uses: maxim-lobanov/setup-xcode@v1
109+
id: setup-xcode
110+
with:
111+
xcode-version: '${{ env.GH_XCODE_VER }}'
111112
- name: Build
112113
shell: pwsh
113114
run: ./tools/cmdline/axmol -p osx -a x64
114-
android:
115+
android-ogl:
115116
runs-on: ubuntu-latest
116117
strategy:
117118
matrix:
@@ -130,14 +131,14 @@ jobs:
130131
run: |
131132
$AX_ROOT = $(Get-Location).Path
132133
./tools/cmdline/axmol -p android -a $env:BUILD_ARCH
133-
- uses: actions/upload-artifact@v4
134+
- uses: actions/upload-artifact@v6
134135
with:
135136
name: android_${{ matrix.arch }}
136137
path: |
137138
templates/**/*.apk
138139
tests/**/*.apk
139140
ios-sim-x64:
140-
runs-on: macos-latest
141+
runs-on: ${{ vars.GH_MACOS_VER }}
141142
strategy:
142143
matrix:
143144
target_os:
@@ -147,10 +148,32 @@ jobs:
147148
TARGET_OS: ${{ matrix.target_os }}
148149
steps:
149150
- uses: actions/checkout@v6
150-
151+
- uses: maxim-lobanov/setup-xcode@v1
152+
id: setup-xcode
153+
with:
154+
xcode-version: '${{ env.GH_XCODE_VER }}'
151155
- name: Build
152156
shell: pwsh
153157
run: ./tools/cmdline/axmol -p $env:TARGET_OS -a 'x64'
158+
ios-sim-arm64:
159+
runs-on: ${{ vars.GH_MACOS_VER }}
160+
strategy:
161+
matrix:
162+
target_os:
163+
- ios
164+
- tvos
165+
env:
166+
TARGET_OS: ${{ matrix.target_os }}
167+
steps:
168+
- uses: actions/checkout@v6
169+
- uses: maxim-lobanov/setup-xcode@v1
170+
id: setup-xcode
171+
with:
172+
xcode-version: '${{ env.GH_XCODE_VER }}'
173+
- name: Build
174+
shell: pwsh
175+
# axmol cmdline can't guess ios arm64 as simulator, so need specify by option '-sdk'
176+
run: ./tools/cmdline/axmol -p $env:TARGET_OS -a 'arm64' -sdk 'simulator'
154177
wasm:
155178
runs-on: ubuntu-latest
156179
steps:
@@ -159,7 +182,7 @@ jobs:
159182
- name: Build
160183
shell: pwsh
161184
run: ./tools/cmdline/axmol -p wasm -O3 -xc '-DAX_ENABLE_EXT_EFFEKSEER=ON,-DAX_WASM_THREADS=8' -j2 -t 'cpp-tests,fairygui-tests,lua-tests'
162-
- uses: actions/upload-artifact@v4
185+
- uses: actions/upload-artifact@v6
163186
with:
164187
name: wasm
165188
path: build_wasm/bin/**/*

.github/workflows/verify-app.yml

Lines changed: 18 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,16 @@ on:
66
inputs:
77
pr_id:
88
# actions run ID
9-
description: 'Please input release version, example: 2426'
9+
description: 'Please input PR number, example: 2426'
1010
# Default value if no value is explicitly provided
1111
default: ''
1212
# Input has to be provided for the workflow to run
1313
required: false
1414

1515
run-name: verify-app-pr${{ inputs.pr_id }}
1616

17-
# env:
18-
# pr_id: '${{ inputs.pr_id }}'
17+
env:
18+
GH_XCODE_VER: '16.4'
1919

2020
jobs:
2121
win32:
@@ -45,9 +45,6 @@ jobs:
4545
axmol -d HelloCpp -p winuwp
4646
win32-clang:
4747
runs-on: windows-latest
48-
env:
49-
# Test winsdk < 10.0.22000.0 (missing C11 standard stdalign.h), axmol will auto fallback to C99 for resolving compiling issue.
50-
WINSDK_VER: '10.0.19041.0'
5148
steps:
5249
- uses: actions/checkout@v6
5350
with:
@@ -73,23 +70,31 @@ jobs:
7370
axmol new HelloCpp
7471
axmol -d HelloCpp
7572
osx-arm64:
76-
runs-on: macos-latest
73+
runs-on: ${{ vars.GH_MACOS_VER }}
7774
steps:
7875
- uses: actions/checkout@v6
7976
with:
8077
ref: 'refs/pull/${{ inputs.pr_id }}/merge'
78+
- uses: maxim-lobanov/setup-xcode@v1
79+
id: setup-xcode
80+
with:
81+
xcode-version: '${{ env.GH_XCODE_VER }}'
8182
- name: Build
8283
shell: pwsh
8384
run: |
8485
./setup.ps1
8586
axmol new HelloCpp
8687
axmol -d HelloCpp
8788
osx-x64:
88-
runs-on: macos-13
89+
runs-on: ${{ vars.GH_MACOS_VER }}-intel
8990
steps:
9091
- uses: actions/checkout@v6
9192
with:
9293
ref: 'refs/pull/${{ inputs.pr_id }}/merge'
94+
- uses: maxim-lobanov/setup-xcode@v1
95+
id: setup-xcode
96+
with:
97+
xcode-version: '${{ env.GH_XCODE_VER }}'
9398
- name: Build
9499
shell: pwsh
95100
run: |
@@ -109,7 +114,7 @@ jobs:
109114
axmol new HelloCpp
110115
axmol -p android -d HelloCpp
111116
ios:
112-
runs-on: macos-latest
117+
runs-on: ${{ vars.GH_MACOS_VER }}
113118
strategy:
114119
matrix:
115120
target_os:
@@ -121,6 +126,10 @@ jobs:
121126
- uses: actions/checkout@v6
122127
with:
123128
ref: 'refs/pull/${{ inputs.pr_id }}/merge'
129+
- uses: maxim-lobanov/setup-xcode@v1
130+
id: setup-xcode
131+
with:
132+
xcode-version: '${{ env.GH_XCODE_VER }}'
124133
- name: Build
125134
shell: pwsh
126135
run: |

CHANGELOG.md

Lines changed: 45 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,42 @@
1+
# axmol-2.11.0 ?? 2025
2+
3+
## Bug fixes
4+
5+
- Fix audio stop blocking on iOS during active phone calls by @halx99 in [#2950](https://github.com/axmolengine/axmol/pull/2950)
6+
- Fix WebSocket close code byte order for [#2889](https://github.com/axmolengine/axmol/issues/2889) by @halx99
7+
- Fix Xcode 14.2 compatibility linking issue by @halx99
8+
- Fix `build-docs.ps1` failing to build 2.10.x by @halx99
9+
- Fix `AX_USE_ALSOFT` definition by @halx99 in [#2912](https://github.com/axmolengine/axmol/pull/2912)
10+
- Fix compile error when `AX_CORE_PROFILE` is defined by @crazyhappygame in [#2910](https://github.com/axmolengine/axmol/pull/2910)
11+
- Fix luabinding generator not working due to missing `clang-ver.ps1` by @halx99
12+
- Fix isolated Axmol apps unable to find NuGet program for [#2926](https://github.com/axmolengine/axmol/issues/2926) by @halx99
13+
- Fix various Particle System bugs by @WUCJ638 in [#2935](https://github.com/axmolengine/axmol/pull/2935)
14+
15+
## Improvements
16+
17+
- Allow overriding `FileUtils::getWritablePath()` on Linux by @j-jorge in [#2906](https://github.com/axmolengine/axmol/pull/2906)
18+
- CI: Stop generating Axmol BS package by @halx99
19+
- CI: Relax map-diff CHECK condition in unit-tests to avoid flaky CI failures by @halx99
20+
- CI: Improve macOS runners and build commands by @halx99
21+
- Add `Node::getHashOfName()` by @j-jorge in [#2907](https://github.com/axmolengine/axmol/pull/2907)
22+
- Lock `axslcc` version to `1.9.6` for Axmol 2.x by @halx99
23+
- Minor performance-related improvements in FontFreeType by @j-jorge
24+
- Delete pending `AsyncStruct`s when `TextureCache` loading thread is destroyed by @j-jorge in [#2911](https://github.com/axmolengine/axmol/pull/2911)
25+
26+
## SDK & Tools updates
27+
28+
- cmake: 4.2.0 => 4.2.1
29+
- jdk: 17.0.15 => 17.0.17
30+
- webview2: 1.0.3595.46 => 1.0.3650.58
31+
32+
## 3rdparty updates
33+
34+
- c-ares: 1.34.5 => 1.34.6
35+
- jpeg-turbo: 3.1.2 => 3.1.3
36+
- libpng: 1.6.50 => 1.6.53
37+
- luajit: 2.1-68354f4 => 2.1-7152e15
38+
39+
140
# axmol-2.10.0 Nov.27 2025
241

342
## Significant changes relative to 2.9.1
@@ -29,14 +68,14 @@
2968

3069
## SDK & Tools updates
3170

32-
- cmake: 4.1.1 4.2.0 (required for VS2026 support)
33-
- gradle: 9.2.0 9.2.1
34-
- webview2: 1.0.3537.50 1.0.3595.46
71+
- cmake: 4.1.1 => 4.2.0 (required for VS2026 support)
72+
- gradle: 9.2.0 => 9.2.1
73+
- webview2: 1.0.3537.50 => 1.0.3595.46
3574

3675
## 3rdparty updates
3776

38-
- curl: 8.16.0 8.17.0
39-
- luajit: 2.1-871db2c 2.1-68354f4
77+
- curl: 8.16.0 => 8.17.0
78+
- luajit: 2.1-871db2c => 2.1-68354f4
4079

4180
## Community News
4281

@@ -441,7 +480,7 @@ across different devices and orientations.
441480

442481
## 3rdparty updates
443482

444-
- cares: 1.34.4 => 1.34.5
483+
- c-ares: 1.34.4 => 1.34.5
445484
- Clipper2: 1.5.2 => 1.5.3
446485
- doctest: 2.4.11 => 2.4.12
447486
- fmtlib: 11.1.4 => 11.2.0

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727

2828
# build engine library and all tests
2929

30-
cmake_minimum_required(VERSION 3.22...4.1)
30+
cmake_minimum_required(VERSION 3.22...4.2)
3131

3232
project(axmol)
3333

core/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
# include_guard (GLOBAL)
3333

3434
# The version number
35-
set(_AX_VERSION 2.8)
35+
set(_AX_VERSION 2.11)
3636

3737
if(NOT DEFINED _AX_CORE_LIB)
3838
set(_AX_CORE_LIB axmol CACHE INTERNAL "The axmol core lib name")

core/axmolver.h.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
// 0x00 HI ME LO
55
// 00 03 08 00
66
#define AX_VERSION_MAJOR 2
7-
#define AX_VERSION_MINOR 10
7+
#define AX_VERSION_MINOR 11
88
#define AX_VERSION_PATCH 0
99

1010
/* Define axmol version helper macros */

docs/DevSetup.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -62,16 +62,16 @@ The `axmol build` command will auto-setup the general toolsets, so you'll be abl
6262
- To just generate project: `axmol build -p winuwp -c`
6363
- Linux: `axmol build`
6464
- OSX:
65-
- for Intel (x64): `axmol build -p osx -a x64 -c` (generate a xcodeproj, open with XCode to setup the code sign cert and build)
66-
- for Apple Silicon (arm64): `axmol build -p osx -a arm64 -c` (generate a xcodeproj, open with XCode to setup the code sign cert and build)
65+
- for Intel (x64): `axmol build -p osx -a x64 -c` (generate a xcodeproj, open with Xcode to setup the code sign cert and build)
66+
- for Apple Silicon (arm64): `axmol build -p osx -a arm64 -c` (generate a xcodeproj, open with Xcode to setup the code sign cert and build)
6767
- Android: `axmol build -p android -a arm64` (can run on Windows, Linux and macOS, and script will auto setup Android SDK)
6868
- iOS:
69-
- for devices: `axmol build -p ios -a arm64 -c` (generate a xcodeproj, open with XCode to setup the code sign cert and build)
69+
- for devices: `axmol build -p ios -a arm64 -c` (generate a xcodeproj, open with Xcode to setup the code sign cert and build)
7070
- for simulators:
7171
- for Intel (x64): `axmol build -p ios -a x64 -sdk simulator -c`
7272
- for Apple Silicon (arm64): `axmol build -p ios -a arm64 -sdk simulator -c`
7373
- tvOS:
74-
- for devices: `axmol build -p tvos -a arm64 -c` (generate a xcodeproj, open with XCode to setup code sign cert and build)
74+
- for devices: `axmol build -p tvos -a arm64 -c` (generate a xcodeproj, open with Xcode to setup code sign cert and build)
7575
- for simulator: `axmol build -p tvos -a x64 -sdk simulator`
7676
- WASM: `axmol build -p wasm` (it can run on Windows 8.1+, Linux and macOS, it requires a preinstalled [python3](https://www.python.org/) in env `PATH`)
7777

@@ -224,12 +224,12 @@ Note: if you use non-SDK provided CMake, you will need to download `ninja` from
224224
225225
### iOS, tvOS and macOS
226226
227-
1. Ensure that XCode 13+ is installed.
227+
1. Ensure that Xcode 13+ is installed.
228228
2. Create a new project as shown [here](#creating-a-new-project).
229229
3. In a console window, navigate into the root directory of the project you created in the previous step.
230230
4. Execute the following command:
231231
```sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer```
232-
5. Generate the relevant XCode project using one of the following commands:
232+
5. Generate the relevant Xcode project using one of the following commands:
233233
- for iOS arm64:
234234
```axmol build -p ios -a arm64 -c```
235235
- for iOS simulator arm64:
@@ -245,7 +245,7 @@ Note: if you use non-SDK provided CMake, you will need to download `ninja` from
245245
- for macOS arm64(M1)
246246
```axmol build -p osx -a arm64 -c```
247247
248-
6. After CMake finishes generating, you can open the XCode project at `build_${plat}_${arch}` folder and run cpp-tests or other test targets. For OSC x64 should be `build_x64`.
248+
6. After CMake finishes generating, you can open the Xcode project at `build_${plat}_${arch}` folder and run cpp-tests or other test targets. For OSC x64 should be `build_x64`.
249249
7. Notes:
250250
- **Code signing is required to run the iOS / tvOS app on your device. Just change the bundle identifier until the auto manage signing is solved.**
251251
- **Axmol only provides arm64, x86_64 prebuilt libraries for iOS / tvOS.**

0 commit comments

Comments
 (0)