Skip to content

Commit e22db85

Browse files
committed
ci: when testing, install python 3.12, required by zephyr now
Zephyr now requires python 3.12, so install this version when testing the SDK. Also updated old naming and install python dependencies. Signed-off-by: Anas Nashif <anas.nashif@intel.com>
1 parent 73a11dc commit e22db85

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -343,19 +343,19 @@ jobs:
343343
344344
if [ "${build_host_linux_x86_64}" == "y" ]; then
345345
MATRIX_TESTENVS+='{
346-
"name": "ubuntu-20.04-x86_64",
346+
"name": "ubuntu-24.04-x86_64",
347347
"runner": "zephyr-runner-v2-linux-x64-4xlarge",
348-
"container": "ghcr.io/zephyrproject-rtos/ci:master",
348+
"container": "ghcr.io/zephyrproject-rtos/ci:main",
349349
"bundle-host": "linux-x86_64",
350350
"bundle-archive": "tar.xz"
351351
},'
352352
fi
353353
354354
if [ "${build_host_linux_aarch64}" == "y" ]; then
355355
MATRIX_TESTENVS+='{
356-
"name": "ubuntu-20.04-aarch64",
356+
"name": "ubuntu-24.04-aarch64",
357357
"runner": "zephyr-runner-v2-linux-arm64-4xlarge",
358-
"container": "ghcr.io/zephyrproject-rtos/ci:master",
358+
"container": "ghcr.io/zephyrproject-rtos/ci:main",
359359
"bundle-host": "linux-aarch64",
360360
"bundle-archive": "tar.xz"
361361
},'
@@ -1310,12 +1310,11 @@ jobs:
13101310

13111311
steps:
13121312
- name: Set up Python
1313-
if: ${{ runner.os == 'Windows' }}
13141313
uses: actions/setup-python@v5
13151314
with:
1316-
# Force Python 3.10 because the twister is not compatible with a Python
1317-
# version lower than 3.8 on Windows.
1318-
python-version: '3.10'
1315+
# Force Python 3.12, which is the minimum Python version supported by
1316+
# Zephyr and intended to be used with Zephyr SDK.
1317+
python-version: '3.12'
13191318

13201319
- name: Set up test environment (Linux)
13211320
if: ${{ runner.os == 'Linux' }}
@@ -1511,6 +1510,8 @@ jobs:
15111510
# if running inside a virtual environment; otherwise, it is assumed
15121511
# that the host already provides all the required dependencies.
15131512
pip3 install -r ${ZEPHYR_ROOT}/scripts/requirements.txt
1513+
else
1514+
pip3 install -r ${ZEPHYR_ROOT}/scripts/requirements-actions.txt --require-hashes
15141515
fi
15151516
15161517
- name: Run test suites

0 commit comments

Comments
 (0)