Skip to content

Commit

Permalink
Github action for espidf
Browse files Browse the repository at this point in the history
  • Loading branch information
lanwin committed Feb 6, 2024
1 parent 0f8ec11 commit 11d9878
Show file tree
Hide file tree
Showing 4 changed files with 56 additions and 12 deletions.
4 changes: 3 additions & 1 deletion .github/conf_arduino.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
esphome:
name: arduino

esp32:
board: m5stack-atom
framework:
type: arduino

external_components:
- source:
Expand Down
33 changes: 33 additions & 0 deletions .github/conf_esp_idf.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
esphome:
name: espidf

esp32:
board: m5stack-atom
framework:
type: esp-idf

external_components:
- source:
type: local
path: /github/workspace/components

uart:
tx_pin: GPIO19
rx_pin: GPIO22
baud_rate: 9600
parity: EVEN

samsung_ac:
debug_log_messages: false
debug_log_messages_raw: false

devices:
- address: "20.00.00"
climate:
name: "Test"
room_temperature:
name: Test1_temp
target_temperature:
name: Test1_target
power:
name: Test1_power
20 changes: 20 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Build and Test
on: [push]
jobs:
framework-arduino:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: esphome/[email protected]
id: esphome-build
with:
yaml_file: .github/conf_arduino.yml

framework-espidf:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: esphome/[email protected]
id: esphome-build
with:
yaml_file: .github/conf_esp_idf.yml
11 changes: 0 additions & 11 deletions .github/workflows/build_arduino.yml

This file was deleted.

0 comments on commit 11d9878

Please sign in to comment.