Skip to content

Commit d44c210

Browse files
committed
[WIP] linux_and_macos.yml: Patch ax_check_gl.m4 on deman to fix macOS CI
1 parent 1b5cefb commit d44c210

File tree

1 file changed

+11
-16
lines changed

1 file changed

+11
-16
lines changed

.github/workflows/linux_and_macos.yml

Lines changed: 11 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -67,22 +67,17 @@ jobs:
6767
if: runner.os == 'macOS'
6868
run: |-
6969
brew install \
70-
autoconf-archive \
71-
automake \
72-
bison \
73-
doxygen \
74-
flex \
75-
gettext \
76-
graphviz \
77-
gstreamer \
78-
gtk+3 \
79-
jack \
80-
libpng \
81-
luajit \
82-
orc \
83-
pkg-config \
84-
portaudio \
85-
sdl12-compat
70+
autoconf-archive
71+
72+
# Find and patch ax_check_gl.m4 as needed
73+
# https://github.com/Homebrew/homebrew-core/issues/202234
74+
set -x -o pipefail
75+
ax_check_gl_m4=/usr/local/Cellar/autoconf-archive/2024.10.16/share/aclocal/ax_check_gl.m4
76+
if [[ -e "${ax_check_gl_m4}" ]] && ! grep -qF '[m4_fatal' "${ax_check_gl_m4}" ; then
77+
wget -O- https://github.com/autoconf-archive/autoconf-archive/commit/427e226a2fe3980388abffd6de25ed6b9591cce3.patch \
78+
| sudo patch -N "${ax_check_gl_m4}"
79+
fi
80+
exit 1 # TODO
8681
8782
- name: Setting dynamic environment variables
8883
run: |-

0 commit comments

Comments
 (0)