-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Add new cicd.yml which runs when someone creates a pull request on main branch. - This workflow will ensure PR's created on main branch is verified with a build before merging. Signed-off-by: Chirag Shilwant <[email protected]>
- Loading branch information
Showing
1 changed file
with
46 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
name: Go package | ||
|
||
on: | ||
pull_request: | ||
branches: [main] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Set up Go | ||
uses: actions/setup-go@v3 | ||
with: | ||
go-version: 1.19 | ||
|
||
- name: Set up Flutter | ||
uses: subosito/flutter-action@v2 | ||
with: | ||
flutter-version: '3.3.1' | ||
channel: 'stable' | ||
|
||
- name: Build seva-web | ||
run: | | ||
cd seva-web | ||
make SOC=AM62X | ||
make SOC=AM68 | ||
make SOC=AM69 | ||
- name: Build seva-launcher | ||
run: | | ||
cd seva-launcher | ||
make ARCH=aarch64 SOC=AM62X | ||
cp seva-launcher seva-launcher-am62-aarch64 | ||
make clean | ||
make ARCH=aarch64 SOC=AM68 | ||
cp seva-launcher seva-launcher-am68-aarch64 | ||
make clean | ||
make ARCH=aarch64 SOC=AM69 | ||
cp seva-launcher seva-launcher-am69-aarch64 | ||
make clean | ||
make ARCH=x86_64 SOC=AM62X | ||
cp seva-launcher seva-launcher-am62-x86_64 | ||
make clean | ||