diff --git a/.github/workflows/build-project.yml b/.github/workflows/build-project.yml new file mode 100644 index 0000000..1f368c4 --- /dev/null +++ b/.github/workflows/build-project.yml @@ -0,0 +1,31 @@ +name: Build Project +on: + push: + branches: + - add_ci + workflow_dispatch: + # 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"