Skip to content

Commit

Permalink
sw: workflow: Rewrite compile test
Browse files Browse the repository at this point in the history
Signed-off-by: Saalim Quadri <[email protected]>
  • Loading branch information
danascape committed Jul 31, 2023
1 parent 693376d commit 1ea32f5
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 17 deletions.
17 changes: 0 additions & 17 deletions .github/workflows/build.yml

This file was deleted.

34 changes: 34 additions & 0 deletions .github/workflows/test_compile.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Compile 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 python gcc clang libssl-dev rsync flex bison device-tree-compiler sudo
- name: Install additional dependencies
run: |
curl https://raw.githubusercontent.com/akhilnarang/scripts/master/setup/android_build_env.sh | sh
- name: Compile Kernel
run: |
bash tests/compile_test.sh

0 comments on commit 1ea32f5

Please sign in to comment.