Skip to content

Commit 526ac94

Browse files
authored
glci: install XQuartz on macOS (#7319)
This should avoid the early test failure due to a warning: unable to load shared object '/Library/Frameworks/R.framework/Resources/modules//R_X11.so': dlopen(/Library/Frameworks/R.framework/Resources/modules//R_X11.so, 0x0006): Library not loaded: /opt/X11/lib/libSM.6.dylib
1 parent 6f225f3 commit 526ac94

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.gitlab-ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -314,6 +314,8 @@ test-win-old:
314314
tags:
315315
- saas-macos-medium-m1
316316
before_script:
317+
- curl -LO https://github.com/XQuartz/XQuartz/releases/download/XQuartz-2.8.5/XQuartz-2.8.5.pkg
318+
- sudo installer -pkg "$(ls -1t XQuartz-*.pkg | head -n 1)" -target /
317319
- curl -O $R_BIN
318320
- sudo installer -pkg "$(ls -1t R-*-arm64.pkg | head -n 1)" -target /
319321
- sudo Rscript -e "source('https://mac.R-project.org/bin/install.R'); install.libs('gettext')"

0 commit comments

Comments
 (0)