diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c72d94c..da84602 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -23,6 +23,7 @@ jobs: echo "repos<> $GITHUB_OUTPUT jq -s '[.[][]]' repos*.json >> $GITHUB_OUTPUT echo "EOF" >> $GITHUB_OUTPUT + - name: "⏰ Set builddate" id: generate-builddate run: echo "builddate=$(date +'%Y%m%d')" >> $GITHUB_OUTPUT @@ -160,7 +161,8 @@ jobs: run: | echo "PATH Variable: $PATH" make ${args} - + make ${args} modules + - name: "💛 Upload Image" uses: actions/upload-artifact@v3 env: @@ -213,6 +215,16 @@ jobs: cp -f ${{ env.OUT_DIR }}/arch/${{ env.arch }}/boot/Image.gz-dtb ./AnyKernel3/ fi + if [ -e "${{ env.OUT_DIR }}/arch/${{ env.arch }}/boot/dtbo.img" ]; then + cp -f ${{ env.OUT_DIR }}/arch/${{ env.arch }}/boot/dtbo.img ./AnyKernel3/ + fi + + if [ -e "${{ env.OUT_DIR }}/arch/${{ env.arch }}/boot/dtb" ]; then + cp -f ${{ env.OUT_DIR }}/arch/${{ env.arch }}/boot/dtb ./AnyKernel3/ + fi + + find "${{ env.OUT_DIR }}/" -type f -iname '*.ko' -exec cp {} ./AnyKernel3/modules/system/lib/modules/ \; + cd AnyKernel3/ zip -q -r "${{ env.anykernel }}.zip" * diff --git a/repos.proton.json b/repos.proton.json new file mode 100644 index 0000000..b2b37b9 --- /dev/null +++ b/repos.proton.json @@ -0,0 +1,88 @@ +[ + { + "kernelSource": { + "name": "kernel_pyxis", + "repo": "https://github.com/TP4HCEP/los", + "branch": "20", + "device": "pyxis", + "defconfig": "pyxis_defconfig" + }, + + "withKernelSU": false, + "toolchains": [ + { + "repo": "https://github.com/kdrag0n/proton-clang", + "branch": "master", + "name": "proton-clang", + "binPath": ["bin"] + } + ], + "ccache": true, + "params": { + "ARCH": "arm64", + "CC": "proton-clang/bin/clang", + "externalCommand": { + "CROSS_COMPILE": "proton-clang/bin/aarch64-linux-gnu-", + "CROSS_COMPILE_ARM32": "proton-clang/bin/arm-linux-gnueabi-", + "LD": "proton-clang/bin/ld.lld", + "AR": "proton-clang/bin/llvm-ar", + "NM": "proton-clang/bin/llvm-nm", + "OBJCOPY": "proton-clang/bin/llvm-objcopy", + "OBJDUMP": "proton-clang/bin/llvm-objdump", + "READELF": "proton-clang/bin/llvm-readelf", + "OBJSIZE": "proton-clang/bin/llvm-size", + "STRIP": "proton-clang/bin/llvm-strip", + "LDGOLD": "proton-clang/bin/aarch64-linux-gnu-ld.gold", + "LLVM_AR": "proton-clang/bin/llvm-ar", + "LLVM_DIS": "proton-clang/bin/llvm-dis" + } + }, + "AnyKernel3": { + "use": true, + "release": true, + "repo": "https://github.com/easterNday/AnyKernel3/", + "branch": "thyme" + } + }, + { + "kernelSource": { + "name": "Thyme-Google", + "repo": "https://codeberg.org/DogDayAndroid/android_kernel_xiaomi_thyme", + "branch": "lineage-20.0", + "device": "thyme", + "defconfig": "thyme_defconfig" + }, + "withKernelSU": false, + "toolchains": [ + { + "repo": "https://android.googlesource.com/platform/prebuilts/gas/linux-x86", + "branch": "master", + "name": "gas", + "binPath": [] + }, + { + "repo": "https://gitlab.com/ThankYouMario/android_prebuilts_clang-standalone/", + "branch": "11", + "name": "clang", + "binPath": ["bin"] + } + ], + "ccache": true, + "params": { + "ARCH": "arm64", + "CC": "clang/bin/clang", + "externalCommand": { + "CROSS_COMPILE": "aarch64-linux-gnu-", + "CROSS_COMPILE_ARM32": "arm-linux-gnueabi-", + "CROSS_COMPILE_COMPAT": "arm-linux-gnueabi-", + "CLANG_TRIPLE": "aarch64-linux-gnu-" + } + }, + "AnyKernel3": { + "use": true, + "release": true, + "repo": "https://github.com/TP4HCEP/AnyKernel3", + "branch": "master" + } + } +] diff --git a/repos.protons.json b/repos.protons.json new file mode 100644 index 0000000..a5032ed --- /dev/null +++ b/repos.protons.json @@ -0,0 +1,50 @@ +[ + { + "kernelSource": { + "name": "kernel_pyxis", + "repo": "https://github.com/LineageOS/android_kernel_xiaomi_sdm710", + "branch": "lineage-19.1", + "device": "pyxis", + "defconfig": "sdm670_defconfig" + }, + + "withKernelSU": false, + + "toolchains": [ + { + "repo": "https://github.com/kdrag0n/proton-clang", + "branch": "master", + "name": "proton-clang", + "binPath": ["bin"] + } + ], + + "ccache": true, + "params": { + "ARCH": "arm64", + "CC": "proton-clang/bin/clang", + "externalCommand": { + "CROSS_COMPILE": "proton-clang/bin/aarch64-linux-gnu-", + "CROSS_COMPILE_ARM32": "proton-clang/bin/arm-linux-gnueabi-", + "LD": "proton-clang/bin/ld.lld", + "AR": "proton-clang/bin/llvm-ar", + "NM": "proton-clang/bin/llvm-nm", + "OBJCOPY": "proton-clang/bin/llvm-objcopy", + "OBJDUMP": "proton-clang/bin/llvm-objdump", + "READELF": "proton-clang/bin/llvm-readelf", + "OBJSIZE": "proton-clang/bin/llvm-size", + "STRIP": "proton-clang/bin/llvm-strip", + "LDGOLD": "proton-clang/bin/aarch64-linux-gnu-ld.gold", + "LLVM_AR": "proton-clang/bin/llvm-ar", + "LLVM_DIS": "proton-clang/bin/llvm-dis" + } + }, + + "AnyKernel3": { + "use": true, + "release": true, + "repo": "https://github.com/TP4HCEP/AnyKernel3", + "branch": "master" + } + } +] \ No newline at end of file diff --git a/repos.protonss.json b/repos.protonss.json new file mode 100644 index 0000000..6c2ab49 --- /dev/null +++ b/repos.protonss.json @@ -0,0 +1,43 @@ +[ + { + "kernelSource": { + "name": "kernel_pyxis_google", + "repo": "https://github.com/LineageOS/android_kernel_xiaomi_sdm710", + "branch": "lineage-19.1", + "device": "pyxis", + "defconfig": "sdm670_defconfig" + }, + "withKernelSU": false, + "toolchains": [ + { + "repo": "https://android.googlesource.com/platform/prebuilts/gas/linux-x86", + "branch": "master", + "name": "gas", + "binPath": [] + }, + { + "repo": "https://gitlab.com/ThankYouMario/android_prebuilts_clang-standalone/", + "branch": "11", + "name": "clang", + "binPath": ["bin"] + } + ], + "ccache": true, + "params": { + "ARCH": "arm64", + "CC": "clang/bin/clang", + "externalCommand": { + "CROSS_COMPILE": "aarch64-linux-gnu-", + "CROSS_COMPILE_ARM32": "arm-linux-gnueabi-", + "CROSS_COMPILE_COMPAT": "arm-linux-gnueabi-", + "CLANG_TRIPLE": "aarch64-linux-gnu-" + } + }, + "AnyKernel3": { + "use": true, + "release": true, + "repo": "https://github.com/TP4HCEP/AnyKernel3", + "branch": "master" + } + } +] \ No newline at end of file diff --git a/repos.oneplus3.json b/repos.pyxis.json similarity index 80% rename from repos.oneplus3.json rename to repos.pyxis.json index 793db71..efe7987 100644 --- a/repos.oneplus3.json +++ b/repos.pyxis.json @@ -1,11 +1,11 @@ [ { "kernelSource": { - "name": "kernel_msm8996", - "repo": "https://github.com/Akitlove/kernel_oneplus_msm8996", - "branch": "lineage18.1-intelli-Thermal-3.0", - "device": "oneplus3-R", - "defconfig": "lineageos_oneplus3_defconfig" + "name": "kernel_pyxis", + "repo": "https://github.com/LineageOS/android_kernel_xiaomi_sdm710", + "branch": "lineage-19.1", + "device": "pyxis", + "defconfig": "sdm670-perf_defconfig" }, "withKernelSU": false, "toolchains": [ @@ -36,10 +36,10 @@ } }, "AnyKernel3": { - "use": false, - "release": false, - "repo": "https://github.com/Akitlove/AnyKernel3", - "branch": "op3t" + "use": true, + "release": true, + "repo": "https://github.com/TP4HCEP/AnyKernel3", + "branch": "master" } } ]