sof/.github/workflows
Laurentiu Mihalcea 76e650e565 .github/zephyr: switch to python 3.10 on windows
Zephyr commit b3b8360f3993 ("west: runners: Add `west rtt` command
with pyocd implementation") adds some functionality to the
west commands making use of the pipe ("|") operator for
function return type hinting. As per PEP 604 [1], this operator
can be used for writing union types starting from python 3.10.
Since the SOF windows builds use python 3.8 this leads to
the CI failing.

To fix this, switch to using python 3.10. This is not a
problem for Linux CI jobs as they already use python 3.10.

The following is a snippet of a failed windows CI job
regarding this:

File "D:\a\sof\sof\workspace\zephyr\scripts/west_commands\runners\core.py",
line 780, in ZephyrBinaryRunner

    def get_rtt_address(self) -> int | None:

    TypeError: unsupported operand type(s) for |: 'type' and 'NoneType'

[1]: https://peps.python.org/pep-0604/

Signed-off-by: Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com>
2024-09-13 12:52:32 +03:00
..
SPDX-README.md .github/SPDX-README.md: clarify .c/.h difference and applicability 2023-01-27 10:59:24 +00:00
build_all.yml .github/ipc_fuzzer: use new -i 3 and -i 4 fuzz.sh options 2024-09-02 16:48:32 +01:00
checkpatch_list.sh github: add new SPDX-README.md and show it when checkpatch fails 2023-01-11 17:10:43 +00:00
codestyle.yml .github: use new checkout v4 option "filter: tree:0" 2024-01-29 16:45:19 +02:00
daily-tests.yml .github: run all workflows in daily tests 2023-12-18 15:48:21 +02:00
installer.yml installer: replace imx8 with imx8m 2024-02-16 21:48:10 +02:00
ipc_fuzzer.yml .github/ipc_fuzzer: use new -i 3 and -i 4 fuzz.sh options 2024-09-02 16:48:32 +01:00
llext.yml app: drop "overlay" from the name of a few extra configs 2024-09-09 10:16:39 +01:00
pull-request.yml pull-request.yml: add mt8188 to gcc-build-only 2024-05-22 15:24:39 +01:00
repro-build.yml .github: use new checkout v4 option "filter: tree:0" 2024-01-29 16:45:19 +02:00
rimage.yml .github: make all workflows callable and dispatchable 2023-12-18 15:48:21 +02:00
shallowfetchPRcommits.sh
sparse-zephyr.yml .github/sparse: switch sparse version back to the upstream main branch 2024-01-04 15:32:05 +00:00
testbench.yml .github: fallback on rebuild-testbench -j 1 when failing 2024-01-30 19:46:35 +02:00
tools.yml .github/tools: add missing -GNinja when building ALSA plugin 2024-05-03 15:01:53 +03:00
unit-tests.yml .github: use new checkout v4 option "filter: tree:0" 2024-01-29 16:45:19 +02:00
zephyr.yml .github/zephyr: switch to python 3.10 on windows 2024-09-13 12:52:32 +03:00