Skip to content

Commit 88d22f8

Browse files
authored
Merge pull request #386 from godot-rust/feature/godot-4.1.1
Update Godot version to 4.1.1, compat to 4.0.4
2 parents b4e6fd6 + 55007f3 commit 88d22f8

File tree

5 files changed

+23
-31
lines changed

5 files changed

+23
-31
lines changed

.github/composite/godot-install/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ runs:
4545
run: |
4646
if [[ $ARTIFACT_NAME == *"stable"* ]]; then
4747
url="https://nightly.link/Bromeon/godot4-nightly/workflows/compile-godot-stable/master/$ARTIFACT_NAME.zip"
48-
elif [[ $ARTIFACT_NAME == *"4.0.3"* ]]; then
49-
url="https://nightly.link/Bromeon/godot4-nightly/workflows/compile-godot-4.0.3/master/$ARTIFACT_NAME.zip"
48+
elif [[ $ARTIFACT_NAME == *"4.0.4"* ]]; then
49+
url="https://nightly.link/Bromeon/godot4-nightly/workflows/compile-godot-4.0/master/$ARTIFACT_NAME.zip"
5050
else
5151
url="https://nightly.link/Bromeon/godot4-nightly/workflows/compile-godot-nightly/master/$ARTIFACT_NAME.zip"
5252
fi

.github/workflows/full-ci.yml

Lines changed: 12 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ jobs:
7676
with:
7777
components: clippy
7878

79+
# Note: could use `-- --no-deps` to not lint dependencies, however it doesn't really speed up and also skips deps in workspace.
7980
- name: "Check clippy"
8081
run: |
8182
cargo clippy --all-targets $GDEXT_FEATURES ${{ matrix.rust-extra-args }} -- \
@@ -216,35 +217,24 @@ jobs:
216217

217218
# Linux compat
218219

219-
- name: linux-4.1
220+
- name: linux-4.1.1
220221
os: ubuntu-20.04
221222
artifact-name: linux-stable
222223
godot-binary: godot.linuxbsd.editor.dev.x86_64
223-
#godot-prebuilt-patch: '4.1'
224-
225-
- name: linux-4.0.3
226-
os: ubuntu-20.04
227-
artifact-name: linux-4.0.3
228-
godot-binary: godot.linuxbsd.editor.dev.x86_64
229-
godot-prebuilt-patch: '4.0.3'
224+
#godot-prebuilt-patch: '4.1.1'
230225

231-
- name: linux-4.0.2
226+
- name: linux-4.1
232227
os: ubuntu-20.04
233-
artifact-name: linux-4.0.3
228+
artifact-name: linux-stable
234229
godot-binary: godot.linuxbsd.editor.dev.x86_64
235-
godot-prebuilt-patch: '4.0.2'
230+
godot-prebuilt-patch: '4.1'
236231

237-
- name: linux-4.0.1
232+
- name: linux-4.0.4
238233
os: ubuntu-20.04
239-
artifact-name: linux-4.0.3
234+
artifact-name: linux-4.0.4
240235
godot-binary: godot.linuxbsd.editor.dev.x86_64
241-
godot-prebuilt-patch: '4.0.1'
236+
godot-prebuilt-patch: '4.0.4'
242237

243-
- name: linux-4.0
244-
os: ubuntu-20.04
245-
artifact-name: linux-4.0.3
246-
godot-binary: godot.linuxbsd.editor.dev.x86_64
247-
godot-prebuilt-patch: '4.0'
248238

249239
# Memory checks: special Godot binaries compiled with AddressSanitizer/LeakSanitizer to detect UB/leaks.
250240
# See also https://rustc-dev-guide.rust-lang.org/sanitizers.html.
@@ -264,12 +254,12 @@ jobs:
264254
# Sanitizers can't build proc-macros and build scripts; with --target, cargo ignores RUSTFLAGS for those two.
265255
rust-target: x86_64-unknown-linux-gnu
266256

267-
- name: linux-memcheck-4.0.3
257+
- name: linux-memcheck-4.0.4
268258
os: ubuntu-20.04
269-
artifact-name: linux-memcheck-clang-4.0.3
259+
artifact-name: linux-memcheck-clang-4.0.4
270260
godot-binary: godot.linuxbsd.editor.dev.x86_64.llvm.san
271261
godot-args: -- --disallow-focus
272-
godot-prebuilt-patch: '4.0.3'
262+
godot-prebuilt-patch: '4.0.4'
273263
rust-toolchain: nightly
274264
rust-env-rustflags: -Zrandomize-layout -Zsanitizer=address
275265
# Sanitizers can't build proc-macros and build scripts; with --target, cargo ignores RUSTFLAGS for those two.

.github/workflows/minimal-ci.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -147,11 +147,11 @@ jobs:
147147

148148
# Linux compat
149149

150-
- name: linux-4.0.3
150+
- name: linux-4.0.4
151151
os: ubuntu-20.04
152-
artifact-name: linux-4.0.3
152+
artifact-name: linux-4.0.4
153153
godot-binary: godot.linuxbsd.editor.dev.x86_64
154-
godot-prebuilt-patch: '4.0.3'
154+
godot-prebuilt-patch: '4.0.4'
155155

156156
# Memory checkers
157157

@@ -166,12 +166,12 @@ jobs:
166166
# Sanitizers can't build proc-macros and build scripts; with --target, cargo ignores RUSTFLAGS for those two.
167167
rust-target: x86_64-unknown-linux-gnu
168168

169-
- name: linux-memcheck-4.0.3
169+
- name: linux-memcheck-4.0.4
170170
os: ubuntu-20.04
171-
artifact-name: linux-memcheck-clang-4.0.3
171+
artifact-name: linux-memcheck-clang-4.0.4
172172
godot-binary: godot.linuxbsd.editor.dev.x86_64.llvm.san
173173
godot-args: -- --disallow-focus
174-
godot-prebuilt-patch: '4.0.3'
174+
godot-prebuilt-patch: '4.0.4'
175175
rust-toolchain: nightly
176176
rust-env-rustflags: -Zrandomize-layout -Zsanitizer=address
177177
# Sanitizers can't build proc-macros and build scripts; with --target, cargo ignores RUSTFLAGS for those two.

godot-bindings/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ custom-godot = ["dep:bindgen", "dep:regex", "dep:which"]
1818
custom-godot-extheader = []
1919

2020
[dependencies]
21-
godot4-prebuilt = { optional = true, git = "https://github.com/godot-rust/godot4-prebuilt", branch = "4.1" }
21+
godot4-prebuilt = { optional = true, git = "https://github.com/godot-rust/godot4-prebuilt", branch = "4.1.1" }
2222

2323
# Version >= 1.5.5 for security: https://blog.rust-lang.org/2022/03/08/cve-2022-24713.html
2424
# 'unicode-gencat' needed for \d, see: https://docs.rs/regex/1.5.5/regex/#unicode-features

godot-core/src/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,9 @@ generate_gdextension_api_version!(
193193
"4.0.1",
194194
"4.0.2",
195195
"4.0.3",
196+
"4.0.4",
196197
"4.1",
198+
"4.1.1",
197199
},
198200
(GDEXTENSION_API, gdextension_minor_api) => {
199201
"4.0",

0 commit comments

Comments
 (0)