Skip to content

Commit bba5aac

Browse files
committed
Run only 13 and ace5pro 36
1 parent 211af1e commit bba5aac

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,10 @@ jobs:
238238
# ln -sf ../../bootable/bootloader/edk2/abl_extensions.bzl kernel_platform/build/abl_extensions.bzl
239239
# cd kernel_platform
240240
# /home/runner/work/OnePlus_KernelSU_SUSFS/OnePlus_KernelSU_SUSFS/OP13/kernel_platform/tools/bazel --output_user_root="/home/runner/work/OnePlus_KernelSU_SUSFS/OnePlus_KernelSU_SUSFS/OP13/bazel-cache" query "--ui_event_filters=-info" "--noshow_progress" 'filter("sun_perf.*_dist$", attr(generator_function, define_msm_platforms, msm-kernel/...))'
241+
# Read environment variables and write to bzl file
242+
OPLUS_FEATURES=$(export|grep -e "^declare -x OPLUS_FEATURE_BSP_"|sed 's/declare -x //g'|sed 's/"//g'|tr '\n' ' ')
243+
# setup build parameters before building external modules
244+
./kernel_platform/oplus/bazel/oplus_modules_variant.sh ${{ inputs.soc }} "$BUILD_TYPE" "${OPLUS_FEATURES}"
241245
./kernel_platform/build_with_bazel.py -t ${{ inputs.soc }} "$BUILD_TYPE" --jobs=$(nproc --all) --lto=thin -g --verbose_failures -o "$(pwd)/out"
242246
243247
- name: Copy Images

0 commit comments

Comments
 (0)