This commit is contained in:
@@ -11,14 +11,14 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Checkout Code
|
- name: Checkout Code
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
- name: Run PlatformIO build for SPIFFS (same in both platforms, so only one build is necessary)
|
||||||
|
run: pio run --target buildfs -e ESP32_INA233
|
||||||
- name: Run PlatformIO Tests
|
- name: Run PlatformIO Tests
|
||||||
run: pio test -e native
|
run: pio test -e native
|
||||||
- name: Run PlatformIO build for INA233
|
- name: Run PlatformIO build for INA233
|
||||||
run: pio run -e ESP32_INA233
|
run: pio run -e ESP32_INA233
|
||||||
- name: Run PlatformIO build for INA226
|
- name: Run PlatformIO build for INA226
|
||||||
run: pio run -e ESP32_INA226
|
run: pio run -e ESP32_INA226
|
||||||
- name: Run PlatformIO build for SPIFFS (same in both platforms, so only one build is necessary)
|
|
||||||
run: pwd && pio run --target buildfs -e ESP32_INA233
|
|
||||||
- name: Upload firmware binary for INA233
|
- name: Upload firmware binary for INA233
|
||||||
run: |
|
run: |
|
||||||
VERSION=$(sed -n 's/#define current_software_version Version{[[:space:]]*\([0-9]\+\),[[:space:]]*\([0-9]\+\),[[:space:]]*\([0-9]\+\)}/\1.\2.\3/p' src/global_data/defines.h)
|
VERSION=$(sed -n 's/#define current_software_version Version{[[:space:]]*\([0-9]\+\),[[:space:]]*\([0-9]\+\),[[:space:]]*\([0-9]\+\)}/\1.\2.\3/p' src/global_data/defines.h)
|
||||||
|
|||||||
Reference in New Issue
Block a user