Skip to content

Commit 7fdd44e

Browse files
authored
Bump lua 5.4, add lua 5.5, bump Luau, bump LuaJIT (#205)
1 parent 114204a commit 7fdd44e

404 files changed

Lines changed: 52819 additions & 3950 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/amalgamate.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
runs-on: ubuntu-latest
1616
steps:
1717
- name: Checkout repository
18-
uses: actions/checkout@v4
18+
uses: actions/checkout@v6
1919

2020
- name: Set up Python
2121
uses: actions/setup-python@v5

.github/workflows/build_linux.yml

Lines changed: 44 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ on:
99
- "**/ThirdParty/**"
1010
- "**/CMakeLists.txt"
1111
- "**/.gitmodules"
12+
- "!**/*.md"
13+
- "!**/*.txt"
1214

1315
concurrency:
1416
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
@@ -22,7 +24,7 @@ jobs:
2224
runs-on: ubuntu-latest
2325
steps:
2426

25-
- uses: actions/checkout@v4
27+
- uses: actions/checkout@v6
2628
with:
2729
submodules: true
2830

@@ -57,7 +59,7 @@ jobs:
5759
runs-on: ubuntu-latest
5860
steps:
5961

60-
- uses: actions/checkout@v4
62+
- uses: actions/checkout@v6
6163
with:
6264
submodules: true
6365

@@ -92,7 +94,7 @@ jobs:
9294
runs-on: ubuntu-latest
9395
steps:
9496

95-
- uses: actions/checkout@v4
97+
- uses: actions/checkout@v6
9698
with:
9799
submodules: true
98100

@@ -127,7 +129,7 @@ jobs:
127129
runs-on: ubuntu-latest
128130
steps:
129131

130-
- uses: actions/checkout@v4
132+
- uses: actions/checkout@v6
131133
with:
132134
submodules: true
133135

@@ -158,11 +160,46 @@ jobs:
158160
./LuaBridgeTests54Noexcept
159161
./LuaBridgeTests54LuaCNoexcept
160162
163+
lua55:
164+
runs-on: ubuntu-latest
165+
steps:
166+
167+
- uses: actions/checkout@v6
168+
with:
169+
submodules: true
170+
171+
- name: Install Dependencies
172+
run: sudo apt-get -y install ninja-build
173+
174+
- name: Create Build Environment
175+
run: cmake -E make_directory ${{runner.workspace}}/build
176+
177+
- name: Configure
178+
working-directory: ${{runner.workspace}}/build
179+
run: cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=$BUILD_TYPE -G Ninja
180+
181+
- name: Build Lua 5.5
182+
working-directory: ${{runner.workspace}}/build
183+
run: |
184+
cmake --build . --config $BUILD_TYPE --parallel 4 --target \
185+
LuaBridgeTests55 \
186+
LuaBridgeTests55LuaC \
187+
LuaBridgeTests55Noexcept \
188+
LuaBridgeTests55LuaCNoexcept
189+
190+
- name: Test Lua 5.5
191+
working-directory: ${{runner.workspace}}/build/Tests
192+
run: |
193+
./LuaBridgeTests55
194+
./LuaBridgeTests55LuaC
195+
./LuaBridgeTests55Noexcept
196+
./LuaBridgeTests55LuaCNoexcept
197+
161198
luajit:
162199
runs-on: ubuntu-latest
163200
steps:
164201

165-
- uses: actions/checkout@v4
202+
- uses: actions/checkout@v6
166203
with:
167204
submodules: true
168205

@@ -195,7 +232,7 @@ jobs:
195232
runs-on: ubuntu-latest
196233
steps:
197234

198-
- uses: actions/checkout@v4
235+
- uses: actions/checkout@v6
199236
with:
200237
submodules: true
201238

@@ -221,7 +258,7 @@ jobs:
221258
runs-on: ubuntu-latest
222259
steps:
223260

224-
- uses: actions/checkout@v4
261+
- uses: actions/checkout@v6
225262
with:
226263
submodules: true
227264

.github/workflows/build_macos.yml

Lines changed: 44 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ on:
99
- "**/ThirdParty/**"
1010
- "**/CMakeLists.txt"
1111
- "**/.gitmodules"
12+
- "!**/*.md"
13+
- "!**/*.txt"
1214

1315
concurrency:
1416
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
@@ -22,12 +24,10 @@ jobs:
2224
runs-on: macos-latest
2325
steps:
2426

25-
- uses: actions/checkout@v4
27+
- uses: actions/checkout@v6
2628
with:
2729
submodules: true
2830

29-
- uses: seanmiddleditch/gha-setup-ninja@master
30-
3131
- name: Create Build Environment
3232
run: cmake -E make_directory ${{runner.workspace}}/build
3333

@@ -56,12 +56,10 @@ jobs:
5656
runs-on: macos-latest
5757
steps:
5858

59-
- uses: actions/checkout@v4
59+
- uses: actions/checkout@v6
6060
with:
6161
submodules: true
6262

63-
- uses: seanmiddleditch/gha-setup-ninja@master
64-
6563
- name: Create Build Environment
6664
run: cmake -E make_directory ${{runner.workspace}}/build
6765

@@ -90,12 +88,10 @@ jobs:
9088
runs-on: macos-latest
9189
steps:
9290

93-
- uses: actions/checkout@v4
91+
- uses: actions/checkout@v6
9492
with:
9593
submodules: true
9694

97-
- uses: seanmiddleditch/gha-setup-ninja@master
98-
9995
- name: Create Build Environment
10096
run: cmake -E make_directory ${{runner.workspace}}/build
10197

@@ -124,12 +120,10 @@ jobs:
124120
runs-on: macos-latest
125121
steps:
126122

127-
- uses: actions/checkout@v4
123+
- uses: actions/checkout@v6
128124
with:
129125
submodules: true
130126

131-
- uses: seanmiddleditch/gha-setup-ninja@master
132-
133127
- name: Create Build Environment
134128
run: cmake -E make_directory ${{runner.workspace}}/build
135129

@@ -154,15 +148,45 @@ jobs:
154148
./LuaBridgeTests54Noexcept
155149
./LuaBridgeTests54LuaCNoexcept
156150
157-
luajit:
151+
lua55:
158152
runs-on: macos-latest
159153
steps:
160154

161-
- uses: actions/checkout@v4
155+
- uses: actions/checkout@v6
162156
with:
163157
submodules: true
164158

165-
- uses: seanmiddleditch/gha-setup-ninja@master
159+
- name: Create Build Environment
160+
run: cmake -E make_directory ${{runner.workspace}}/build
161+
162+
- name: Configure
163+
working-directory: ${{runner.workspace}}/build
164+
run: cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=$BUILD_TYPE -G Ninja
165+
166+
- name: Build Lua 5.5
167+
working-directory: ${{runner.workspace}}/build
168+
run: |
169+
cmake --build . --config $BUILD_TYPE --parallel 4 --target \
170+
LuaBridgeTests55 \
171+
LuaBridgeTests55LuaC \
172+
LuaBridgeTests55Noexcept \
173+
LuaBridgeTests55LuaCNoexcept
174+
175+
- name: Test Lua 5.5
176+
working-directory: ${{runner.workspace}}/build/Tests
177+
run: |
178+
./LuaBridgeTests55
179+
./LuaBridgeTests55LuaC
180+
./LuaBridgeTests55Noexcept
181+
./LuaBridgeTests55LuaCNoexcept
182+
183+
luajit:
184+
runs-on: macos-latest
185+
steps:
186+
187+
- uses: actions/checkout@v6
188+
with:
189+
submodules: true
166190

167191
- name: Create Build Environment
168192
run: cmake -E make_directory ${{runner.workspace}}/build
@@ -180,19 +204,18 @@ jobs:
180204
181205
- name: Test LuaJIT
182206
working-directory: ${{runner.workspace}}/build/Tests
183-
run: ./LuaBridgeTestsLuaJIT
184-
# run: ./LuaBridgeTestsLuaJITNoexcept
207+
run: |
208+
./LuaBridgeTestsLuaJIT
209+
./LuaBridgeTestsLuaJITNoexcept
185210
186211
luau:
187212
runs-on: macos-latest
188213
steps:
189214

190-
- uses: actions/checkout@v4
215+
- uses: actions/checkout@v6
191216
with:
192217
submodules: true
193218

194-
- uses: seanmiddleditch/gha-setup-ninja@master
195-
196219
- name: Create Build Environment
197220
run: cmake -E make_directory ${{runner.workspace}}/build
198221

@@ -212,12 +235,10 @@ jobs:
212235
runs-on: macos-latest
213236
steps:
214237

215-
- uses: actions/checkout@v4
238+
- uses: actions/checkout@v6
216239
with:
217240
submodules: true
218241

219-
- uses: seanmiddleditch/gha-setup-ninja@master
220-
221242
- name: Create Build Environment
222243
run: cmake -E make_directory ${{runner.workspace}}/build
223244

.github/workflows/build_windows.yml

Lines changed: 44 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ on:
99
- "**/ThirdParty/**"
1010
- "**/CMakeLists.txt"
1111
- "**/.gitmodules"
12+
- "!**/*.md"
13+
- "!**/*.txt"
1214

1315
concurrency:
1416
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
@@ -22,7 +24,7 @@ jobs:
2224
runs-on: windows-latest
2325
steps:
2426

25-
- uses: actions/checkout@v4
27+
- uses: actions/checkout@v6
2628
with:
2729
submodules: true
2830

@@ -57,7 +59,7 @@ jobs:
5759
runs-on: windows-latest
5860
steps:
5961

60-
- uses: actions/checkout@v4
62+
- uses: actions/checkout@v6
6163
with:
6264
submodules: true
6365

@@ -92,7 +94,7 @@ jobs:
9294
runs-on: windows-latest
9395
steps:
9496

95-
- uses: actions/checkout@v4
97+
- uses: actions/checkout@v6
9698
with:
9799
submodules: true
98100

@@ -127,7 +129,7 @@ jobs:
127129
runs-on: windows-latest
128130
steps:
129131

130-
- uses: actions/checkout@v4
132+
- uses: actions/checkout@v6
131133
with:
132134
submodules: true
133135

@@ -158,11 +160,46 @@ jobs:
158160
./LuaBridgeTests54Noexcept.exe
159161
./LuaBridgeTests54LuaCNoexcept.exe
160162
163+
lua55:
164+
runs-on: windows-latest
165+
steps:
166+
167+
- uses: actions/checkout@v6
168+
with:
169+
submodules: true
170+
171+
- name: Create Build Environment
172+
run: cmake -E make_directory ${{runner.workspace}}/build
173+
174+
- name: Configure
175+
shell: bash
176+
working-directory: ${{runner.workspace}}/build
177+
run: cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=$BUILD_TYPE
178+
179+
- name: Build Lua 5.5
180+
working-directory: ${{runner.workspace}}/build
181+
shell: bash
182+
run: |
183+
cmake --build . --config $BUILD_TYPE --parallel 4 --target \
184+
LuaBridgeTests55 \
185+
LuaBridgeTests55LuaC \
186+
LuaBridgeTests55Noexcept \
187+
LuaBridgeTests55LuaCNoexcept
188+
189+
- name: Test Lua 5.5
190+
working-directory: ${{runner.workspace}}/build/Tests/Release
191+
shell: bash
192+
run: |
193+
./LuaBridgeTests55.exe
194+
./LuaBridgeTests55LuaC.exe
195+
./LuaBridgeTests55Noexcept.exe
196+
./LuaBridgeTests55LuaCNoexcept.exe
197+
161198
luajit:
162199
runs-on: windows-latest
163200
steps:
164201

165-
- uses: actions/checkout@v4
202+
- uses: actions/checkout@v6
166203
with:
167204
submodules: true
168205

@@ -193,7 +230,7 @@ jobs:
193230
runs-on: windows-latest
194231
steps:
195232

196-
- uses: actions/checkout@v4
233+
- uses: actions/checkout@v6
197234
with:
198235
submodules: true
199236

@@ -219,7 +256,7 @@ jobs:
219256
runs-on: windows-latest
220257
steps:
221258

222-
- uses: actions/checkout@v4
259+
- uses: actions/checkout@v6
223260
with:
224261
submodules: true
225262

.github/workflows/codeql-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030

3131
steps:
3232
- name: Checkout repository
33-
uses: actions/checkout@v4
33+
uses: actions/checkout@v6
3434
with:
3535
submodules: true
3636

0 commit comments

Comments
 (0)