Revert "defconfig: regen" #35
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/[email protected] | |
with: | |
max-size: 2048M | |
- name: Build Sunscape Kernel | |
run: | | |
bash ci_build.sh | |
env: | |
token: ${{secrets.TG_TOKEN}} | |
- name: Upload kernel package to artifacts | |
uses: actions/upload-artifact@v4 | |
with: | |
name: Flashable zip | |
path: AnyKernel3/package.zip |