Skip to content

Commit bbf1c33

Browse files
committed
ci(macos): enable-x11
Signed-off-by: Rui Chen <rui@chenrui.dev>
1 parent a9a6d15 commit bbf1c33

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/macos.yml

+7-2
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,19 @@ jobs:
2323
python-version: '3.12'
2424
- name: Install dependencies
2525
run: |
26-
brew install bison doxygen graphviz libxml2 meson ninja pyyaml
26+
brew install bison doxygen graphviz libxml2 meson ninja pyyaml \
27+
libx11 libxcb xkeyboardconfig
2728
brew link bison --force
2829
env:
2930
HOMEBREW_NO_AUTO_UPDATE: 1
3031
HOMEBREW_NO_INSTALL_CLEANUP: 1
3132
- name: Setup
3233
run: |
33-
PATH="/usr/local/opt/bison/bin:${PATH}" meson setup -Denable-wayland=false -Denable-x11=false build
34+
PATH="/usr/local/opt/bison/bin:${PATH}" \
35+
meson setup -Denable-wayland=false \
36+
-Dxkb-config-root=#{HOMEBREW_PREFIX}/share/X11/xkb \
37+
-Dx-locale-root=#{HOMEBREW_PREFIX}/share/X11/locale \
38+
build
3439
- name: Build
3540
run: |
3641
PATH="/usr/local/opt/bison/bin:${PATH}" meson compile -C build

0 commit comments

Comments
 (0)