Skip to content

Commit 310393f

Browse files
authored
Merge branch 'LandSandBoat:base' into base
2 parents 8a23e59 + 55b5955 commit 310393f

6,861 files changed

Lines changed: 180138 additions & 138298 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.

.clang-format

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
# https://clang.llvm.org/docs/ClangFormatStyleOptions.html
33
# We base things of WebKit + Allman braces
4-
# Compatible with clang-format-20
4+
# Compatible with clang-format-22 (enforced by tools/run_clang_format.py)
55
Language: Cpp
66

77
# Access modifiers
@@ -28,8 +28,7 @@ AllowShortFunctionsOnASingleLine: None
2828
AllowShortIfStatementsOnASingleLine: Never
2929
AllowShortLambdasOnASingleLine: None
3030
AllowShortLoopsOnASingleLine: false
31-
32-
# Note: LambdaBodyIndentation not available in clang-format-20
31+
LambdaBodyIndentation: Signature
3332

3433
# Template declarations
3534
AlwaysBreakTemplateDeclarations: Yes
@@ -71,6 +70,8 @@ BinPackParameters: false
7170
# Namespaces
7271
CompactNamespaces: false
7372
NamespaceIndentation: None
73+
WrapNamespaceBodyWithEmptyLines: Always
74+
SeparateDefinitionBlocks: Always
7475

7576
# Braced lists and initializers
7677
Cpp11BracedListStyle: false
@@ -89,8 +90,7 @@ MaxEmptyLinesToKeep: 1
8990
# Pointer and reference alignment
9091
PointerAlignment: Left
9192
ReferenceAlignment: Pointer
92-
93-
# Note: QualifierAlignment not available in clang-format-20, use manual const placement
93+
QualifierAlignment: Left # West Const
9494

9595
# Comments
9696
ReflowComments: Always

.devcontainer/devcontainer.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@
1111
"remoteUser": "xiadmin",
1212
"remoteEnv": { "LOCAL_WORKSPACE_FOLDER": "${localWorkspaceFolder}" },
1313
"features": {
14-
"ghcr.io/devcontainers/features/docker-outside-of-docker:1": {}
14+
"ghcr.io/devcontainers/features/docker-outside-of-docker:1": {
15+
"moby": false
16+
}
1517
},
1618
"customizations": {
1719
"vscode": {

.editorconfig

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,18 @@ indent_brace_style = allman # This is unfortunately ignored in Visual Studio
8080
[Makefile]
8181
indent_style = tab
8282

83-
[*.yml]
83+
[*.{yml,yaml}]
8484
indent_style = space
8585
indent_size = 2
86+
end_of_line = lf
87+
charset = utf-8
88+
trim_trailing_whitespace = true
89+
insert_final_newline = true
90+
91+
[*.json]
92+
indent_style = space
93+
indent_size = 2
94+
end_of_line = lf
95+
charset = utf-8
96+
trim_trailing_whitespace = true
97+
insert_final_newline = true

.github/workflows/build.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ jobs:
1515
name: Clang Tidy
1616
uses: ./.github/workflows/runner_build.yml
1717
with:
18-
runner: ubuntu-24.04
18+
runner: ubuntu-26.04
1919
compiler: clang
20-
compiler_version: 20
20+
compiler_version: 22
2121
build_type: Debug
2222
tracy: false
2323
build_modules: false
@@ -64,9 +64,9 @@ jobs:
6464
upload_artifact: false
6565
clang_tidy: false
6666
- build_type: Debug
67-
runner: ubuntu-24.04
67+
runner: ubuntu-26.04
6868
compiler: gcc
69-
compiler_version: 14
69+
compiler_version: 15
7070
tracy: false
7171
build_modules: false
7272
save_cache: true
@@ -93,8 +93,8 @@ jobs:
9393
- build_type: Release
9494
os: ubuntu
9595
compiler: gcc
96-
compiler_version: 14
97-
clang_format_version: 20
96+
compiler_version: 15
97+
clang_format_version: 22
9898
tracy: false
9999
build_modules: false
100100
save_cache: false
@@ -110,8 +110,8 @@ jobs:
110110
- build_type: Release
111111
os: alpine
112112
compiler: clang
113-
compiler_version: 20
114-
clang_format_version: 20
113+
compiler_version: 22
114+
clang_format_version: 22
115115
tracy: false
116116
build_modules: false
117117
save_cache: false

.github/workflows/changelog.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,15 @@ on:
99
jobs:
1010
Publish_Changelog:
1111
name: Generate and Publish Changelog
12-
runs-on: ubuntu-24.04
12+
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@v1
15-
- uses: fregante/setup-git-user@v1
14+
- uses: actions/checkout@v6
15+
- run: git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
16+
- run: git config --global user.name "github-actions[bot]"
1617
- name: Install dependencies
1718
run: |
1819
sudo apt-get update
19-
sudo apt-get install -y python3.7
20+
sudo apt-get install -y python3
2021
pip3 install requests
2122
- name: Generate changelog
2223
run: |

.github/workflows/check_template.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
permissions: write-all
1414
steps:
1515
- name: Comment on unchecked boxes in template
16-
uses: actions/github-script@v7
16+
uses: actions/github-script@v9
1717
with:
1818
script: |
1919
function count_instances(string, word)

.github/workflows/codeql_analysis.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,16 +36,16 @@ jobs:
3636

3737
steps:
3838
- name: Checkout repository
39-
uses: actions/checkout@v3
39+
uses: actions/checkout@v6
4040

4141
- name: Install Dependencies
4242
run: |
4343
sudo apt-get update
44-
sudo apt-get install -y software-properties-common cmake libmariadb-dev-compat libluajit-5.1-dev libzmq3-dev zlib1g-dev libssl-dev binutils-dev
44+
sudo apt-get install -y software-properties-common cmake libmariadb-dev-compat libluajit-5.1-dev libzmq3-dev zlib1g-dev libssl-dev binutils-dev libzstd-dev
4545
4646
# Initializes the CodeQL tools for scanning.
4747
- name: Initialize CodeQL
48-
uses: github/codeql-action/init@v2
48+
uses: github/codeql-action/init@v4
4949
with:
5050
trap-caching: false
5151
languages: ${{ matrix.language }}
@@ -57,7 +57,7 @@ jobs:
5757
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
5858
# If this step fails, then you should remove it and run the build manually (see below)
5959
# - name: Autobuild
60-
# uses: github/codeql-action/autobuild@v2
60+
# uses: github/codeql-action/autobuild@v4
6161

6262
# ℹ️ Command-line programs to run using the OS shell.
6363
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
@@ -73,7 +73,7 @@ jobs:
7373
cmake --build build -j4
7474
7575
- name: Perform CodeQL Analysis
76-
uses: github/codeql-action/analyze@v2
76+
uses: github/codeql-action/analyze@v4
7777
with:
7878
# https://josh-ops.com/posts/github-codeql-ignore-files/
7979
upload: false # disable the upload here - we will upload in a different action
@@ -89,6 +89,6 @@ jobs:
8989
output: sarif-results/${{ matrix.language }}.sarif
9090

9191
- name: Upload SARIF
92-
uses: github/codeql-action/upload-sarif@v2
92+
uses: github/codeql-action/upload-sarif@v4
9393
with:
9494
sarif_file: sarif-results/${{ matrix.language }}.sarif

.github/workflows/discussion_keyword_comment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
runs-on: ubuntu-latest
1010
steps:
1111
- name: Comment on keywords in Discussion
12-
uses: actions/github-script@v6
12+
uses: actions/github-script@v9
1313
with:
1414
script: |
1515
// Define the keywords to check (all lower-case for case-insensitive matching)

.github/workflows/docker_build.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -67,13 +67,13 @@ jobs:
6767
echo "REPO_OWNER=${GITHUB_REPOSITORY_OWNER,,}" >>${GITHUB_ENV}
6868
echo "REPO=${GITHUB_REPOSITORY,,}" >>${GITHUB_ENV}
6969
70-
- uses: docker/login-action@v3
70+
- uses: docker/login-action@v4
7171
with:
7272
registry: ghcr.io
7373
username: ${{ github.repository_owner }}
7474
password: ${{ secrets.GITHUB_TOKEN }}
7575

76-
- uses: actions/checkout@v4
76+
- uses: actions/checkout@v6
7777
with:
7878
fetch-depth: 1
7979

@@ -88,12 +88,12 @@ jobs:
8888
f.write("renamer\n")
8989
EOF
9090
91-
- uses: docker/setup-buildx-action@v3
91+
- uses: docker/setup-buildx-action@v4
9292
id: setup_buildx
9393

9494
- name: Restore build cache
9595
if: ${{ !inputs.save_cache }}
96-
uses: actions/cache/restore@v4
96+
uses: actions/cache/restore@v5
9797
env:
9898
cmake_hash: ${{ hashFiles('**/CMakeLists.txt', '**/*.cmake') }}
9999
source_hash: ${{ hashFiles('src/**/*', 'ext/**/*') }}
@@ -108,7 +108,7 @@ jobs:
108108
- name: Cache build
109109
id: cache_build
110110
if: ${{ inputs.save_cache }}
111-
uses: actions/cache@v4
111+
uses: actions/cache@v5
112112
env:
113113
cmake_hash: ${{ hashFiles('**/CMakeLists.txt', '**/*.cmake') }}
114114
source_hash: ${{ hashFiles('src/**/*', 'ext/**/*') }}
@@ -121,7 +121,7 @@ jobs:
121121
${{ format('buildcache-docker-{0}-{1}{2}-{3}-{4}-', inputs.os, inputs.compiler, inputs.compiler_version, inputs.build_type, env.cmake_hash) }}
122122
123123
- name: Inject cache into container
124-
uses: reproducible-containers/buildkit-cache-dance@v3.2.0
124+
uses: reproducible-containers/buildkit-cache-dance@v3.4.0
125125
with:
126126
builder: ${{ steps.setup_buildx.outputs.name }}
127127
cache-map: |
@@ -145,7 +145,7 @@ jobs:
145145

146146
- name: Docker meta
147147
id: docker-meta
148-
uses: docker/metadata-action@v5
148+
uses: docker/metadata-action@v6
149149
with:
150150
images: ghcr.io/${{ env.REPO }}
151151
tags: |
@@ -161,7 +161,7 @@ jobs:
161161

162162
- name: Build devtools image
163163
if: ${{ inputs.publish && vars.PUBLISH_DOCKER != '' }}
164-
uses: docker/build-push-action@v6
164+
uses: docker/build-push-action@v7
165165
with:
166166
context: .
167167
file: ${{ format('./docker/{0}.Dockerfile', inputs.os) }}
@@ -173,7 +173,7 @@ jobs:
173173
tags: ${{ format('ghcr.io/{0}/devtools:{1}', env.REPO_OWNER, inputs.os) }}
174174

175175
- name: Docker build and push
176-
uses: docker/build-push-action@v6
176+
uses: docker/build-push-action@v7
177177
with:
178178
context: .
179179
file: ${{ format('./docker/{0}.Dockerfile', inputs.os) }}
@@ -194,7 +194,7 @@ jobs:
194194

195195
- name: Archive image
196196
if: ${{ inputs.upload_artifact || (inputs.publish && vars.PUBLISH_DOCKER == '') }}
197-
uses: actions/upload-artifact@v4
197+
uses: actions/upload-artifact@v7
198198
with:
199199
name: ${{ format('LSB_{0}_image_{1}', inputs.os, github.sha) }}
200200
path: ${{ format('{0}/LSB_{1}_image_{2}.tar', runner.temp, inputs.os, github.sha) }}

.github/workflows/docker_test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,21 +57,21 @@ jobs:
5757
echo "REPO_OWNER=${GITHUB_REPOSITORY_OWNER,,}" >>${GITHUB_ENV}
5858
echo "REPO=${GITHUB_REPOSITORY,,}" >>${GITHUB_ENV}
5959
60-
- uses: actions/checkout@v4
60+
- uses: actions/checkout@v6
6161
with:
6262
fetch-depth: 1
6363
submodules: recursive # For navmeshes
6464

6565
- name: Download artifact
6666
if: ${{ github.event_name == 'pull_request' }}
67-
uses: actions/download-artifact@v4
67+
uses: actions/download-artifact@v8
6868
with:
6969
name: ${{ env.artifact_name }}
7070
path: ${{ runner.temp }}
7171

7272
- name: Download previous artifact
7373
if: ${{ (github.event_name == 'workflow_run' || github.event_name == 'workflow_dispatch') && vars.PUBLISH_DOCKER == ''}}
74-
uses: dawidd6/action-download-artifact@v3
74+
uses: dawidd6/action-download-artifact@v21
7575
with:
7676
run_id: ${{ github.event.workflow_run.id }}
7777
name: ${{ env.artifact_name }}

0 commit comments

Comments
 (0)