-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #26 from edwardtfn/dev
Fix toggle with swipe
- Loading branch information
Showing
4 changed files
with
55 additions
and
64 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
--- | ||
name: Validate and Build ESPHome | ||
name: Validate ESPHome | ||
|
||
# yamllint disable-line rule:truthy | ||
on: | ||
|
@@ -28,32 +28,9 @@ concurrency: | |
cancel-in-progress: true | ||
|
||
jobs: | ||
setup_dependencies: | ||
name: Setup & Cache Dependencies | ||
runs-on: ubuntu-latest | ||
outputs: | ||
cache-hit-arduino: ${{ steps.cache-arduino.outputs.cache-hit }} | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@main | ||
|
||
- name: Cache Arduino Dependencies | ||
id: cache-arduino | ||
uses: actions/cache@main | ||
with: | ||
path: | | ||
~/.esphome/cache | ||
~/.platformio/packages | ||
~/.platformio/platforms | ||
key: ${{ runner.os }}-arduino-${{ hashFiles('**/esphome_ard_basic.yaml') }} | ||
restore-keys: | | ||
${{ runner.os }}-arduino- | ||
code_scan: | ||
name: Code scan (YAML) | ||
runs-on: "ubuntu-latest" | ||
needs: setup_dependencies | ||
steps: | ||
- name: Checkout Code | ||
uses: actions/checkout@main | ||
|
@@ -71,46 +48,35 @@ jobs: | |
|
||
build_basic: | ||
name: Basic | ||
needs: [code_scan, setup_dependencies] | ||
needs: | ||
- code_scan | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
include: | ||
- id: ard | ||
yaml_file: ".test/esphome_ard_basic.yaml" | ||
cache-hit: ${{ needs.setup_dependencies.outputs.cache-hit-arduino }} | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@main | ||
|
||
- name: Firmware | ||
if: steps.matrix.outputs.cache-hit != 'true' | ||
uses: esphome/[email protected] | ||
- uses: actions/checkout@main | ||
- name: Build core | ||
uses: esphome/build-action@main | ||
with: | ||
yaml_file: ${{ matrix.yaml_file }} | ||
yaml_file: ".test/esphome_ard_basic.yaml" | ||
|
||
build_bluetooth_proxy: | ||
name: Bluetooth Proxy | ||
build_bluetooth_proxy_4: | ||
name: Bluetooth Proxy (IDF v4) | ||
needs: build_basic | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
include: | ||
- id: idf_v4 | ||
base: idf_v4 | ||
yaml_file: ".test/esphome_idf_bluetooth_proxy.yaml" | ||
- id: idf_v5 | ||
base: idf_v5 | ||
yaml_file: ".test/esphome_idf5_bluetooth_proxy.yaml" | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@main | ||
- uses: actions/checkout@main | ||
- name: Build core | ||
uses: esphome/build-action@main | ||
with: | ||
yaml_file: ".test/esphome_idf_bluetooth_proxy.yaml" | ||
|
||
- name: Build Bluetooth Proxy Firmware | ||
uses: esphome/[email protected] | ||
build_bluetooth_proxy_5: | ||
name: Bluetooth Proxy (IDF v5) | ||
needs: build_basic | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@main | ||
- name: Build core | ||
uses: esphome/build-action@main | ||
with: | ||
yaml_file: ${{ matrix.yaml_file }} | ||
yaml_file: ".test/esphome_idf5_bluetooth_proxy.yaml" | ||
... |
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Gitignore settings for ESPHome | ||
# This is an example and may include too much for your use-case. | ||
# You can modify this file to suit your needs. | ||
/.esphome/ | ||
# /secrets.yaml |
This file contains 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