-
Notifications
You must be signed in to change notification settings - Fork 6
38 lines (33 loc) · 1.14 KB
/
main.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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