Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions .github/workflows/arch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
# Get the Arch for the PR: arm, arm64, risc-v, xtensa, ...
- name: Get arch
id: get-arch
run: |
run: |

# If PR is Not Created or Modified: Build all targets
pr=${{github.event.pull_request.number}}
Expand Down Expand Up @@ -193,7 +193,7 @@ jobs:
# Fetch the board
board=$( echo "$boards" | jq ".[$i]" )
skip_build=0

# For "Arch / Board: arm": Build arm-01, arm-02, ...
if [[ "$arch_contains_arm" == "1" || "$board_contains_arm" == "1" ]]; then
if [[ "$board" != *"arm-"* ]]; then
Expand All @@ -211,7 +211,7 @@ jobs:
if [[ "$board" != *"risc-v-"* ]]; then
skip_build=1
fi

# For "Arch / Board: simulator": Build sim-01, sim-02
elif [[ "$arch_contains_sim" == "1" || "$board_contains_sim" == "1" ]]; then
if [[ "$board" != *"sim-"* ]]; then
Expand All @@ -223,24 +223,24 @@ jobs:
if [[ "$board" != *"other"* ]]; then
skip_build=1
fi

# For "Arch / Board: x86_64": Build x86_64-01
elif [[ "$arch_contains_x86_64" == "1" || "$board_contains_x86_64" == "1" ]]; then
if [[ "$board" != *"x86_64-"* ]]; then
skip_build=1
fi
# For "Arch / Board: xtensa": Build xtensa-01, xtensa-02

# For "Arch / Board: xtensa": Build xtensa-01, xtensa-02, xtensa-03
elif [[ "$arch_contains_xtensa" == "1" || "$board_contains_xtensa" == "1" ]]; then
if [[ "$board" != *"xtensa-"* ]]; then
skip_build=1
fi

# For Other Arch: Allow the build
else
echo Build by default: $board
fi

# Add the board to the selected builds
if [[ "$skip_build" == "0" ]]; then
echo Add $board to selected_builds
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ jobs:
[
"arm-01", "risc-v-01", "sim-01", "xtensa-01", "arm64-01", "x86_64-01", "other",
"arm-02", "risc-v-02", "sim-02", "xtensa-02",
"arm-03", "risc-v-03", "sim-03",
"arm-03", "risc-v-03", "sim-03", "xtensa-03",
"arm-04", "risc-v-04",
"arm-05", "risc-v-05",
"arm-06", "risc-v-06",
Expand Down
1 change: 1 addition & 0 deletions tools/ci/testlist/xtensa-00.dat
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/xtensa/esp32s3/esp32s3-devkit/configs/python
8 changes: 0 additions & 8 deletions tools/ci/testlist/xtensa-02.dat
Original file line number Diff line number Diff line change
@@ -1,9 +1 @@
/xtensa/esp32s2

/xtensa/esp32s3

# Building Python takes too long to be tested automatically
-esp32s3-devkit:python

# We do not set ESPTOOL_BINDIR in this build
-esp32s3-devkit:qemu_openeth
8 changes: 7 additions & 1 deletion tools/ci/testlist/xtensa-03.dat
Original file line number Diff line number Diff line change
@@ -1 +1,7 @@
/xtensa/esp32s3/esp32s3-devkit/configs/python
/xtensa/esp32s3

# Building Python takes too long to be tested automatically
-esp32s3-devkit:python

# We do not set ESPTOOL_BINDIR in this build
-esp32s3-devkit:qemu_openeth
Loading