Skip to content

workflows: Install libelf-dev #17

workflows: Install libelf-dev

workflows: Install libelf-dev #17

name: Compile Mainline Kernel
on:
[push, pull_request]
jobs:
compile-kernel:
runs-on: ubuntu-latest
defaults:
run:
shell: bash
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Update the system
run: |
sudo apt update -y
- name: Upgrade the system
run: |
sudo apt upgrade -y
- name: Install dependencies
run: |
sudo apt -y install bc build-essential zip curl libstdc++6 git wget python3 gcc clang libssl-dev rsync flex bison device-tree-compiler sudo libelf-dev
- name: Install additional dependencies
run: |
curl https://raw.githubusercontent.com/akhilnarang/scripts/master/setup/android_build_env.sh | sh
- name: Install sworkflow
run: |
./setup.sh i
- name: Check sworkflow
run: |
which sw
- name: Compile Kernel
run: |
bash tests/build/mainline_compile_test.sh