-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (33 loc) · 870 Bytes
/
build_avr.yml
File metadata and controls
37 lines (33 loc) · 870 Bytes
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
name: Build AVR CI
on:
pull_request:
branches:
- main
- development
jobs:
build_avr:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup
run: |
git submodule update --init --recursive
chmod +x examples/avr/basic_usage/tools/*
- name: Install C/C++ Toolchain
run: |
sudo apt-get update
sudo apt-get -y install binutils
sudo apt-get -y install make
sudo apt-get -y install gcc-avr
sudo apt-get -y install avr-libc
sudo apt-get -y install cflow
- name: Build
run: |
cd examples/avr/
cd basic_usage/build/
make clean
make build DEVICE=atmega328p F_CPU=16000000L
cd ../../
cd basic_usage_callbacks/build/
make clean
make build DEVICE=atmega328p F_CPU=16000000L