Skip to content

Commit

Permalink
ci: add github action
Browse files Browse the repository at this point in the history
  • Loading branch information
felixerdy committed Apr 29, 2024
1 parent c1dff64 commit 5f7b7ae
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Compile Sketch

# The workflow will run on every push and pull request to the repository
on:
- push
- pull_request

jobs:
compile-sketch:
runs-on: ubuntu-latest

steps:
# This step makes the contents of the repository available to the workflow
- name: Checkout repository
uses: actions/checkout@v4

# For more information: https://github.com/arduino/compile-sketches#readme
- name: Compile sketch
uses: arduino/compile-sketches@v1
with:
fqbn: esp32:esp32:sensebox_mcu_esp32s2
sketch-paths: |
- ./sensebox-bike-atrai
libraries: |
- SenseBoxBLE
- SDConfig
- SD
- Adafruit_HDC1000
- sps30
- Adafruit_MPU6050
- NewPing
- display
- vl53l8cx_class
- Adafruit_GFX
- Adafruit_SSD1306
- qrcode
- Adafruit_MAX1704X

0 comments on commit 5f7b7ae

Please sign in to comment.