Skip to content

Commit

Permalink
feat: introduce CI to standardize inspection
Browse files Browse the repository at this point in the history
  • Loading branch information
asjdf committed Feb 22, 2023
1 parent 8d622c8 commit be5f58d
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/scripts/dep-install.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash
cd ${HOME}/Arduino/libraries
git clone https://github.com/me-no-dev/ESPAsyncWebServer.git ESPAsyncWebServer
git clone https://github.com/me-no-dev/ESPAsyncTCP.git ESPAsyncTCP
git clone https://github.com/me-no-dev/AsyncTCP.git AsyncTCP
42 changes: 42 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: Arduino Library CI

on:
push:
paths-ignore:
- '**/**.md'
- '/keywords.txt'
- '/library.json'
- '/library.properties'
- '/frontend'
pull_request:
paths-ignore:
- '**/**.md'
- '/keywords.txt'
- '/library.json'
- '/library.properties'
- '/frontend'

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/setup-python@v1
with:
python-version: '3.x'

- uses: actions/checkout@v2

- uses: actions/checkout@v2
with:
repository: adafruit/ci-arduino
path: ci

- name: pre-install
run: bash ci/actions_install.sh

- name: install-deps
run: bash .github/scripts/dep-install.sh

- name: test platforms
run: python3 ci/build_platform.py esp8266 esp32

0 comments on commit be5f58d

Please sign in to comment.