ci(ci-fix): fix gh action environments

This commit is contained in:
DaOfficialWizard 2023-04-15 20:08:39 +01:00
parent 175dcff5cb
commit e8c6bab99b
2 changed files with 20 additions and 49 deletions

View File

@ -28,42 +28,13 @@ jobs:
fail-fast: false
matrix:
target_name:
[esp32AIThinker, esp32M5Stack, esp32Cam, esp_eye, wrover, wrovers3]
[esp32AIThinker, esp32M5Stack, esp32Cam, esp_eye, wrover, wrooms3QIO, wrooms3QIOUSB, wrooms3, wrooms3USB]
target_build_type: ["", _release] #, _OTA] # OTA is not needed
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
#- name: Cache pip
# uses: actions/cache@v3
# with:
# path: ~/.cache/pip
# key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
# restore-keys: ${{ runner.os }}-pip-
#- name: Cache PlatformIO
# uses: actions/cache@v3
# with:
# path: ~/.platformio
# key: ${{ runner.os }}-${{ hashFiles('**/lockfiles') }}
# restore-keys: |
# ${{ runner.os }}-pio-
#- name: Setup Python install
# uses: actions/setup-python@v4
# with:
# python-version: "3.x"
#- name: Install PlatformIO with Pip
# run: |
#
# python -m pip install --upgrade pip
# pip install distro
# pip install --upgrade platformio
# pio upgrade --dev
# pio pkg update --global
#- name: Update build command
# working-directory: ./ESP
# run: |
# sed -i '/\[env\]/p; s/\[env\]/upload_protocol = custom/' platformio.ini
- name: Build OpenIris Firmware
uses: addnab/docker-run-action@v3
with:
@ -132,7 +103,7 @@ jobs:
fail-fast: false
matrix:
target_name:
[esp32AIThinker, esp32M5Stack, esp32Cam, esp_eye, wrover, wrovers3]
[esp32AIThinker, esp32M5Stack, esp32Cam, esp_eye, wrover, wrooms3QIO, wrooms3QIOUSB, wrooms3, wrooms3USB]
target_build_type: ["", _release]
name: Cleanup actions
needs:

View File

@ -96,7 +96,7 @@ build_flags = ${env.build_flags}
; CAMERA PINOUT DEFINITIONS
${pinoutsESPWROVER.build_flags}
[env:wrovers3QIO]
[env:wrooms3QIO]
board = esp32-s3-devkitc-1
board_build.arduino.memory_type = qio_opi
build_type = debug
@ -108,7 +108,7 @@ build_flags = ${env.build_flags}
${pinoutsESPS3WROVER.build_flags}
upload_flags = --no-stub
[env:wrovers3QIO_release]
[env:wrooms3QIO_release]
board = esp32-s3-devkitc-1
board_build.arduino.memory_type = qio_opi
build_type = release
@ -119,22 +119,6 @@ build_flags = ${env.build_flags}
${pinoutsESPS3WROVER.build_flags}
upload_flags = --no-stub
[env:wrooms3]
board = esp32-s3-devkitc-1
build_type = debug
build_flags = ${env.build_flags}
-DCORE_DEBUG_LEVEL=4
-DDEBUG_MODE=1
${pinoutsESPS3WROOM.build_flags}
[env:wrooms3_release]
board = esp32-s3-devkitc-1
build_type = release
build_flags = ${env.build_flags}
-DDEBUG_MODE=0
-DCORE_DEBUG_LEVEL=1
${pinoutsESPS3WROOM.build_flags}
[env:wrooms3QIOUSB]
board = esp32-s3-devkitc-1
board_build.arduino.memory_type = qio_opi
@ -157,6 +141,22 @@ build_flags = ${env.build_flags}
-DETVR_EYE_TRACKER_USB_API
${pinoutsESPS3WROVER.build_flags}
[env:wrooms3]
board = esp32-s3-devkitc-1
build_type = debug
build_flags = ${env.build_flags}
-DCORE_DEBUG_LEVEL=4
-DDEBUG_MODE=1
${pinoutsESPS3WROOM.build_flags}
[env:wrooms3_release]
board = esp32-s3-devkitc-1
build_type = release
build_flags = ${env.build_flags}
-DDEBUG_MODE=0
-DCORE_DEBUG_LEVEL=1
${pinoutsESPS3WROOM.build_flags}
[env:wrooms3USB]
board = esp32-s3-devkitc-1
build_type = debug