From c71189e1573afced77b8e1d36eae0648ddd4e8bf Mon Sep 17 00:00:00 2001 From: panaceya Date: Wed, 4 Sep 2024 19:35:54 +0300 Subject: [PATCH 1/7] OLED_ can be configured via userPrefs.h --- src/graphics/Screen.cpp | 2 +- variants/diy/platformio.ini | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/src/graphics/Screen.cpp b/src/graphics/Screen.cpp index 04fe73e445..b56b0fdea9 100644 --- a/src/graphics/Screen.cpp +++ b/src/graphics/Screen.cpp @@ -19,8 +19,8 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ -#include "Screen.h" #include "../userPrefs.h" +#include "Screen.h" #include "PowerMon.h" #include "configuration.h" #if HAS_SCREEN diff --git a/variants/diy/platformio.ini b/variants/diy/platformio.ini index adc10de44c..2a55f7a791 100644 --- a/variants/diy/platformio.ini +++ b/variants/diy/platformio.ini @@ -7,7 +7,6 @@ build_flags = ${esp32_base.build_flags} -D DIY_V1 -D EBYTE_E22 - -D OLED_RU -I variants/diy/v1 ; Meshtastic DIY v1.1 new schematic based on ESP32-WROOM-32 & SX1262/SX1268 modules @@ -19,7 +18,6 @@ build_flags = ${esp32_base.build_flags} -D DIY_V1 -D EBYTE_E22 - -D OLED_RU -I variants/diy/v1_1 ; Port to Disaster Radio's ESP32-v3 Dev Board @@ -52,7 +50,6 @@ board_level = extra build_flags = ${nrf52840_base.build_flags} -I variants/diy/nrf52_promicro_diy_xtal -D NRF52_PROMICRO_DIY - -D OLED_RU -L "${platformio.libdeps_dir}/${this.__env__}/bsec2/src/cortex-m4/fpv4-sp-d16-hard" build_src_filter = ${nrf52_base.build_src_filter} +<../variants/diy/nrf52_promicro_diy_xtal> lib_deps = @@ -68,7 +65,6 @@ board_level = extra build_flags = ${nrf52840_base.build_flags} -I variants/diy/nrf52_promicro_diy_tcxo -D NRF52_PROMICRO_DIY - -D OLED_RU -L "${platformio.libdeps_dir}/${this.__env__}/bsec2/src/cortex-m4/fpv4-sp-d16-hard" build_src_filter = ${nrf52_base.build_src_filter} +<../variants/diy/nrf52_promicro_diy_tcxo> lib_deps = From 1777762e9dc7349d74a14949f63708914a1159c0 Mon Sep 17 00:00:00 2001 From: "4059082+panaceya@users.noreply.github.com" <4059082+panaceya@users.noreply.github.com> Date: Fri, 6 Sep 2024 09:59:49 +0300 Subject: [PATCH 2/7] use venv and python3 --- .github/actions/setup-base/action.yml | 12 +++++++++++- .github/workflows/build_native.yml | 14 ++++++++++++-- .github/workflows/build_raspbian.yml | 14 ++++++++++++-- .github/workflows/build_raspbian_armv7l.yml | 14 ++++++++++++-- 4 files changed, 47 insertions(+), 7 deletions(-) diff --git a/.github/actions/setup-base/action.yml b/.github/actions/setup-base/action.yml index 929c1df381..cb1b1d3309 100644 --- a/.github/actions/setup-base/action.yml +++ b/.github/actions/setup-base/action.yml @@ -28,11 +28,21 @@ runs: # with: # path: ~/.cache/pip # key: ${{ runner.os }}-pip + + - name: Create virtualenv + run: | + python3 -m venv ".env" + + - name: Activate virtualenv + run: | + . .venv/bin/activate + echo PATH=$PATH >> $GITHUB_ENV + echo VIRTUAL_ENV=$VIRTUAL_ENV >> $GITHUB_ENV - name: Upgrade python tools shell: bash run: | - python -m pip install --upgrade pip + python3 -m pip install --upgrade pip pip install -U --no-build-isolation --no-cache-dir "setuptools<72" pip install -U platformio adafruit-nrfutil --no-build-isolation pip install -U poetry --no-build-isolation diff --git a/.github/workflows/build_native.yml b/.github/workflows/build_native.yml index 51bef0c132..6bae39ec12 100644 --- a/.github/workflows/build_native.yml +++ b/.github/workflows/build_native.yml @@ -22,11 +22,21 @@ jobs: submodules: recursive ref: ${{github.event.pull_request.head.ref}} repository: ${{github.event.pull_request.head.repo.full_name}} - + + - name: Create virtualenv + run: | + python3 -m venv ".env" + + - name: Activate virtualenv + run: | + . .venv/bin/activate + echo PATH=$PATH >> $GITHUB_ENV + echo VIRTUAL_ENV=$VIRTUAL_ENV >> $GITHUB_ENV + - name: Upgrade python tools shell: bash run: | - python -m pip install --upgrade pip + python3 -m pip install --upgrade pip pip install -U platformio adafruit-nrfutil pip install -U meshtastic --pre diff --git a/.github/workflows/build_raspbian.yml b/.github/workflows/build_raspbian.yml index 1fd8fad307..2e9423c6d3 100644 --- a/.github/workflows/build_raspbian.yml +++ b/.github/workflows/build_raspbian.yml @@ -22,11 +22,21 @@ jobs: submodules: recursive ref: ${{github.event.pull_request.head.ref}} repository: ${{github.event.pull_request.head.repo.full_name}} - + + - name: Create virtualenv + run: | + python3 -m venv ".env" + + - name: Activate virtualenv + run: | + . .venv/bin/activate + echo PATH=$PATH >> $GITHUB_ENV + echo VIRTUAL_ENV=$VIRTUAL_ENV >> $GITHUB_ENV + - name: Upgrade python tools shell: bash run: | - python -m pip install --upgrade pip + python3 -m pip install --upgrade pip pip install -U platformio adafruit-nrfutil pip install -U meshtastic --pre diff --git a/.github/workflows/build_raspbian_armv7l.yml b/.github/workflows/build_raspbian_armv7l.yml index 39b297d1b1..38b56025dc 100644 --- a/.github/workflows/build_raspbian_armv7l.yml +++ b/.github/workflows/build_raspbian_armv7l.yml @@ -22,11 +22,21 @@ jobs: submodules: recursive ref: ${{github.event.pull_request.head.ref}} repository: ${{github.event.pull_request.head.repo.full_name}} - + + - name: Create virtualenv + run: | + python3 -m venv ".env" + + - name: Activate virtualenv + run: | + . .venv/bin/activate + echo PATH=$PATH >> $GITHUB_ENV + echo VIRTUAL_ENV=$VIRTUAL_ENV >> $GITHUB_ENV + - name: Upgrade python tools shell: bash run: | - python -m pip install --upgrade pip + python3 -m pip install --upgrade pip pip install -U platformio adafruit-nrfutil pip install -U meshtastic --pre From af8fa133f46b9d515677baa18b3f1ae9c68b1372 Mon Sep 17 00:00:00 2001 From: "4059082+panaceya@users.noreply.github.com" <4059082+panaceya@users.noreply.github.com> Date: Fri, 6 Sep 2024 09:59:49 +0300 Subject: [PATCH 3/7] use venv and python3 --- .github/actions/setup-base/action.yml | 12 +++++++++++- .github/workflows/build_native.yml | 14 ++++++++++++-- .github/workflows/build_raspbian.yml | 14 ++++++++++++-- .github/workflows/build_raspbian_armv7l.yml | 14 ++++++++++++-- 4 files changed, 47 insertions(+), 7 deletions(-) diff --git a/.github/actions/setup-base/action.yml b/.github/actions/setup-base/action.yml index 929c1df381..cb1b1d3309 100644 --- a/.github/actions/setup-base/action.yml +++ b/.github/actions/setup-base/action.yml @@ -28,11 +28,21 @@ runs: # with: # path: ~/.cache/pip # key: ${{ runner.os }}-pip + + - name: Create virtualenv + run: | + python3 -m venv ".env" + + - name: Activate virtualenv + run: | + . .venv/bin/activate + echo PATH=$PATH >> $GITHUB_ENV + echo VIRTUAL_ENV=$VIRTUAL_ENV >> $GITHUB_ENV - name: Upgrade python tools shell: bash run: | - python -m pip install --upgrade pip + python3 -m pip install --upgrade pip pip install -U --no-build-isolation --no-cache-dir "setuptools<72" pip install -U platformio adafruit-nrfutil --no-build-isolation pip install -U poetry --no-build-isolation diff --git a/.github/workflows/build_native.yml b/.github/workflows/build_native.yml index 51bef0c132..6bae39ec12 100644 --- a/.github/workflows/build_native.yml +++ b/.github/workflows/build_native.yml @@ -22,11 +22,21 @@ jobs: submodules: recursive ref: ${{github.event.pull_request.head.ref}} repository: ${{github.event.pull_request.head.repo.full_name}} - + + - name: Create virtualenv + run: | + python3 -m venv ".env" + + - name: Activate virtualenv + run: | + . .venv/bin/activate + echo PATH=$PATH >> $GITHUB_ENV + echo VIRTUAL_ENV=$VIRTUAL_ENV >> $GITHUB_ENV + - name: Upgrade python tools shell: bash run: | - python -m pip install --upgrade pip + python3 -m pip install --upgrade pip pip install -U platformio adafruit-nrfutil pip install -U meshtastic --pre diff --git a/.github/workflows/build_raspbian.yml b/.github/workflows/build_raspbian.yml index 1fd8fad307..2e9423c6d3 100644 --- a/.github/workflows/build_raspbian.yml +++ b/.github/workflows/build_raspbian.yml @@ -22,11 +22,21 @@ jobs: submodules: recursive ref: ${{github.event.pull_request.head.ref}} repository: ${{github.event.pull_request.head.repo.full_name}} - + + - name: Create virtualenv + run: | + python3 -m venv ".env" + + - name: Activate virtualenv + run: | + . .venv/bin/activate + echo PATH=$PATH >> $GITHUB_ENV + echo VIRTUAL_ENV=$VIRTUAL_ENV >> $GITHUB_ENV + - name: Upgrade python tools shell: bash run: | - python -m pip install --upgrade pip + python3 -m pip install --upgrade pip pip install -U platformio adafruit-nrfutil pip install -U meshtastic --pre diff --git a/.github/workflows/build_raspbian_armv7l.yml b/.github/workflows/build_raspbian_armv7l.yml index 39b297d1b1..38b56025dc 100644 --- a/.github/workflows/build_raspbian_armv7l.yml +++ b/.github/workflows/build_raspbian_armv7l.yml @@ -22,11 +22,21 @@ jobs: submodules: recursive ref: ${{github.event.pull_request.head.ref}} repository: ${{github.event.pull_request.head.repo.full_name}} - + + - name: Create virtualenv + run: | + python3 -m venv ".env" + + - name: Activate virtualenv + run: | + . .venv/bin/activate + echo PATH=$PATH >> $GITHUB_ENV + echo VIRTUAL_ENV=$VIRTUAL_ENV >> $GITHUB_ENV + - name: Upgrade python tools shell: bash run: | - python -m pip install --upgrade pip + python3 -m pip install --upgrade pip pip install -U platformio adafruit-nrfutil pip install -U meshtastic --pre From 948ae932d7184f312d1cca2b18b936e8d09b8804 Mon Sep 17 00:00:00 2001 From: ThePanaceya <4059082+panaceya@users.noreply.github.com> Date: Fri, 6 Sep 2024 10:18:10 +0300 Subject: [PATCH 4/7] FIx env name --- .github/actions/setup-base/action.yml | 2 +- .github/workflows/build_raspbian.yml | 2 +- .github/workflows/build_raspbian_armv7l.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/actions/setup-base/action.yml b/.github/actions/setup-base/action.yml index cb1b1d3309..139bd78ff3 100644 --- a/.github/actions/setup-base/action.yml +++ b/.github/actions/setup-base/action.yml @@ -31,7 +31,7 @@ runs: - name: Create virtualenv run: | - python3 -m venv ".env" + python3 -m venv ".venv" - name: Activate virtualenv run: | diff --git a/.github/workflows/build_raspbian.yml b/.github/workflows/build_raspbian.yml index 2e9423c6d3..b4d804ab94 100644 --- a/.github/workflows/build_raspbian.yml +++ b/.github/workflows/build_raspbian.yml @@ -25,7 +25,7 @@ jobs: - name: Create virtualenv run: | - python3 -m venv ".env" + python3 -m venv ".venv" - name: Activate virtualenv run: | diff --git a/.github/workflows/build_raspbian_armv7l.yml b/.github/workflows/build_raspbian_armv7l.yml index 38b56025dc..3ee076a9fc 100644 --- a/.github/workflows/build_raspbian_armv7l.yml +++ b/.github/workflows/build_raspbian_armv7l.yml @@ -25,7 +25,7 @@ jobs: - name: Create virtualenv run: | - python3 -m venv ".env" + python3 -m venv ".venv" - name: Activate virtualenv run: | From 5281c3279eab94ecfccb10ccc01bec572c4b7ef7 Mon Sep 17 00:00:00 2001 From: ThePanaceya <4059082+panaceya@users.noreply.github.com> Date: Fri, 6 Sep 2024 10:26:18 +0300 Subject: [PATCH 5/7] fix env name in native --- .github/workflows/build_native.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build_native.yml b/.github/workflows/build_native.yml index 6bae39ec12..95f86fbdcf 100644 --- a/.github/workflows/build_native.yml +++ b/.github/workflows/build_native.yml @@ -25,7 +25,7 @@ jobs: - name: Create virtualenv run: | - python3 -m venv ".env" + python3 -m venv ".venv" - name: Activate virtualenv run: | From 4faab964827871a92b32c953eb6fa321ed9ecff5 Mon Sep 17 00:00:00 2001 From: ThePanaceya <4059082+panaceya@users.noreply.github.com> Date: Fri, 6 Sep 2024 10:46:28 +0300 Subject: [PATCH 6/7] FIX: add bash Required property is missing: shell --- .github/actions/setup-base/action.yml | 2 ++ .github/workflows/build_native.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.github/actions/setup-base/action.yml b/.github/actions/setup-base/action.yml index 139bd78ff3..9517a119ed 100644 --- a/.github/actions/setup-base/action.yml +++ b/.github/actions/setup-base/action.yml @@ -30,10 +30,12 @@ runs: # key: ${{ runner.os }}-pip - name: Create virtualenv + shell: bash run: | python3 -m venv ".venv" - name: Activate virtualenv + shell: bash run: | . .venv/bin/activate echo PATH=$PATH >> $GITHUB_ENV diff --git a/.github/workflows/build_native.yml b/.github/workflows/build_native.yml index 95f86fbdcf..da30ba4d3f 100644 --- a/.github/workflows/build_native.yml +++ b/.github/workflows/build_native.yml @@ -24,10 +24,12 @@ jobs: repository: ${{github.event.pull_request.head.repo.full_name}} - name: Create virtualenv + shell: bash run: | python3 -m venv ".venv" - name: Activate virtualenv + shell: bash run: | . .venv/bin/activate echo PATH=$PATH >> $GITHUB_ENV From 5f5d1d7931f77432430760485a281f9f595990f7 Mon Sep 17 00:00:00 2001 From: ThePanaceya Date: Sat, 21 Sep 2024 15:28:50 +0300 Subject: [PATCH 7/7] Use custom userPrefs.h --- .github/actions/setup-base/action.yml | 29 +++++++++++++++++ .github/workflows/build_esp32.yml | 2 ++ .github/workflows/build_esp32_c3.yml | 2 ++ .github/workflows/build_esp32_s3.yml | 2 ++ .github/workflows/build_native.yml | 11 ++++++- .github/workflows/build_nrf52.yml | 2 ++ .github/workflows/build_raspbian.yml | 8 ++++- .github/workflows/build_raspbian_armv7l.yml | 8 ++++- .github/workflows/build_rpi2040.yml | 2 ++ .github/workflows/build_stm32.yml | 2 ++ .github/workflows/main_matrix.yml | 36 +++++++++++++++++++-- 11 files changed, 99 insertions(+), 5 deletions(-) diff --git a/.github/actions/setup-base/action.yml b/.github/actions/setup-base/action.yml index 9517a119ed..b1ad77de19 100644 --- a/.github/actions/setup-base/action.yml +++ b/.github/actions/setup-base/action.yml @@ -11,6 +11,23 @@ runs: ref: ${{github.event.pull_request.head.ref}} repository: ${{github.event.pull_request.head.repo.full_name}} + - name: Testing userPrefs.h + shell: bash + run: | + echo $USER_PREFS + env: + USER_PREFS: ${{ inputs.USER_PREFS }} + if: ${{ env.USER_PREFS != '' }} + + - name: Getting custom userPrefs.h + uses: mobiledevops/secret-to-file-action@v1 + env: + USER_PREFS: ${{ inputs.USER_PREFS }} + if: ${{ inputs.USER_PREFS != '' }} + with: + base64-encoded-secret: ${{ inputs.USER_PREFS }} + filename: "userPrefs.h" + - name: Install dependencies shell: bash run: | @@ -29,6 +46,18 @@ runs: # path: ~/.cache/pip # key: ${{ runner.os }}-pip + - name: Create virtualenv + shell: bash + run: | + python3 -m venv ".venv" + + - name: Activate virtualenv + shell: bash + run: | + . .venv/bin/activate + echo PATH=$PATH >> $GITHUB_ENV + echo VIRTUAL_ENV=$VIRTUAL_ENV >> $GITHUB_ENV + - name: Create virtualenv shell: bash run: | diff --git a/.github/workflows/build_esp32.yml b/.github/workflows/build_esp32.yml index 4cbb4c7a42..7481aa08b4 100644 --- a/.github/workflows/build_esp32.yml +++ b/.github/workflows/build_esp32.yml @@ -15,6 +15,8 @@ jobs: - name: Build base id: base uses: ./.github/actions/setup-base + with: + USER_PREFS: ${{ secrets.USER_PREFS }} - name: Pull web ui uses: dsaltares/fetch-gh-release-asset@master diff --git a/.github/workflows/build_esp32_c3.yml b/.github/workflows/build_esp32_c3.yml index 07727d7115..d863e36ef9 100644 --- a/.github/workflows/build_esp32_c3.yml +++ b/.github/workflows/build_esp32_c3.yml @@ -17,6 +17,8 @@ jobs: - name: Build base id: base uses: ./.github/actions/setup-base + with: + USER_PREFS: ${{ secrets.USER_PREFS }} - name: Pull web ui uses: dsaltares/fetch-gh-release-asset@master diff --git a/.github/workflows/build_esp32_s3.yml b/.github/workflows/build_esp32_s3.yml index 10773833e6..5bace8488e 100644 --- a/.github/workflows/build_esp32_s3.yml +++ b/.github/workflows/build_esp32_s3.yml @@ -15,6 +15,8 @@ jobs: - name: Build base id: base uses: ./.github/actions/setup-base + with: + USER_PREFS: ${{ secrets.USER_PREFS }} - name: Pull web ui uses: dsaltares/fetch-gh-release-asset@master diff --git a/.github/workflows/build_native.yml b/.github/workflows/build_native.yml index 40c554ed7c..1f2d1d2a34 100644 --- a/.github/workflows/build_native.yml +++ b/.github/workflows/build_native.yml @@ -22,7 +22,16 @@ jobs: submodules: recursive ref: ${{github.event.pull_request.head.ref}} repository: ${{github.event.pull_request.head.repo.full_name}} - + + - name: Getting custom userPrefs.h + uses: mobiledevops/secret-to-file-action@v1 + env: + USER_PREFS: ${{ inputs.USER_PREFS }} + if: ${{ inputs.USER_PREFS != '' }} + with: + base64-encoded-secret: ${{ inputs.USER_PREFS }} + filename: "userPrefs.h" + - name: Create virtualenv shell: bash run: | diff --git a/.github/workflows/build_nrf52.yml b/.github/workflows/build_nrf52.yml index ac509a096a..55ee224449 100644 --- a/.github/workflows/build_nrf52.yml +++ b/.github/workflows/build_nrf52.yml @@ -15,6 +15,8 @@ jobs: - name: Build base id: base uses: ./.github/actions/setup-base + with: + USER_PREFS: ${{ secrets.USER_PREFS }} - name: Build NRF52 run: bin/build-nrf52.sh ${{ inputs.board }} diff --git a/.github/workflows/build_raspbian.yml b/.github/workflows/build_raspbian.yml index b4d804ab94..6d53107fd7 100644 --- a/.github/workflows/build_raspbian.yml +++ b/.github/workflows/build_raspbian.yml @@ -22,7 +22,13 @@ jobs: submodules: recursive ref: ${{github.event.pull_request.head.ref}} repository: ${{github.event.pull_request.head.repo.full_name}} - + + - name: Getting userPrefs.h + uses: mobiledevops/secret-to-file-action@v1 + with: + base64-encoded-secret: ${{ secrets.USER_PREFS }} + filename: "userPrefs.h" + - name: Create virtualenv run: | python3 -m venv ".venv" diff --git a/.github/workflows/build_raspbian_armv7l.yml b/.github/workflows/build_raspbian_armv7l.yml index 3ee076a9fc..4c86101125 100644 --- a/.github/workflows/build_raspbian_armv7l.yml +++ b/.github/workflows/build_raspbian_armv7l.yml @@ -22,7 +22,13 @@ jobs: submodules: recursive ref: ${{github.event.pull_request.head.ref}} repository: ${{github.event.pull_request.head.repo.full_name}} - + + - name: Getting userPrefs.h + uses: mobiledevops/secret-to-file-action@v1 + with: + base64-encoded-secret: ${{ secrets.USER_PREFS }} + filename: "userPrefs.h" + - name: Create virtualenv run: | python3 -m venv ".venv" diff --git a/.github/workflows/build_rpi2040.yml b/.github/workflows/build_rpi2040.yml index 6e258fe2aa..63f95aa416 100644 --- a/.github/workflows/build_rpi2040.yml +++ b/.github/workflows/build_rpi2040.yml @@ -15,6 +15,8 @@ jobs: - name: Build base id: base uses: ./.github/actions/setup-base + with: + USER_PREFS: ${{ secrets.USER_PREFS }} - name: Build Raspberry Pi 2040 run: ./bin/build-rpi2040.sh ${{ inputs.board }} diff --git a/.github/workflows/build_stm32.yml b/.github/workflows/build_stm32.yml index d13c52c8a1..21d3e12476 100644 --- a/.github/workflows/build_stm32.yml +++ b/.github/workflows/build_stm32.yml @@ -15,6 +15,8 @@ jobs: - name: Build base id: base uses: ./.github/actions/setup-base + with: + USER_PREFS: ${{ secrets.USER_PREFS }} - name: Build STM32 run: bin/build-stm32.sh ${{ inputs.board }} diff --git a/.github/workflows/main_matrix.yml b/.github/workflows/main_matrix.yml index be09c24b28..514d58039f 100644 --- a/.github/workflows/main_matrix.yml +++ b/.github/workflows/main_matrix.yml @@ -5,14 +5,20 @@ name: CI on: # # Triggers the workflow on push but only for the master branch push: - branches: [master, develop] + branches: + - master + - develop + - mymesh paths-ignore: - "**.md" - version.properties # Note: This is different from "pull_request". Need to specify ref when doing checkouts. pull_request_target: - branches: [master, develop] + branches: + - master + - develop + - mymesh paths-ignore: - "**.md" #- "**.yml" @@ -30,6 +36,24 @@ jobs: - id: checkout uses: actions/checkout@v4 name: Checkout base + + - name: Getting userPrefs.h + uses: mobiledevops/secret-to-file-action@v1 + env: + USER_PREFS: ${{ secrets.USER_PREFS }} + if: ${{ env.USER_PREFS != '' }} + with: + base64-encoded-secret: ${{ secrets.USER_PREFS }} + filename: "userPrefs.h" + + - name: Testing userPrefs.h + shell: bash + run: | + echo $USER_PREFS + env: + USER_PREFS: ${{ secrets.USER_PREFS }} + if: ${{ env.USER_PREFS != '' }} + - id: jsonStep run: | TARGETS=$(./bin/generate_ci_matrix.py ${{matrix.arch}}) @@ -65,6 +89,7 @@ jobs: fail-fast: false matrix: ${{ fromJson(needs.setup.outputs.esp32) }} uses: ./.github/workflows/build_esp32.yml + secrets: inherit with: board: ${{ matrix.board }} @@ -74,6 +99,7 @@ jobs: fail-fast: false matrix: ${{ fromJson(needs.setup.outputs.esp32s3) }} uses: ./.github/workflows/build_esp32_s3.yml + secrets: inherit with: board: ${{ matrix.board }} @@ -83,6 +109,7 @@ jobs: fail-fast: false matrix: ${{ fromJson(needs.setup.outputs.esp32c3) }} uses: ./.github/workflows/build_esp32_c3.yml + secrets: inherit with: board: ${{ matrix.board }} @@ -92,6 +119,7 @@ jobs: fail-fast: false matrix: ${{ fromJson(needs.setup.outputs.nrf52840) }} uses: ./.github/workflows/build_nrf52.yml + secrets: inherit with: board: ${{ matrix.board }} @@ -101,6 +129,7 @@ jobs: fail-fast: false matrix: ${{ fromJson(needs.setup.outputs.rp2040) }} uses: ./.github/workflows/build_rpi2040.yml + secrets: inherit with: board: ${{ matrix.board }} @@ -110,17 +139,20 @@ jobs: fail-fast: false matrix: ${{ fromJson(needs.setup.outputs.stm32) }} uses: ./.github/workflows/build_stm32.yml + secrets: inherit with: board: ${{ matrix.board }} package-raspbian: uses: ./.github/workflows/package_raspbian.yml + secrets: inherit package-raspbian-armv7l: uses: ./.github/workflows/package_raspbian_armv7l.yml package-native: uses: ./.github/workflows/package_amd64.yml + secrets: inherit after-checks: runs-on: ubuntu-latest