Skip to content

Commit

Permalink
Merge pull request #14 from sensebox/ci/action
Browse files Browse the repository at this point in the history
ci: add github action
  • Loading branch information
felixerdy authored Apr 29, 2024
2 parents c1dff64 + 71ecf6a commit 7ab44ca
Show file tree
Hide file tree
Showing 5 changed files with 53 additions and 8 deletions.
Binary file removed .DS_Store
Binary file not shown.
49 changes: 49 additions & 0 deletions .github/workflows/compile-sketches.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: Compile Sketch

on:
push:
branches: [main]
tags: ["v*.*.*"]
pull_request:
branches:
- main

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

env:
SKETCHES_REPORTS_PATH: sketches-reports

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
platforms: |
- name: esp32:esp32
source-url: https://espressif.github.io/arduino-esp32/package_esp32_index.json
sketch-paths: |
- ./senseBox-bike-atrai
libraries: |
- name: SenseBoxBLE
- name: "Adafruit HDC1000 Library"
- name: sensirion-sps
- name: "Adafruit MPU6050"
- name: NewPing
- name: "STM32duino VL53L8CX"
- name: "Adafruit GFX Library"
- name: "Adafruit SSD1306"
- source-url: https://github.com/felixerdy/QRCodeGenerator.git
- name: "Adafruit MAX1704X"
- name: SDConfig
- name: SD
- name: Ethernet
- name: NeoGPS
enable-deltas-report: true
enable-warnings-report: true
3 changes: 3 additions & 0 deletions senseBox-bike-atrai/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
### Libraries

- Uses https://github.com/harriebird/QRCodeGenerator/tree/feature/rename-the-library for generating QR codes
2 changes: 1 addition & 1 deletion senseBox-bike-atrai/display.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#include <Wire.h>
#include <Adafruit_GFX.h>
#include <Adafruit_SSD1306.h>
#include <qrcode.h>
#include <QRCodeGenerator.h>
#include <Adafruit_MAX1704X.h>

#define SCREEN_WIDTH 128
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
// First sketch for the senseBox:bike working with the second generation for the MCU
// SPS is disabled
//

#include <SenseBoxBLE.h>
#include <SDConfig.h>
#include <SD.h>
#include <Adafruit_HDC1000.h>
#include <sps30.h>
#include <Adafruit_MPU6050.h>
Expand All @@ -13,9 +9,6 @@

#include <vl53l8cx_class.h>




// Accelerometer and Gyroscope
Adafruit_MPU6050 mpu;
// Temperatur and humidity
Expand Down

0 comments on commit 7ab44ca

Please sign in to comment.