Skip to content

Commit 6f41973

Browse files
authored
Merge pull request #22 from ZZ-Cat/Continuous-Integration
2 parents e60975b + 0f0382c commit 6f41973

File tree

5 files changed

+53
-38
lines changed

5 files changed

+53
-38
lines changed
+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Arduino
2+
3+
on: [push]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
9+
steps:
10+
- uses: actions/setup-python@v4
11+
with:
12+
python-version: '3.x'
13+
- uses: actions/checkout@v3
14+
- uses: actions/checkout@v3
15+
with:
16+
repository: adafruit/ci-arduino
17+
path: ci
18+
19+
- name: Install the prerequisites
20+
run: bash ci/actions_install.sh
21+
22+
- name: Check for correct code formatting with clang-format
23+
run: python3 ci/run-clang-format.py -e "ci/*" -e "bin/*" -r .
24+
25+
- name: Test the code on supported platforms
26+
run: python3 ci/build_platform.py metro_m4

.github/workflows/githubci.yml

-36
This file was deleted.
+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: PlatformIO
2+
3+
on: [push]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
9+
steps:
10+
- uses: actions/checkout@v3
11+
- uses: actions/cache@v3
12+
with:
13+
path: |
14+
~/.cache/pip
15+
~/.platformio/.cache
16+
key: ${{ runner.os }}-pio
17+
- uses: actions/setup-python@v4
18+
with:
19+
python-version: '3.9'
20+
- name: Install PlatformIO Core
21+
run: pip install --upgrade platformio
22+
23+
- name: Build PlatformIO Project
24+
run: pio run

README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@
22

33
[![GitHub release (latest by date)](https://img.shields.io/github/v/release/ZZ-Cat/CRSFforArduino)](https://github.com/ZZ-Cat/CRSFforArduino/releases/latest)
44
[![GitHub license](https://img.shields.io/github/license/ZZ-Cat/CRSFforArduino)](https://github.com/ZZ-Cat/CRSFforArduino/blob/Main-Trunk/LICENSE.md)
5-
[![Build Status](https://github.com/ZZ-Cat/CRSFforArduino/workflows/Arduino%20Library%20CI/badge.svg)](https://github.com/ZZ-Cat/CRSFforArduino/actions)
65
[![Conventional Commits](https://img.shields.io/badge/Conventional%20Commits-1.0.0-%23FE5196?logo=conventionalcommits&logoColor=white)](https://conventionalcommits.org)
6+
[![Build Status](https://github.com/ZZ-Cat/CRSFforArduino/workflows/Arduino/badge.svg)](https://github.com/ZZ-Cat/CRSFforArduino/actions)
7+
[![Build Status](https://github.com/ZZ-Cat/CRSFforArduino/workflows/PlatformIO/badge.svg)](https://github.com/ZZ-Cat/CRSFforArduino/actions)
78

89
## Written & developed by
910

library.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ sentence=An Arduino Library for communicating with ExpressLRS receivers.
66
paragraph=This library brings the CRSF protocol to the Arduino platform. It is compatible with ExpressLRS & Crossfire receivers.
77
category=Communication
88
url=https://github.com/ZZ-Cat/CRSFforArduino
9-
depends=Adafruit_ZeroDMA
9+
depends=Adafruit Zero DMA Library
1010
dot_a_linkage=false
1111
includes=CRSFforArduino.h

0 commit comments

Comments
 (0)