This repository has been archived by the owner on May 3, 2024. It is now read-only.
Merge github.com:LineageOS/android_kernel_qcom_sm8150 into into stagi… #171
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Kernel on Github Actions | |
on: | |
push: | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
container: | |
image: panchajanya1999/archlinux:latest | |
steps: | |
- name: Setup env | |
run: pacman -Sy --noconfirm && pacman -S archlinux-keyring --noconfirm && pacman -Syu --needed --noconfirm wget base-devel xmlto inetutils bc cpio python-sphinx python-sphinx_rtd_theme graphviz imagemagick git python zip github-cli fortune-mod ccache jre8-openjdk | |
- uses: actions/checkout@v4 | |
- name: Add repo as a safe directory | |
run: git config --global --add safe.directory /__w/kernel_xiaomi_surya/kernel_xiaomi_surya | |
- name: Checkout submodules | |
run: git submodule update --init --recursive --remote | |
- name: Initialize ccache | |
uses: hendrikmuhs/ccache-action@v1.2 | |
with: | |
max-size: 2048M | |
- name: Build Stratosphere Kernel | |
run: | | |
bash ci_build.sh | |
env: | |
token: ${{secrets.TG_TOKEN}} | |
- name: Store Kernel Package as Artifact | |
uses: actions/upload-artifact@v3 | |
with: | |
name: Flashable zip | |
path: AnyKernel3/package.zip |