Skip to content

Commit

Permalink
Add more ESP32 workflows. Improve workflow display names
Browse files Browse the repository at this point in the history
  • Loading branch information
vickash committed Jul 27, 2024
1 parent e459954 commit 11eba37
Show file tree
Hide file tree
Showing 14 changed files with 248 additions and 15 deletions.
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
name: Build / AVR
name: ATmega AVR

on:
workflow_dispatch:

pull_request:
paths:
- 'src/**'
- '.github/workflows/build_atmega.yml'
- '.github/workflows/build_atmega_avr.yml'

push:
paths:
- 'src/**'
- '.github/workflows/build_atmega.yml'
- '.github/workflows/build_atmega_avr.yml'

jobs:
avr-uno:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build_atmega_megaavr.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build / MegaAVR
name: ATmega megaAVR

on:
workflow_dispatch:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build_atsam3x.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build / SAM3X
name: ATSAM3X

on:
workflow_dispatch:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build_atsamd21.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build / SAMD
name: ATSAMD21

on:
workflow_dispatch:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build_esp32.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build / ESP32
name: ESP32

on:
workflow_dispatch:
Expand Down
57 changes: 57 additions & 0 deletions .github/workflows/build_esp32c3.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
name: ESP32-C3

on:
workflow_dispatch:

pull_request:
paths:
- 'src/**'
- '.github/workflows/build_esp32c3.yml'

push:
paths:
- 'src/**'
- '.github/workflows/build_esp32c3.yml'

jobs:
esp8266-nodemcuv2:
name: esp32 ${{ matrix.sketches.name }}

runs-on: ubuntu-latest

strategy:
matrix:
sketches:
- name: serial
- name: wifi

board:
- fqbn: esp32:esp32:esp32c3
denko-target: esp32
platforms: |
- name: esp32:esp32
source-url: https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
libraries: |
- name: IRremoteESP8266
version: 2.8.5
- name: ESP32Servo
- name: Adafruit NeoPixel
steps:
- name: Checkout
uses: actions/checkout@v3
with:
submodules: true

- name: Generate
id: generate
run: echo "path=$(./bin/denko sketch ${{ matrix.sketches.name }} --target ${{ matrix.board.denko-target }})" >> $GITHUB_OUTPUT

- name: Compile Arduino Sketches
uses: arduino/[email protected]
with:
platforms: ${{ matrix.board.platforms }}
fqbn: ${{ matrix.board.fqbn }}
libraries: ${{ matrix.board.libraries }}
sketch-paths: |
- ${{ steps.generate.outputs.path }}
57 changes: 57 additions & 0 deletions .github/workflows/build_esp32c6.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
name: ESP32-C6

on:
workflow_dispatch:

pull_request:
paths:
- 'src/**'
- '.github/workflows/build_esp32c6.yml'

push:
paths:
- 'src/**'
- '.github/workflows/build_esp32c6.yml'

jobs:
esp8266-nodemcuv2:
name: esp32 ${{ matrix.sketches.name }}

runs-on: ubuntu-latest

strategy:
matrix:
sketches:
- name: serial
- name: wifi

board:
- fqbn: esp32:esp32:esp32c6
denko-target: esp32
platforms: |
- name: esp32:esp32
source-url: https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
libraries: |
- name: IRremoteESP8266
version: 2.8.5
- name: ESP32Servo
- name: Adafruit NeoPixel
steps:
- name: Checkout
uses: actions/checkout@v3
with:
submodules: true

- name: Generate
id: generate
run: echo "path=$(./bin/denko sketch ${{ matrix.sketches.name }} --target ${{ matrix.board.denko-target }})" >> $GITHUB_OUTPUT

- name: Compile Arduino Sketches
uses: arduino/[email protected]
with:
platforms: ${{ matrix.board.platforms }}
fqbn: ${{ matrix.board.fqbn }}
libraries: ${{ matrix.board.libraries }}
sketch-paths: |
- ${{ steps.generate.outputs.path }}
57 changes: 57 additions & 0 deletions .github/workflows/build_esp32h2.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
name: ESP32-H2

on:
workflow_dispatch:

pull_request:
paths:
- 'src/**'
- '.github/workflows/build_esp32h2.yml'

push:
paths:
- 'src/**'
- '.github/workflows/build_esp32h2.yml'

jobs:
esp8266-nodemcuv2:
name: esp32 ${{ matrix.sketches.name }}

runs-on: ubuntu-latest

strategy:
matrix:
sketches:
- name: serial
- name: wifi

board:
- fqbn: esp32:esp32:esp32h2
denko-target: esp32
platforms: |
- name: esp32:esp32
source-url: https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
libraries: |
- name: IRremoteESP8266
version: 2.8.5
- name: ESP32Servo
- name: Adafruit NeoPixel
steps:
- name: Checkout
uses: actions/checkout@v3
with:
submodules: true

- name: Generate
id: generate
run: echo "path=$(./bin/denko sketch ${{ matrix.sketches.name }} --target ${{ matrix.board.denko-target }})" >> $GITHUB_OUTPUT

- name: Compile Arduino Sketches
uses: arduino/[email protected]
with:
platforms: ${{ matrix.board.platforms }}
fqbn: ${{ matrix.board.fqbn }}
libraries: ${{ matrix.board.libraries }}
sketch-paths: |
- ${{ steps.generate.outputs.path }}
2 changes: 1 addition & 1 deletion .github/workflows/build_esp32s2.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build / ESP32-S2
name: ESP32-S2

on:
workflow_dispatch:
Expand Down
57 changes: 57 additions & 0 deletions .github/workflows/build_esp32s3.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
name: ESP32-S3

on:
workflow_dispatch:

pull_request:
paths:
- 'src/**'
- '.github/workflows/build_esp32s3.yml'

push:
paths:
- 'src/**'
- '.github/workflows/build_esp32s3.yml'

jobs:
esp8266-nodemcuv2:
name: esp32 ${{ matrix.sketches.name }}

runs-on: ubuntu-latest

strategy:
matrix:
sketches:
- name: serial
- name: wifi

board:
- fqbn: esp32:esp32:esp32s3
denko-target: esp32
platforms: |
- name: esp32:esp32
source-url: https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
libraries: |
- name: IRremoteESP8266
version: 2.8.5
- name: ESP32Servo
- name: Adafruit NeoPixel
steps:
- name: Checkout
uses: actions/checkout@v3
with:
submodules: true

- name: Generate
id: generate
run: echo "path=$(./bin/denko sketch ${{ matrix.sketches.name }} --target ${{ matrix.board.denko-target }})" >> $GITHUB_OUTPUT

- name: Compile Arduino Sketches
uses: arduino/[email protected]
with:
platforms: ${{ matrix.board.platforms }}
fqbn: ${{ matrix.board.fqbn }}
libraries: ${{ matrix.board.libraries }}
sketch-paths: |
- ${{ steps.generate.outputs.path }}
2 changes: 1 addition & 1 deletion .github/workflows/build_esp8266.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build / ESP8266
name: ESP8266

on:
workflow_dispatch:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build_ra4m1.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build / RA4M1
name: RA4M1

on:
workflow_dispatch:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build_rp2040.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build / RP2040
name: RP2040

on:
workflow_dispatch:
Expand Down
13 changes: 9 additions & 4 deletions HARDWARE.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@
### Espressif Chips with Built-In Wi-Fi
[![ESP8266 Build Status](https://github.com/denko-rb/denko/actions/workflows/build_esp8266.yml/badge.svg)](https://github.com/denko-rb/denko/actions/workflows/build_esp8266.yml)
[![ESP32 Build Status](https://github.com/denko-rb/denko/actions/workflows/build_esp32.yml/badge.svg)](https://github.com/denko-rb/denko/actions/workflows/build_esp32.yml)
[![ESP32-C3 Build Status](https://github.com/denko-rb/denko/actions/workflows/build_esp32c3.yml/badge.svg)](https://github.com/denko-rb/denko/actions/workflows/build_esp32c3.yml)
[![ESP32-C6 Build Status](https://github.com/denko-rb/denko/actions/workflows/build_esp32c6.yml/badge.svg)](https://github.com/denko-rb/denko/actions/workflows/build_esp32c6.yml)
[![ESP32-H2 Build Status](https://github.com/denko-rb/denko/actions/workflows/build_esp32h2.yml/badge.svg)](https://github.com/denko-rb/denko/actions/workflows/build_esp32h2.yml)
[![ESP32-S2 Build Status](https://github.com/denko-rb/denko/actions/workflows/build_esp32s2.yml/badge.svg)](https://github.com/denko-rb/denko/actions/workflows/build_esp32s2.yml)
[![ESP32-S3 Build Status](https://github.com/denko-rb/denko/actions/workflows/build_esp32s3.yml/badge.svg)](https://github.com/denko-rb/denko/actions/workflows/build_esp32s3.yml)

| Chip | Status | Board Tested | Notes |
| :-------- | :------: | :--------------- |------ |
Expand All @@ -20,8 +25,8 @@
**Note:** For ESP32 chips using native USB, make sure `USB CDC On Boot` is `Enabled` in the IDE's `Tools` menu. Flashing from the CLI doesn't automatically enable this, so the IDE is recommended for now.

### AVR/MegaAVR Based Arduino Products (and Clones)
[![AVR Build Status](https://github.com/denko-rb/denko/actions/workflows/build_avr.yml/badge.svg)](https://github.com/denko-rb/denko/actions/workflows/build_avr.yml)
[![MegaAVR Build Status](https://github.com/denko-rb/denko/actions/workflows/build_megaavr.yml/badge.svg)](https://github.com/denko-rb/denko/actions/workflows/build_megaavr.yml)
[![AVR Build Status](https://github.com/denko-rb/denko/actions/workflows/build_atmega_avr.yml/badge.svg)](https://github.com/denko-rb/denko/actions/workflows/build_atmega_avr.yml)
[![MegaAVR Build Status](https://github.com/denko-rb/denko/actions/workflows/build_atmega_megaavr.yml/badge.svg)](https://github.com/denko-rb/denko/actions/workflows/build_atmega_megaavr.yml)

| Chip | Status | Products | Notes |
| :-------- | :------: | :--------------- |------ |
Expand All @@ -35,8 +40,8 @@
**Note:** Only USB boards listed. Any board with a supported chip should work, once you can flash it and connect to serial.

### ARM Based Arduino Products (and Clones)
[![SAM3X Build Satus](https://github.com/denko-rb/denko/actions/workflows/build_sam3x.yml/badge.svg)](https://github.com/denko-rb/denko/actions/workflows/build_sam3x.yml)
[![SAMD Build Satus](https://github.com/denko-rb/denko/actions/workflows/build_samd.yml/badge.svg)](https://github.com/denko-rb/denko/actions/workflows/build_samd.yml)
[![SAM3X Build Satus](https://github.com/denko-rb/denko/actions/workflows/build_atsam3x.yml/badge.svg)](https://github.com/denko-rb/denko/actions/workflows/build_atsam3x.yml)
[![SAMD Build Satus](https://github.com/denko-rb/denko/actions/workflows/build_atsamd21.yml/badge.svg)](https://github.com/denko-rb/denko/actions/workflows/build_atsamd21.yml)
[![RA4M1 Build Satus](https://github.com/denko-rb/denko/actions/workflows/build_ra4m1.yml/badge.svg)](https://github.com/denko-rb/denko/actions/workflows/build_ra4m1.yml)

| Chip | Status | Products | Notes |
Expand Down

0 comments on commit 11eba37

Please sign in to comment.