From d62f8e8e920052c6cfc642e566b8c21f81bcc7d5 Mon Sep 17 00:00:00 2001 From: Marcel <65245426+marcel-licence@users.noreply.github.com> Date: Tue, 17 Jun 2025 22:48:25 +0200 Subject: [PATCH 1/3] Create compile-sketch.yml --- .github/workflows/compile-sketch.yml | 49 ++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 .github/workflows/compile-sketch.yml diff --git a/.github/workflows/compile-sketch.yml b/.github/workflows/compile-sketch.yml new file mode 100644 index 0000000..c979fd3 --- /dev/null +++ b/.github/workflows/compile-sketch.yml @@ -0,0 +1,49 @@ +name: C/C++ CI + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +jobs: + build_esp32: + + name: build esp32 + + runs-on: ubuntu-latest + + strategy: + matrix: + fqbn: + - esp32:esp32:esp32 + + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Compile sketch + uses: arduino/compile-sketches@v1 + with: + fqbn: ${{ matrix.fqbn }} + usbstack: tinyusb + platforms: | + - name: esp32:esp32 + source-url: https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json + version: 2.0.13 + sketch-paths: | + - ./ + libraries: | + - source-url: https://github.com/marcel-licence/ML_SynthTools.git + name: ML_SynthTools + - source-url: https://github.com/marcel-licence/ML_SynthTools_Lib.git + name: ML_SynthTools_Lib + - source-url: https://github.com/adafruit/Adafruit-GFX-Library.git + name: Adafruit_GFX_Library + version: 1.10.10 + - source-url: https://github.com/adafruit/Adafruit_SSD1306.git + name: Adafruit_SSD1306 + version: 2.4.5 + - source-url: https://github.com/adafruit/Adafruit_BusIO.git + name: Adafruit BusIO + version: 1.14.1 From 6c6998e1c360416481c56e35e5fc283ec5657c07 Mon Sep 17 00:00:00 2001 From: Marcel <65245426+marcel-licence@users.noreply.github.com> Date: Tue, 17 Jun 2025 22:53:39 +0200 Subject: [PATCH 2/3] Update compile-sketch.yml --- .github/workflows/compile-sketch.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/compile-sketch.yml b/.github/workflows/compile-sketch.yml index c979fd3..020717b 100644 --- a/.github/workflows/compile-sketch.yml +++ b/.github/workflows/compile-sketch.yml @@ -26,11 +26,10 @@ jobs: uses: arduino/compile-sketches@v1 with: fqbn: ${{ matrix.fqbn }} - usbstack: tinyusb platforms: | - name: esp32:esp32 source-url: https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json - version: 2.0.13 + version: 2.0.18 sketch-paths: | - ./ libraries: | From f428a88f09fed86dc586e72e9e4d82272e91ae3b Mon Sep 17 00:00:00 2001 From: Marcel <65245426+marcel-licence@users.noreply.github.com> Date: Tue, 17 Jun 2025 22:57:18 +0200 Subject: [PATCH 3/3] use latest v2 version: 2.0.17 --- .github/workflows/compile-sketch.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/compile-sketch.yml b/.github/workflows/compile-sketch.yml index 020717b..6ff6149 100644 --- a/.github/workflows/compile-sketch.yml +++ b/.github/workflows/compile-sketch.yml @@ -29,7 +29,7 @@ jobs: platforms: | - name: esp32:esp32 source-url: https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json - version: 2.0.18 + version: 2.0.17 sketch-paths: | - ./ libraries: |