Skip to content

Commit

Permalink
testing dynamic matrix for esp-idf versions
Browse files Browse the repository at this point in the history
  • Loading branch information
tobozo committed Dec 19, 2023
1 parent d116413 commit 3c7c2bf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/scripts/esp-idf-versions.php
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,8 @@
}

// add hardcoded versions
$idf_fqbns[] = 'esp32@v4.1.4';
$idf_fqbns[] = 'esp32@v4.3.6';
$idf_fqbns[] = 'esp32@4.1.4';
$idf_fqbns[] = 'esp32@4.3.6';

$json_array = [ "esp-idf-fqbn" => $idf_fqbns ];

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/IDFBuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ jobs:
cd ~/esp
idf_fqbn="${{ matrix.esp-idf-fqbn }}"
idf_version=${idf_fqbn#*@}
if [ ! -d "./esp-idf/" ]; then git clone -b $idf_version --recursive ${{ needs.set_matrix.outputs.repo_url }} esp-idf; fi
if [ ! -d "./esp-idf/" ]; then git clone -b v$idf_version --recursive ${{ needs.set_matrix.outputs.repo_url }} esp-idf; fi
cd ~/esp/esp-idf
if [ ! -d "~/.espressif" ]; then ./install.sh; fi
Expand Down

0 comments on commit 3c7c2bf

Please sign in to comment.