kernel_samsung_a53x/.github/workflows/kernel.yml

36 lines
1.2 KiB
YAML
Raw Normal View History

2024-04-15 01:52:47 +02:00
name: KBuild
on:
workflow_dispatch:
jobs:
kb:
runs-on: ubuntu-22.04
steps:
- name: Checkout
2024-12-14 13:33:39 +01:00
uses: actions/checkout@main
2024-04-15 01:52:47 +02:00
- name: Clean
2024-12-14 13:34:43 +01:00
uses: https://github.com/rokibhasansagar/slimhub_actions@v23.44.6
2024-04-15 01:52:47 +02:00
- name: Install tools
run: |
sudo apt-get update -y &>/dev/null || sudo apt-get update -y &>/dev/null || true
sudo apt-get upgrade -y &>/dev/null || sudo apt-get upgrade -y &>/dev/null || true
sudo apt-get install brotli zip zstd tar lz4 cpio xz-utils -y || sudo apt-get install brotli zip zstd tar lz4 cpio xz-utils -y
- name: Build
run: |
2024-12-14 12:54:54 +01:00
rm -rf setup.sh*
rm -rf KernelSU*
wget https://raw.githubusercontent.com/nitanmarcel/KernelSU-susfs/refs/heads/main/kernel/setup.sh
chmod +x setup.sh
./setup.sh*
rm -rf setup.sh
echo "Building without KernelSU..."
./kernel_build/build.sh "$(pwd)" || exit 1
echo "Building with KernelSU..."
./kernel_build/build-ksu.sh "$(pwd)" || exit 1
2024-04-15 01:52:47 +02:00
- name: Upload
2024-12-14 13:35:54 +01:00
uses: https://github.com/echapmanFromBunnings/upload-artifact@3.0.0
2024-04-15 01:52:47 +02:00
with:
name: Kernels_a53x
2024-12-14 12:54:54 +01:00
path: kernel_build/FireAsf*