Skip to content

Create WE-826-BL740.yml #107

Create WE-826-BL740.yml

Create WE-826-BL740.yml #107

name: Compile imx280a Linux Kernel
on:
push:
branches:
- main
pull_request:
branches:
- main
repository_dispatch:
workflow_dispatch:
inputs:
ssh:
description: 'SSH connection to Actions'
required: false
default: 'false'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up build environment
run: sudo apt-get update && sudo apt-get install -y build-essential libncurses-dev bison flex libssl-dev libelf-dev
- name: Clone kernel source
run: git clone https://github.com/embeddedTS/linux-2.6.35.3-imx28.git
- name: Set up default configuration
run: |
cd linux-2.6.35.3-imx28
make ARCH=arm imx28evk_defconfig
- name: SSH connection to Actions
uses: P3TERX/ssh2actions@v1.0.0
if: (github.event.inputs.ssh == 'true' && github.event.inputs.ssh != 'false') || contains(github.event.action, 'ssh')
env:
TELEGRAM_CHAT_ID: ${{ secrets.TELEGRAM_CHAT_ID }}
TELEGRAM_BOT_TOKEN: ${{ secrets.TELEGRAM_BOT_TOKEN }}

Check failure on line 43 in .github/workflows/HG255D_LEDE17.01.5.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/HG255D_LEDE17.01.5.yml

Invalid workflow file

You have an error in your yaml syntax on line 43
- name: Compile the kernel
run: |
cd linux-2.6.35.3-imx28
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- -j$(nproc)
- name: Upload kernel image
uses: actions/upload-artifact@v2
with:
name: kernel-image
path: linux-2.6.35.3-imx28/arch/arm/boot/uImage