Преглед изворни кода

Merge pull request #105662 from Repiteo/ci/mold

CI: Replace `gold` with `mold`
Thaddeus Crews пре 3 месеци
родитељ
комит
1696ab0cb6
1 измењених фајлова са 6 додато и 2 уклоњено
  1. 6 2
      .github/workflows/linux_builds.yml

+ 6 - 2
.github/workflows/linux_builds.yml

@@ -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: