Skip to content

Commit

Permalink
Fix esp32 build job (#631)
Browse files Browse the repository at this point in the history
The change in the .github/workflows/build.yml file ensures that the esp-idf submodule is checked out to a specific commit (7380f96017424c7be5d8e3229bf81ceb0869cc54) using mbedTLS v3.5.0 before initiating the build process for ESP32. This guarantees consistency and reproducibility in the build environment.
  • Loading branch information
Danielius1922 authored May 31, 2024
1 parent 4dd98e5 commit 11a123a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,9 @@ jobs:
sudo apt install -y git wget flex bison gperf python3 python3-pip python3-setuptools python3-serial python3-click python3-cryptography python3-future python3-pyparsing python3-pyelftools cmake ninja-build ccache libffi-dev libssl-dev libusb-1.0-0
cd ./port/esp32
git clone --recursive -b release/v5.1 https://github.com/espressif/esp-idf.git
# checkout latest commit with mbedTLS v3.5.0
( cd esp-idf && git checkout 7380f96017424c7be5d8e3229bf81ceb0869cc54 )
( cd esp-idf && git submodule update --init --recursive )
./esp-idf/install.sh
. ./esp-idf/export.sh
idf.py ${{ matrix.args }} set-target esp32
Expand Down

0 comments on commit 11a123a

Please sign in to comment.