Skip to content

Commit fd5b33a

Browse files
committed
ci: Use zephyr-runner to test macos-x86_64 distribution bundle
This commit updates the CI workflow to test the `macos-x86_64` distribution bundle using the x86-64 macOS zephyr-runner. Signed-off-by: Stephanos Ioannidis <[email protected]>
1 parent c59f916 commit fd5b33a

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ jobs:
306306
if [ "${build_host_macos_x86_64}" == "y" ]; then
307307
MATRIX_TESTENVS+='{
308308
"name": "macos-11-x86_64",
309-
"runner": "macos-11",
309+
"runner": "zephyr-runner-macos-arm64-2xlarge",
310310
"container": "",
311311
"bundle-host": "macos-x86_64",
312312
"bundle-archive": "tar.xz"
@@ -1238,7 +1238,7 @@ jobs:
12381238

12391239
steps:
12401240
- name: Set up Python
1241-
if: ${{ runner.os != 'Linux' }}
1241+
if: ${{ runner.os == 'Windows' }}
12421242
uses: actions/setup-python@v4
12431243
with:
12441244
# Force Python 3.10 because the twister is not compatible with a Python
@@ -1269,8 +1269,11 @@ jobs:
12691269
rm -rf ${GITHUB_WORKSPACE}/*
12701270
shopt -u dotglob
12711271
1272-
# Install required system packages
1273-
brew install ccache coreutils dos2unix dtc gperf jq ninja wget
1272+
# Install required dependencies if running inside a GitHub-hosted runner
1273+
# (self-hosted runners are expected to provide all required dependencies)
1274+
if [[ "${{ matrix.host.runner }}" =~ ^macos.* ]]; then
1275+
brew install ccache coreutils dos2unix dtc gperf jq ninja wget
1276+
fi
12741277
12751278
# Upgrade pip
12761279
sudo python3 -m pip install --upgrade pip

0 commit comments

Comments
 (0)