Merge pull request #75 from marcel-licence/add_support_for_rp2040_v4.4.0 #88
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: C/C++ CI | |
| on: | |
| push: | |
| branches: [ "main" ] | |
| pull_request: | |
| branches: [ "main" ] | |
| jobs: | |
| build_esp32_2_0_13: | |
| name: build esp32 v2.0.13 | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| fqbn: | |
| - esp32:esp32:esp32 | |
| sketch-paths: | |
| - examples/ml_epiano_example | |
| - examples/ml_midi_monitor | |
| - examples/ml_mod_tracker | |
| - examples/ml_synth_basic_example | |
| - examples/ml_synth_fm_example | |
| - examples/ml_synth_multi_saw_example | |
| - examples/ml_synth_organ_example | |
| - examples/ml_synth_pwm_osc_example | |
| - examples/ml_synth_sampler_example | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| with: | |
| submodules: 'true' | |
| - name: Compile sketch | |
| uses: arduino/compile-sketches@v1 | |
| with: | |
| fqbn: ${{ matrix.fqbn }} | |
| 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: ${{ matrix.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 | |
| - source-url: https://github.com/marcel-licence/AC101.git | |
| name: AC101 | |
| build_esp32_3_0_5: | |
| name: build esp32 v3.0.5 | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| fqbn: | |
| - esp32:esp32:esp32 | |
| sketch-paths: | |
| - examples/ml_epiano_example | |
| #- examples/ml_mod_tracker | |
| - examples/ml_midi_monitor | |
| - examples/ml_synth_basic_example | |
| #- examples/ml_synth_fm_example | |
| #- examples/ml_synth_multi_saw_example | |
| #- examples/ml_synth_organ_example | |
| #- examples/ml_synth_pwm_osc_example | |
| #- examples/ml_synth_sampler_example | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| with: | |
| submodules: 'true' | |
| - name: Compile sketch | |
| uses: arduino/compile-sketches@v1 | |
| with: | |
| fqbn: ${{ matrix.fqbn }} | |
| platforms: | | |
| - name: esp32:esp32 | |
| source-url: https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json | |
| version: 3.0.5 | |
| sketch-paths: ${{ matrix.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 | |
| - source-url: https://github.com/marcel-licence/AC101.git | |
| name: AC101 | |
| build_esp8266: | |
| name: build esp8266 | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| fqbn: | |
| - esp8266:esp8266:d1_mini | |
| sketch-paths: | |
| # - examples/ml_epiano_example | |
| # - examples/ml_midi_monitor | |
| - examples/ml_mod_tracker | |
| # - examples/ml_synth_basic_example | |
| # - examples/ml_synth_fm_example | |
| # - examples/ml_synth_multi_saw_example | |
| - examples/ml_synth_organ_example | |
| # - examples/ml_synth_pwm_osc_example | |
| # - examples/ml_synth_sampler_example | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| with: | |
| submodules: 'true' | |
| - name: Compile sketch | |
| uses: arduino/compile-sketches@v1 | |
| with: | |
| fqbn: ${{ matrix.fqbn }} | |
| platforms: | | |
| - name: esp8266:esp8266 | |
| source-url: https://arduino.esp8266.com/stable/package_esp8266com_index.json | |
| version: 3.1.2 | |
| sketch-paths: ${{ matrix.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 | |
| - source-url: https://github.com/marcel-licence/AC101.git | |
| name: AC101 | |
| build_rp2040_tinyusb: | |
| name: build rp2040 | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| fqbn: | |
| - rp2040:rp2040:rpipico | |
| - rp2040:rp2040:rpipico2 | |
| sketch-paths: | |
| - examples/ml_epiano_example | |
| #- examples/ml_midi_monitor | |
| - examples/ml_mod_tracker | |
| - examples/ml_synth_basic_example | |
| #- examples/ml_synth_fm_example | |
| - examples/ml_synth_multi_saw_example | |
| - examples/ml_synth_organ_example | |
| #- examples/ml_synth_pwm_osc_example | |
| - examples/ml_synth_sampler_example | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| with: | |
| submodules: 'true' | |
| - name: Compile sketch | |
| uses: arduino/compile-sketches@v1 | |
| with: | |
| fqbn: ${{ matrix.fqbn }} | |
| cli-compile-flags: | | |
| - --build-property | |
| - "build.usbstack_flags=-DUSE_TINYUSB -I{runtime.platform.path}/libraries/Adafruit_TinyUSB_Arduino/src/arduino" | |
| platforms: | | |
| - name: rp2040:rp2040 | |
| source-url: https://github.com/earlephilhower/arduino-pico/releases/download/global/package_rp2040_index.json | |
| version: 4.4.0 | |
| sketch-paths: ${{ matrix.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 | |
| - source-url: https://github.com/marcel-licence/AC101.git | |
| name: AC101 | |
| - source-url: https://github.com/marcel-licence/ML_SynthTools.git | |
| name: ML_SynthTools | |
| - source-url: https://github.com/FortySevenEffects/arduino_midi_library.git | |
| name: MIDI_Library | |
| version: 5.0.2 | |
| build_rp2040: | |
| name: build rp2040 | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| fqbn: | |
| - rp2040:rp2040:rpipico | |
| - rp2040:rp2040:rpipico2 | |
| sketch-paths: | |
| - examples/ml_midi_monitor | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| with: | |
| submodules: 'true' | |
| - name: Compile sketch | |
| uses: arduino/compile-sketches@v1 | |
| with: | |
| fqbn: ${{ matrix.fqbn }} | |
| # cli-compile-flags: | | |
| # - --build-property | |
| # - "build.usbstack_flags=-DUSE_TINYUSB -I{runtime.platform.path}/libraries/Adafruit_TinyUSB_Arduino/src/arduino" | |
| platforms: | | |
| - name: rp2040:rp2040 | |
| source-url: https://github.com/earlephilhower/arduino-pico/releases/download/global/package_rp2040_index.json | |
| sketch-paths: ${{ matrix.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 | |
| - source-url: https://github.com/marcel-licence/AC101.git | |
| name: AC101 | |
| - source-url: https://github.com/marcel-licence/ML_SynthTools.git | |
| name: ML_SynthTools | |
| - source-url: https://github.com/FortySevenEffects/arduino_midi_library.git | |
| name: MIDI_Library | |
| version: 5.0.2 | |
| build_stm32: | |
| if: false | |
| name: build stm32 | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| fqbn: | |
| - STMicroelectronics:stm32:GenH7 | |
| sketch-paths: | |
| - examples/ml_epiano_example | |
| # - examples/ml_midi_monitor | |
| - examples/ml_mod_tracker | |
| - examples/ml_synth_basic_example | |
| - examples/ml_synth_fm_example | |
| - examples/ml_synth_multi_saw_example | |
| - examples/ml_synth_organ_example | |
| - examples/ml_synth_pwm_osc_example | |
| - examples/ml_synth_sampler_example | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| with: | |
| submodules: 'true' | |
| - name: Compile sketch | |
| uses: arduino/compile-sketches@v1 | |
| with: | |
| fqbn: ${{ matrix.fqbn }} | |
| platforms: | | |
| - name: STMicroelectronics:stm32 | |
| - source-url: https://raw.githubusercontent.com/stm32duino/BoardManagerFiles/main/package_stmicroelectronics_index.json | |
| version: 2.0.0 | |
| sketch-paths: ${{ matrix.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 | |
| - source-url: https://github.com/marcel-licence/AC101.git | |
| name: AC101 | |
| build_teensy: | |
| if: true | |
| name: build teensy | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| fqbn: | |
| - teensy:avr:teensy41 | |
| sketch-paths: | |
| #- examples/ml_epiano_example | |
| #- examples/ml_midi_monitor | |
| #- examples/ml_mod_tracker | |
| - examples/ml_synth_basic_example | |
| - examples/ml_synth_fm_example | |
| #- examples/ml_synth_multi_saw_example | |
| #- examples/ml_synth_organ_example | |
| #- examples/ml_synth_pwm_osc_example | |
| #- examples/ml_synth_sampler_example | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| with: | |
| submodules: 'true' | |
| - name: Compile sketch | |
| uses: arduino/compile-sketches@v1 | |
| with: | |
| fqbn: ${{ matrix.fqbn }} | |
| platforms: | | |
| - name: teensy:avr | |
| source-url: https://www.pjrc.com/teensy/package_teensy_index.json | |
| version: 1.59.0 | |
| sketch-paths: ${{ matrix.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 | |
| - source-url: https://github.com/marcel-licence/AC101.git | |
| name: AC101 |