trae 3 miesięcy temu
rodzic
commit
2cb08f7627

+ 1 - 3
.github/actions/build-kernel/action.yml

@@ -80,16 +80,14 @@ runs:
           tools/bazel run \
               --config=fast \
               --config=stamp \
-              --lto=default \
               --defconfig_fragment=//common:arch/arm64/configs/wild_gki.fragment \
               --disk_cache=/home/runner/.cache/bazel \
               //common:kernel_aarch64_dist \
               -- --destdir=/home/runner/out
-          else
+          elif [[ ${{ inputs.version }} == "android16-6.6" ]]; then
             tools/bazel run \
               --config=fast \
               --config=stamp \
-              --lto=default \
               --defconfig_fragment=//common:arch/arm64/configs/wild_gki.fragment \
               --disk_cache=/home/runner/.cache/bazel \
               //common:kernel_aarch64_dist \

+ 1 - 1
.github/workflows/build.yml

@@ -63,7 +63,7 @@ jobs:
     - name: Setup more Swap (for LTO)
       uses: thejerrybao/setup-swap-space@v1   # or pierotofy/set-swap-space
       with:
-        swap-size-gb: 16          # 10-24 GB is common for heavy LTO
+        swap-size-gb: 10          # 10-24 GB is common for heavy LTO
         # swap-space-path: /mnt/swapfile   # optional
 
     - name: Setup Build Environment