test action #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Project | |
on: | |
push: | |
branches: | |
- add_ci | |
repository_dispatch: | |
types: [my-event] | |
# inputs: | |
# branch: | |
# description: 'Branch from other dependecie that triggerd the buuild' | |
# required: true | |
# default: 'main' | |
jobs: | |
Build: | |
runs-on: [self-hosted, lnxdsp] | |
steps: | |
- name: Cleanup build folder | |
run: | | |
ls -al ./ | |
rm -rf ./* || true | |
- name: Build Project | |
run: | | |
# mkdir lnxdsp-build && cd lnxdsp-build | |
# mkdir bin | |
# curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ./bin/repo | |
# chmod a+x ./bin/repo | |
# ./bin/repo init -u https://github.com/analogdevicesinc/lnxdsp-repo-manifest.git -b main -m ${{ github.event.inputs.branch }}.xml | |
# ./bin/repo sync | |
# source setup-environment -m adsp-sc598-som-ezkit | |
# bitbake adsp-sc5xx-minimal | |
echo "Branch .xml" |