forked from stawel/cheali-charger
-
Notifications
You must be signed in to change notification settings - Fork 0
48 lines (39 loc) · 1.04 KB
/
novuton.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
39
40
41
42
43
44
45
46
47
48
name: Build firmware for Nuvoton
on:
push:
paths-ignore:
- 'docs/**'
- 'README.md'
- 'src/hardware/atmega32/**'
- '.github/workflows/atmega.yml'
pull_request:
paths-ignore:
- 'docs/**'
- 'README.md'
- 'src/hardware/atmega32/**'
- '.github/workflows/atmega.yml'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Install Packages
run: |
sudo apt-get install -y git cmake openocd gcc-arm-none-eabi
- uses: actions/checkout@v3
- name: Build Project
run: |
git submodule init
git submodule update
./bootstrap-arm
make
- name: Print contents
run: |
ls -la src/hardware/
find src/hardware
- name: Upload Artifacts
uses: actions/upload-artifact@v3
with:
name: novuton
path: |
src/hardware/nuvoton**/targets/**/*.hex
src/hardware/nuvoton**/targets/**/progStLink*.sh