|
61 | 61 | run: | |
62 | 62 | # A workaround for "The `brew link` step did not complete successfully" error. |
63 | 63 | brew install python@3 || brew link --overwrite python@3 |
64 | | - brew install autoconf automake libtool pkg-config gnu-getopt ccache boost libevent miniupnpc libnatpmp zeromq qt@5 qrencode |
65 | | - # Ensure Qt5 is properly linked |
66 | | - brew link --force qt@5 |
| 64 | + brew install autoconf automake libtool pkg-config gnu-getopt ccache boost libevent miniupnpc libnatpmp zeromq qt@5 qrencode || true |
| 65 | + # Force link all required tools |
| 66 | + brew link --force --overwrite autoconf automake libtool ccache boost miniupnpc libnatpmp zeromq qt@5 qrencode || true |
67 | 67 |
|
68 | 68 | - name: Set Ccache directory |
69 | 69 | run: echo "CCACHE_DIR=${RUNNER_TEMP}/ccache_dir" >> "$GITHUB_ENV" |
@@ -118,7 +118,8 @@ jobs: |
118 | 118 |
|
119 | 119 | - name: Configure and Build |
120 | 120 | run: | |
121 | | - # Set Qt5 paths for macOS |
| 121 | + # Set paths for macOS tools |
| 122 | + export PATH="$(brew --prefix)/bin:$(brew --prefix)/opt/automake/bin:$(brew --prefix)/opt/autoconf/bin:$(brew --prefix)/opt/libtool/bin:$PATH" |
122 | 123 | export Qt5_DIR="$(brew --prefix qt@5)" |
123 | 124 | export PATH="$Qt5_DIR/bin:$PATH" |
124 | 125 | export PKG_CONFIG_PATH="$Qt5_DIR/lib/pkgconfig:$PKG_CONFIG_PATH" |
@@ -197,9 +198,9 @@ jobs: |
197 | 198 | run: | |
198 | 199 | # A workaround for "The `brew link` step did not complete successfully" error. |
199 | 200 | brew install python@3 || brew link --overwrite python@3 |
200 | | - brew install autoconf automake libtool pkg-config gnu-getopt ccache boost libevent miniupnpc libnatpmp zeromq qt@5 qrencode |
201 | | - # Ensure Qt5 is properly linked |
202 | | - brew link --force qt@5 |
| 201 | + brew install autoconf automake libtool pkg-config gnu-getopt ccache boost libevent miniupnpc libnatpmp zeromq qt@5 qrencode || true |
| 202 | + # Force link all required tools |
| 203 | + brew link --force --overwrite autoconf automake libtool ccache boost miniupnpc libnatpmp zeromq qt@5 qrencode || true |
203 | 204 |
|
204 | 205 | - name: Set Ccache directory |
205 | 206 | run: echo "CCACHE_DIR=${RUNNER_TEMP}/ccache_dir" >> "$GITHUB_ENV" |
@@ -254,7 +255,8 @@ jobs: |
254 | 255 |
|
255 | 256 | - name: Configure and Build |
256 | 257 | run: | |
257 | | - # Set Qt5 paths for macOS |
| 258 | + # Set paths for macOS tools |
| 259 | + export PATH="$(brew --prefix)/bin:$(brew --prefix)/opt/automake/bin:$(brew --prefix)/opt/autoconf/bin:$(brew --prefix)/opt/libtool/bin:$PATH" |
258 | 260 | export Qt5_DIR="$(brew --prefix qt@5)" |
259 | 261 | export PATH="$Qt5_DIR/bin:$PATH" |
260 | 262 | export PKG_CONFIG_PATH="$Qt5_DIR/lib/pkgconfig:$PKG_CONFIG_PATH" |
|
0 commit comments