Skip to content

Commit 5015469

Browse files
committed
ci: Remove legacy GitHub-hosted macOS runner setup tasks
This commit removes the legacy code that installs the additional packages that are not available in GitHub-hosted macOS runners. This was necessary back when the zephyr-runner did not have macOS support and the macOS toolchain build workflows had to run on the GItHub-hosted runners. That is no longer the case and the SDK CI workflow, in its current state, is no longer compatible with the GitHub-hosted macOS runners; so, there is no point in keeping this anymore. Signed-off-by: Stephanos Ioannidis <[email protected]>
1 parent 8696007 commit 5015469

File tree

1 file changed

+0
-25
lines changed

1 file changed

+0
-25
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -522,13 +522,6 @@ jobs:
522522
-volname Workspace -type SPARSE -size 150g -fs HFSX
523523
hdiutil mount ${RUNNER_TEMP}/Workspace.sparseimage -mountpoint ${WORKSPACE}
524524
525-
# Install required dependencies if running inside a GitHub-hosted runner
526-
# (self-hosted runners are expected to provide all required dependencies)
527-
if [[ "${{ matrix.host.runner }}" =~ ^macos.* ]]; then
528-
brew install autoconf automake bash binutils boost coreutils gawk \
529-
gnu-sed gnu-tar help2man meson ncurses ninja pkg-config
530-
fi
531-
532525
# Install Python 3.10 (temporary until the sdk-build-macos image is
533526
# updated)
534527
brew install [email protected]
@@ -1132,12 +1125,6 @@ jobs:
11321125
- name: Set up build environment (macOS)
11331126
if: ${{ runner.os == 'macOS' }}
11341127
run: |
1135-
# Install required dependencies if running inside a GitHub-hosted runner
1136-
# (self-hosted runners are expected to provide all required dependencies)
1137-
if [[ "${{ matrix.host.runner }}" =~ ^macos.* ]]; then
1138-
brew install gnu-tar
1139-
fi
1140-
11411128
# Set environment variables
11421129
echo "TAR=gtar" >> $GITHUB_ENV
11431130
@@ -1212,12 +1199,6 @@ jobs:
12121199
- name: Set up build environment (macOS)
12131200
if: ${{ runner.os == 'macOS' }}
12141201
run: |
1215-
# Install required dependencies if running inside a GitHub-hosted runner
1216-
# (self-hosted runners are expected to provide all required dependencies)
1217-
if [[ "${{ matrix.host.runner }}" =~ ^macos.* ]]; then
1218-
brew install coreutils gnu-tar jq
1219-
fi
1220-
12211202
# Set environment variables
12221203
echo "TAR=gtar" >> $GITHUB_ENV
12231204
@@ -1469,12 +1450,6 @@ jobs:
14691450
- name: Set up test environment (macOS)
14701451
if: ${{ runner.os == 'macOS' }}
14711452
run: |
1472-
# Install required dependencies if running inside a GitHub-hosted runner
1473-
# (self-hosted runners are expected to provide all required dependencies)
1474-
if [[ "${{ matrix.host.runner }}" =~ ^macos.* ]]; then
1475-
brew install ccache coreutils dos2unix dtc gperf jq ninja wget
1476-
fi
1477-
14781453
# Set environment variables
14791454
echo "TAR=gtar" >> $GITHUB_ENV
14801455
echo "ARTIFACT_ROOT=${GITHUB_WORKSPACE}/artifacts" >> $GITHUB_ENV

0 commit comments

Comments
 (0)