Explorar o código

ci(build): ensure GNU ld is in PATH for linking step

TheWildJames hai 6 meses
pai
achega
a262152ab0
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      .github/workflows/build.yml

+ 4 - 0
.github/workflows/build.yml

@@ -86,6 +86,10 @@ jobs:
         sudo apt-get update
         sudo apt-get install -y binutils lld
         echo "ld.lld --version"  # Log verification
+        export PATH="/usr/bin:$PATH"
+        which ld  # Should show /usr/bin/ld
+        ld --version  # Verify GNU ld works
+        echo "PATH=$PATH" >> $GITHUB_ENV  # Persist for step
 
     - name: Free Disk Space
       if: true