Skip to content

Commit c026132

Browse files
authored
GitHub Actions: run "brew link --overwrite [email protected]" if installing libxml2 fails (#2803)
Signed-off-by: Masatake YAMATO <[email protected]>
1 parent 1460942 commit c026132

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

.github/workflows/testing-mac.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,11 @@ jobs:
2626
- name: update package information
2727
run: brew update
2828
- name: install tools and libraries
29-
# gdb and docutils need [email protected].
30-
# [email protected] is not installed expectedly via gdb or docutils.
31-
# Therefore we install libxml2 before installing before
32-
# installing gdb and docutils. [email protected] is installed well
33-
# via libxml2.
3429
run: |
35-
brew install autoconf automake pkg-config jansson libyaml bash
36-
brew install libxml2 || brew link --overwrite libxml2
37-
brew install gdb docutils
30+
# libxml2 requires [email protected].
31+
# However, the request is not satisfied with just installing libxml2.
32+
brew install libxml2 || brew link --overwrite [email protected]
33+
brew install autoconf automake pkg-config jansson libyaml bash gdb docutils
3834
- name: autogen.sh
3935
run: ./autogen.sh
4036
- name: report the version of cc

0 commit comments

Comments
 (0)