forked from stawel/cheali-charger
-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (35 loc) · 953 Bytes
/
atmega.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
name: Build firmware for Atmega
on:
push:
paths-ignore:
- 'docs/**'
- 'README.md'
- 'src/hardware/nuvoton*/**'
- '.github/workflows/novuton.yml'
pull_request:
paths-ignore:
- 'docs/**'
- 'README.md'
- 'src/hardware/nuvoton*/**'
- '.github/workflows/novuton.yml'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Install Packages
run: |
sudo apt-get install -y cmake avr-libc gcc-avr git
- uses: actions/checkout@v3
- name: Build Project
run: |
git submodule init
git submodule update
./bootstrap-avr
make
- name: Upload Artifacts
uses: actions/upload-artifact@v3
with:
name: atmega32
path: |
src/hardware/atmega32/targets/**/*.hex
src/hardware/atmega32/targets/**/progUSBasp.sh