Skip to content

Commit 2788b42

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

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/linux_and_macos.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,15 @@ jobs:
8484
portaudio \
8585
sdl12-compat
8686
87+
# Find and patch ax_check_gl.m4 as needed
88+
# https://github.com/Homebrew/homebrew-core/issues/202234
89+
set -x -o pipefail
90+
ax_check_gl_m4=/usr/local/Cellar/autoconf-archive/2024.10.16/share/aclocal/ax_check_gl.m4
91+
if [[ -e "${ax_check_gl_m4}" ]] && ! grep -qF '[m4_fatal' "${ax_check_gl_m4}" ; then
92+
wget -O- https://github.com/autoconf-archive/autoconf-archive/commit/427e226a2fe3980388abffd6de25ed6b9591cce3.patch \
93+
| sudo patch -N "${ax_check_gl_m4}"
94+
fi
95+
8796
- name: Setting dynamic environment variables
8897
run: |-
8998
set -x

0 commit comments

Comments
 (0)