Skip to content

correct way "openhisilicon/openhisilicon/" to "openhisilicon/" #73

correct way "openhisilicon/openhisilicon/" to "openhisilicon/"

correct way "openhisilicon/openhisilicon/" to "openhisilicon/" #73

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@v4
- 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 -z "s|HISILICON_OPENSDK_SITE.*HEAD|HISILICON_OPENSDK_SITE_METHOD = local\nHISILICON_OPENSDK_SITE = $GITHUB_WORKSPACE|g" ${FILE}
make BOARD=${{matrix.platform}}_lite br-hisilicon-opensdk