Skip to content

Commit

Permalink
CI: Add github actions for NCM6B
Browse files Browse the repository at this point in the history
Signed-off-by: Jagan Teki <jagan@edgeble.ai>
  • Loading branch information
openedev committed Nov 11, 2023
1 parent 5bf1846 commit c30b1a1
Showing 1 changed file with 51 additions and 0 deletions.
51 changes: 51 additions & 0 deletions .github/workflows/neu6b.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
name: U-Boot CI runner for NCM6B

on:
push:
branches:
- ncm6b

jobs:
build:
permissions: write-all
name: u-boot ncm6b runner
runs-on: ubuntu-latest

env:
UBOOT_REPO: https://github.com/openaia/u-boot.git
RKBIN_REPO: https://github.com/rockchip-linux/rkbin.git
RKBIN_DIR: rkbin/bin/rk35

steps:
- name: Checkout repository
uses: actions/checkout@v1

- name: Install dependencies
run: |
sudo apt-get update
sudo apt install -y gcc make gcc-aarch64-linux-gnu binutils-aarch64-linux-gnu
pip3 install pyelftools
- name: Clone U-boot repo
run: |
mkdir -p u-boot-ncm6b && cd u-boot-ncm6b
git clone $UBOOT_REPO -b ncm6b
git clone $RKBIN_REPO
export ARCH=arm64
export CROSS_COMPILE=aarch64-linux-gnu-
cd u-boot
export BL31=../$RKBIN_DIR/rk3588_bl31_v1.40.elf
export ROCKCHIP_TPL=../$RKBIN_DIR/rk3588_ddr_lp4_2112MHz_lp5_2736MHz_v1.12.bin
make neu6b-io-rk3588_defconfig
make -j12
- name: Upload output artifacts
uses: softprops/action-gh-release@v1
with:
tag_name: "ncm6b-v2023.11"
files: |
u-boot-ncm6b/u-boot/idbloader.img
u-boot-ncm6b/u-boot/u-boot.itb
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit c30b1a1

Please sign in to comment.