update3
This commit is contained in:
parent
ce69b0c950
commit
f7ce94c494
|
|
@ -39,13 +39,26 @@ jobs:
|
|||
- name: Install PlatformIO Core
|
||||
run: pip install --upgrade platformio
|
||||
|
||||
- name: Determine board type
|
||||
run: |
|
||||
if [[ "${{ matrix.board }}" == "heltec_wifi_lora_32_V3" || "${{ matrix.board }}" == "heltec_wireless_tracker" || "${{ matrix.board }}" == "heltec_wireless_stick" || "${{ matrix.board }}" == "heltec_wireless_stick_lite_v3" ]]; then
|
||||
export BOARD_ENV="esp32s3"
|
||||
else
|
||||
if [[ "${{ matrix.board }}" == "heltec_ht-ct62" ]]; then
|
||||
export BOARD_ENV="esp32c3"
|
||||
else
|
||||
export BOARD_ENV="esp32"
|
||||
fi
|
||||
fi
|
||||
shell: bash
|
||||
|
||||
- name: Build target
|
||||
run: |
|
||||
pio run -e ${{ matrix.board }}
|
||||
pio run -e ${{ matrix.board }} --environment $BOARD_ENV
|
||||
|
||||
- name: Build FS
|
||||
run: |
|
||||
pio run --target buildfs -e ${{ matrix.board }}
|
||||
pio run --target buildfs -e ${{ matrix.board }} --environment $BOARD_ENV
|
||||
|
||||
- name: Move Files
|
||||
run: |
|
||||
|
|
|
|||
|
|
@ -40,8 +40,21 @@ jobs:
|
|||
- name: Install PlatformIO Core
|
||||
run: pip install --upgrade platformio
|
||||
|
||||
- name: Determine board type
|
||||
run: |
|
||||
if [[ "${{ matrix.board }}" == "heltec_wifi_lora_32_V3" || "${{ matrix.board }}" == "heltec_wireless_tracker" || "${{ matrix.board }}" == "heltec_wireless_stick" || "${{ matrix.board }}" == "heltec_wireless_stick_lite_v3" ]]; then
|
||||
export BOARD_ENV="esp32s3"
|
||||
else
|
||||
if [[ "${{ matrix.board }}" == "heltec_ht-ct62" ]]; then
|
||||
export BOARD_ENV="esp32c3"
|
||||
else
|
||||
export BOARD_ENV="esp32"
|
||||
fi
|
||||
fi
|
||||
shell: bash
|
||||
|
||||
- name: Build target
|
||||
run: pio run -e ${{ matrix.board }}
|
||||
run: pio run -e ${{ matrix.board }} --environment $BOARD_ENV
|
||||
|
||||
- name: Build FS
|
||||
run: pio run --target buildfs -e ${{ matrix.board }}
|
||||
run: pio run --target buildfs -e ${{ matrix.board }} --environment $BOARD_ENV
|
||||
Loading…
Reference in New Issue