Merge pull request #105662 from Repiteo/ci/mold

CI: Replace `gold` with `mold`
This commit is contained in:
Thaddeus Crews 2025-04-22 18:25:53 -05:00
commit 1696ab0cb6
No known key found for this signature in database
GPG key ID: 8C6E5FEB5FC03CCC

View file

@ -35,11 +35,11 @@ jobs:
# Validate godot-cpp compatibility on one arbitrary editor build. # Validate godot-cpp compatibility on one arbitrary editor build.
godot-cpp: true godot-cpp: true
- name: Editor with doubles and GCC sanitizers (target=editor, tests=yes, dev_build=yes, scu_build=yes, precision=double, use_asan=yes, use_ubsan=yes, linker=gold) - name: Editor with doubles and GCC sanitizers (target=editor, tests=yes, dev_build=yes, scu_build=yes, precision=double, use_asan=yes, use_ubsan=yes, linker=mold)
cache-name: linux-editor-double-sanitizers cache-name: linux-editor-double-sanitizers
target: editor target: editor
# Debug symbols disabled as they're huge on this build and we hit the 14 GB limit for runners. # Debug symbols disabled as they're huge on this build and we hit the 14 GB limit for runners.
sconsflags: dev_build=yes scu_build=yes debug_symbols=no precision=double use_asan=yes use_ubsan=yes linker=gold sconsflags: dev_build=yes scu_build=yes debug_symbols=no precision=double use_asan=yes use_ubsan=yes linker=mold
bin: ./bin/godot.linuxbsd.editor.dev.double.x86_64.san bin: ./bin/godot.linuxbsd.editor.dev.double.x86_64.san
build-mono: false build-mono: false
tests: true tests: true
@ -159,6 +159,10 @@ jobs:
- name: Extract pre-built AccessKit - name: Extract pre-built AccessKit
run: unzip -o accesskit-c-0.15.1/accesskit_c.zip run: unzip -o accesskit-c-0.15.1/accesskit_c.zip
- name: Install mold linker
if: matrix.proj-test
uses: rui314/setup-mold@v1
- name: Compilation - name: Compilation
uses: ./.github/actions/godot-build uses: ./.github/actions/godot-build
with: with: