added CI job
Some checks failed
BeagleBone Black Buildroot / build (push) Failing after 3m55s

This commit is contained in:
okhsunrog 2024-11-29 20:52:26 +03:00
parent 07a444d088
commit 4b15077540

View file

@ -0,0 +1,46 @@
name: BeagleBone Black Buildroot
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: docker
container:
image: ghcr.io/catthehacker/ubuntu:act-22.04
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Install dependencies
run: |
apt-get update
apt-get install -y build-essential libncurses5-dev rsync unzip bc wget cpio python3 python3-pip file
- name: Configure Buildroot
run: |
make beaglebone_defconfig
- name: Build system
run: |
make -j$(nproc)
- name: Create artifact directory
run: |
mkdir -p artifacts
cp output/images/zImage artifacts/
cp output/images/rootfs.ext2 artifacts/
cp output/images/am335x-boneblack.dtb artifacts/
- name: Upload artifacts
uses: actions/upload-artifact@v3
with:
name: beaglebone-black-images
path: artifacts/