-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* triggered on push and pull request on main branch
- Loading branch information
1 parent
ecd1a07
commit 80dd1af
Showing
1 changed file
with
38 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,38 @@ | ||
name: build amebaz2/z2plus | ||
|
||
on: | ||
push: | ||
branches: [ "main" ] | ||
pull_request: | ||
branches: [ "main" ] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: checkout ameba-rtos-z2 main branch | ||
uses: actions/checkout@v3 | ||
with: | ||
ref: ${{ github.event.pull_request.head.sha }} | ||
path: ameba-rtos-z2 | ||
|
||
- name: Build amebaz2 | ||
run: | | ||
echo "Setting up build environment" | ||
cd ameba-rtos-z2/project/realtek_amebaz2_v0_example/GCC-RELEASE/ | ||
make clean | ||
echo "Building firmware image" | ||
make is | ||
echo "Build image completed" | ||
make clean | ||
- name: Build amebaz2plus | ||
run: | | ||
echo "Setting up build environment" | ||
cd ameba-rtos-z2/project/realtek_amebaz2plus_v0_example/GCC-RELEASE/ | ||
make clean | ||
echo "Building firmware image" | ||
make is | ||
echo "Build image completed" | ||
make clean |