File tree Expand file tree Collapse file tree 1 file changed +18
-4
lines changed Expand file tree Collapse file tree 1 file changed +18
-4
lines changed Original file line number Diff line number Diff line change 32
32
run : |
33
33
npm install
34
34
python3 -m pip install --upgrade pip six
35
- brew install cmake
36
- [ ! -f /usr/local/bin/cmake ] && ln -s /usr/local/bin/cmake $(which cmake) || true
35
+ # Ensure CMake is available without conflicting with pinned Homebrew formula
36
+ if ! command -v cmake >/dev/null; then
37
+ brew list cmake || brew install cmake
38
+ fi
39
+ # Some scripts expect cmake at /usr/local/bin; create a shim if needed
40
+ if [ ! -x /usr/local/bin/cmake ]; then
41
+ sudo mkdir -p /usr/local/bin
42
+ sudo ln -sf "$(command -v cmake)" /usr/local/bin/cmake
43
+ fi
37
44
- name : Get Current Version
38
45
run : |
39
46
echo NPM_VERSION=$(node -e "console.log(require('./package.json').version);") >> $GITHUB_ENV
79
86
run : |
80
87
npm install
81
88
python3 -m pip install --upgrade pip six
82
- brew install cmake
83
- [ ! -f /usr/local/bin/cmake ] && ln -s /usr/local/bin/cmake $(which cmake) || true
89
+ # Ensure CMake is available without conflicting with pinned Homebrew formula
90
+ if ! command -v cmake >/dev/null; then
91
+ brew list cmake || brew install cmake
92
+ fi
93
+ # Some scripts expect cmake at /usr/local/bin; create a shim if needed
94
+ if [ ! -x /usr/local/bin/cmake ]; then
95
+ sudo mkdir -p /usr/local/bin
96
+ sudo ln -sf "$(command -v cmake)" /usr/local/bin/cmake
97
+ fi
84
98
brew install chargepoint/xcparse/xcparse
85
99
npm install -g @edusperoni/junit-cli-report-viewer verify-junit-xml
86
100
- name : Prepare test folder
You can’t perform that action at this time.
0 commit comments