Skip to content

Commit 5c8953c

Browse files
committed
Adjust CI to include 4.2 builds
Update artifact naming scheme to be more consistent.
1 parent 67416fe commit 5c8953c

File tree

3 files changed

+46
-34
lines changed

3 files changed

+46
-34
lines changed

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

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,10 @@ runs:
4444
# If a specific Godot revision should be used, rather than latest, use this:
4545
# curl https://nightly.link/Bromeon/godot4-nightly/actions/runs/4910907653/${{ inputs.artifact-name }}.zip \
4646
run: |
47-
if [[ $ARTIFACT_NAME == *"stable"* ]]; then
48-
url="https://nightly.link/Bromeon/godot4-nightly/workflows/compile-godot-stable/master/$ARTIFACT_NAME.zip"
49-
elif [[ $ARTIFACT_NAME == *"4.0.4"* ]]; then
50-
url="https://nightly.link/Bromeon/godot4-nightly/workflows/compile-godot-4.0/master/$ARTIFACT_NAME.zip"
51-
else
47+
if [[ $ARTIFACT_NAME == *"nightly"* ]]; then
5248
url="https://nightly.link/Bromeon/godot4-nightly/workflows/compile-godot-nightly/master/$ARTIFACT_NAME.zip"
49+
else
50+
url="https://nightly.link/Bromeon/godot4-nightly/workflows/compile-godot-stable/master/$ARTIFACT_NAME.zip"
5351
fi
5452
5553
curl "$url" -Lo artifact.zip --retry 3

.github/workflows/full-ci.yml

Lines changed: 33 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -171,18 +171,17 @@ jobs:
171171
godot-binary: godot.macos.editor.dev.double.x86_64
172172
rust-extra-args: --features godot/custom-godot,godot/double-precision
173173

174-
- name: macos-4.1
174+
- name: macos-4.2
175175
os: macos-12
176-
artifact-name: macos-stable
176+
artifact-name: macos-4.2
177177
godot-binary: godot.macos.editor.dev.x86_64
178-
#godot-prebuilt-patch: '4.1'
178+
# godot-prebuilt-patch: '4.2.x'
179179

180-
# TODO merge with other jobs
181-
- name: macos-lazy-fptrs
180+
- name: macos-4.1
182181
os: macos-12
183-
artifact-name: macos-nightly
182+
artifact-name: macos-4.1
184183
godot-binary: godot.macos.editor.dev.x86_64
185-
rust-extra-args: --features godot/lazy-function-tables
184+
godot-prebuilt-patch: '4.1.3'
186185

187186
# Windows
188187

@@ -198,18 +197,17 @@ jobs:
198197
godot-binary: godot.windows.editor.dev.double.x86_64.exe
199198
rust-extra-args: --features godot/custom-godot,godot/double-precision
200199

201-
- name: windows-4.1
200+
- name: windows-4.2
202201
os: windows-latest
203-
artifact-name: windows-stable
202+
artifact-name: windows-4.2
204203
godot-binary: godot.windows.editor.dev.x86_64.exe
205-
#godot-prebuilt-patch: '4.1'
204+
#godot-prebuilt-patch: '4.2.x'
206205

207-
# TODO merge with other jobs
208-
- name: windows-lazy-fptrs
206+
- name: windows-4.1
209207
os: windows-latest
210-
artifact-name: windows-nightly
208+
artifact-name: windows-4.1
211209
godot-binary: godot.windows.editor.dev.x86_64.exe
212-
rust-extra-args: --features godot/lazy-function-tables
210+
godot-prebuilt-patch: '4.1.3'
213211

214212
# Linux
215213

@@ -242,21 +240,21 @@ jobs:
242240

243241
# Linux compat
244242

245-
- name: linux-4.1.1
243+
- name: linux-4.2
246244
os: ubuntu-20.04
247-
artifact-name: linux-stable
245+
artifact-name: linux-4.2
248246
godot-binary: godot.linuxbsd.editor.dev.x86_64
249-
#godot-prebuilt-patch: '4.1.1'
247+
#godot-prebuilt-patch: '4.2.x'
250248

251249
- name: linux-4.1
252250
os: ubuntu-20.04
253-
artifact-name: linux-stable
251+
artifact-name: linux-4.2
254252
godot-binary: godot.linuxbsd.editor.dev.x86_64
255-
godot-prebuilt-patch: '4.1'
253+
godot-prebuilt-patch: '4.1.3'
256254

257-
- name: linux-4.0.4
255+
- name: linux-4.0
258256
os: ubuntu-20.04
259-
artifact-name: linux-4.0.4
257+
artifact-name: linux-4.0
260258
godot-binary: godot.linuxbsd.editor.dev.x86_64
261259
godot-prebuilt-patch: '4.0.4'
262260

@@ -268,19 +266,29 @@ jobs:
268266
# cause false positives like println!. See https://github.com/google/sanitizers/issues/89.
269267
#
270268
# There is also a gcc variant besides clang, which is currently not used.
271-
- name: linux-memcheck
269+
- name: linux-memcheck-nightly
272270
os: ubuntu-20.04
273-
artifact-name: linux-memcheck-clang-nightly
271+
artifact-name: linux-memcheck-nightly
274272
godot-binary: godot.linuxbsd.editor.dev.x86_64.llvm.san
275273
rust-toolchain: nightly
276274
rust-env-rustflags: -Zrandomize-layout -Zsanitizer=address
277275
rust-extra-args: --features godot/custom-godot
278276
# Sanitizers can't build proc-macros and build scripts; with --target, cargo ignores RUSTFLAGS for those two.
279277
rust-target: x86_64-unknown-linux-gnu
280278

281-
- name: linux-memcheck-4.0.4
279+
- name: linux-memcheck-4.1
280+
os: ubuntu-20.04
281+
artifact-name: linux-memcheck-4.1
282+
godot-binary: godot.linuxbsd.editor.dev.x86_64.llvm.san
283+
godot-prebuilt-patch: '4.1.3'
284+
rust-toolchain: nightly
285+
rust-env-rustflags: -Zrandomize-layout -Zsanitizer=address
286+
# Sanitizers can't build proc-macros and build scripts; with --target, cargo ignores RUSTFLAGS for those two.
287+
rust-target: x86_64-unknown-linux-gnu
288+
289+
- name: linux-memcheck-4.0
282290
os: ubuntu-20.04
283-
artifact-name: linux-memcheck-clang-4.0.4
291+
artifact-name: linux-memcheck-4.0
284292
godot-binary: godot.linuxbsd.editor.dev.x86_64.llvm.san
285293
godot-prebuilt-patch: '4.0.4'
286294
rust-toolchain: nightly

.github/workflows/minimal-ci.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -161,27 +161,33 @@ jobs:
161161

162162
# Linux compat
163163

164+
- name: linux-4.1.3
165+
os: ubuntu-20.04
166+
artifact-name: linux-4.1
167+
godot-binary: godot.linuxbsd.editor.dev.x86_64
168+
godot-prebuilt-patch: '4.1.3'
169+
164170
- name: linux-4.0.4
165171
os: ubuntu-20.04
166-
artifact-name: linux-4.0.4
172+
artifact-name: linux-4.0
167173
godot-binary: godot.linuxbsd.editor.dev.x86_64
168174
godot-prebuilt-patch: '4.0.4'
169175

170176
# Memory checkers
171177

172178
- name: linux-memcheck
173179
os: ubuntu-20.04
174-
artifact-name: linux-memcheck-clang-nightly
180+
artifact-name: linux-memcheck-nightly
175181
godot-binary: godot.linuxbsd.editor.dev.x86_64.llvm.san
176182
rust-toolchain: nightly
177183
rust-env-rustflags: -Zrandomize-layout -Zsanitizer=address
178184
rust-extra-args: --features godot/custom-godot
179185
# Sanitizers can't build proc-macros and build scripts; with --target, cargo ignores RUSTFLAGS for those two.
180186
rust-target: x86_64-unknown-linux-gnu
181187

182-
- name: linux-memcheck-4.0.4
188+
- name: linux-memcheck-4.0
183189
os: ubuntu-20.04
184-
artifact-name: linux-memcheck-clang-4.0.4
190+
artifact-name: linux-memcheck-4.0
185191
godot-binary: godot.linuxbsd.editor.dev.x86_64.llvm.san
186192
godot-prebuilt-patch: '4.0.4'
187193
rust-toolchain: nightly

0 commit comments

Comments
 (0)