Skip to content

Commit

Permalink
Update build.yml (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
viktorxda authored Apr 8, 2024
1 parent e81d290 commit 481b42d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,12 @@ jobs:

steps:
- name: Checkout Source
uses: actions/checkout@v3
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 "16i HISILICON_OPENSDK_SITE_METHOD = local" ${FILE}
sed -i "17i HISILICON_OPENSDK_SITE = $GITHUB_WORKSPACE" ${FILE}
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

0 comments on commit 481b42d

Please sign in to comment.