ci: Use zephyr-runner to test linux-x86_64 distribution bundle

This commit updates the CI workflow to test the `linux-x86_64`
distribution bundle using the x86-64 zephyr-runner.

It also adds the installation steps for the missing packages that are
not installed by default on the zephyr-runner.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
This commit is contained in:
Stephanos Ioannidis 2022-11-24 08:04:11 +09:00
parent 2e3c763fd3
commit 8669d252b1
1 changed files with 7 additions and 3 deletions

View File

@ -286,7 +286,7 @@ jobs:
if [ "${build_host_linux_x86_64}" == "y" ]; then
MATRIX_TESTENVS+='{
"name": "ubuntu-20.04-x86_64",
"runner": "ubuntu-20.04",
"runner": "zephyr-runner-linux-x64-xlarge",
"container": "",
"bundle-host": "linux-x86_64",
"bundle-archive": "tar.xz"
@ -1242,10 +1242,14 @@ jobs:
sudo rm -rf ${GITHUB_WORKSPACE}/*
shopt -u dotglob
# Add CMake APT repository
wget https://apt.kitware.com/kitware-archive.sh
sudo bash kitware-archive.sh
# Install required system packages
sudo apt-get update
sudo apt-get install -y ccache device-tree-compiler dos2unix gperf \
jq ninja-build wget
sudo apt-get install -y ccache cmake device-tree-compiler dos2unix \
git gperf jq ninja-build wget
# Upgrade pip
python3 -m pip install --upgrade pip