|
|
@@ -357,13 +357,29 @@ jobs:
|
|
|
echo "Building the kernel..."
|
|
|
if [ -f "build/build.sh" ]; then
|
|
|
sed -i 's/-dirty//' ./common/scripts/setlocalversion
|
|
|
- LTO=${{ inputs.lto_type }} BUILD_CONFIG=common/build.config.gki.aarch64 build/build.sh
|
|
|
+ #LTO=${{ inputs.lto_type }} BUILD_CONFIG=common/build.config.gki.aarch64 build/build.sh
|
|
|
else
|
|
|
rm -rf ./common/android/abi_gki_protected_exports_*
|
|
|
sed -i "/stable_scmversion_cmd/s/-maybe-dirty//g" ./build/kernel/kleaf/impl/stamp.bzl
|
|
|
- tools/bazel build --config=fast --lto=${{ inputs.lto_type }} //common:kernel_aarch64_dist
|
|
|
+ #tools/bazel build --config=fast --lto=${{ inputs.lto_type }} //common:kernel_aarch64_dist
|
|
|
fi
|
|
|
|
|
|
+ - name: Multi-line multi-command Test
|
|
|
+ uses: nick-fields/retry@v3
|
|
|
+ with:
|
|
|
+ timeout_minutes: 1
|
|
|
+ max_attempts: 2
|
|
|
+ command: |
|
|
|
+ echo "Changing to configuration directory: $CONFIG..."
|
|
|
+ cd "$CONFIG"
|
|
|
+
|
|
|
+ if [ -f "build/build.sh" ]; then
|
|
|
+ LTO=${{ inputs.lto_type }} BUILD_CONFIG=common/build.config.gki.aarch64 build/build.sh
|
|
|
+ else
|
|
|
+ tools/bazel build --config=fast --lto=${{ inputs.lto_type }} //common:kernel_aarch64_dist
|
|
|
+ fi
|
|
|
+
|
|
|
+
|
|
|
- name: Create Bootimgs Folder and Copy Images
|
|
|
if: ${{ inputs.android_version == 'android12' || inputs.android_version == 'android13' }}
|
|
|
run: |
|