Skip to content

Merge pull request #21 from tipoman9/main #60

Merge pull request #21 from tipoman9/main

Merge pull request #21 from tipoman9/main #60

Workflow file for this run

name: build
on:
pull_request:
branches:
- main
push:
branches:
- main
workflow_dispatch:
jobs:
toolchain:
name: Build SDK
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- platform: hi3516ev200
- platform: gk7205v200
steps:
- name: Checkout Source
uses: actions/checkout@v3
- name: Build OpenHisilicon
run: |
git clone --depth 1 https://github.com/openipc/firmware ../firmware
cd ../firmware
FILE=general/package/hisilicon-opensdk/hisilicon-opensdk.mk
sed -i "16i HISILICON_OPENSDK_SITE_METHOD = local" ${FILE}
sed -i "17i HISILICON_OPENSDK_SITE = $GITHUB_WORKSPACE" ${FILE}
make BOARD=${{matrix.platform}}_lite br-hisilicon-opensdk