Skip to content

Commit b3f343b

Browse files
committed
Added Linux and AVR build CI workflow
1 parent d90341d commit b3f343b

File tree

4 files changed

+55
-2
lines changed

4 files changed

+55
-2
lines changed

.github/workflows/build_avr.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Build AVR CI
2+
3+
on: [push]
4+
5+
jobs:
6+
build:
7+
8+
runs-on: ubuntu-latest
9+
10+
steps:
11+
- uses: actions/checkout@v2
12+
- name: Install C/C++ Toolchain
13+
run: |
14+
sudo apt-get update
15+
sudo apt-get -y install binutils
16+
sudo apt-get -y install make
17+
sudo apt-get -y install gcc-avr
18+
sudo apt-get -y install avr-libc
19+
sudo apt-get -y install cflow
20+
- name: Build scripts setup
21+
run: chmod +x examples/avr/basic_usage/tools/*
22+
- name: Build
23+
run: |
24+
cd examples/avr/basic_usage/build
25+
make clean
26+
make build

.github/workflows/build_linux.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Build Linux CI
2+
3+
on: [push]
4+
5+
jobs:
6+
build:
7+
8+
runs-on: ubuntu-latest
9+
10+
steps:
11+
- uses: actions/checkout@v2
12+
- name: Install C/C++ Toolchain
13+
run: |
14+
sudo apt-get update
15+
sudo apt-get -y install binutils
16+
sudo apt-get -y install make
17+
sudo apt-get -y install gcc
18+
sudo apt-get -y install g++
19+
sudo apt-get -y install libc6
20+
sudo apt-get -y install cflow
21+
- name: Build scripts setup
22+
run: chmod +x examples/linux/basic_usage/tools/*
23+
- name: Build
24+
run: |
25+
cd examples/linux/basic_usage/build
26+
make clean
27+
make build
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: PlatformIO Arduino CI
1+
name: Build PlatformIO Arduino CI
22

33
on: [push]
44

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: PlatformIO ESP-IDF CI
1+
name: Build PlatformIO ESP-IDF CI
22

33
on: [push]
44

0 commit comments

Comments
 (0)