Skip to content

Install XQuartz for macOS smoke tests - #14904

Draft
cderv with Copilot wants to merge 2 commits into
mainfrom
copilot/fix-macos-ci-smoke-test-failures
Draft

cderv with Copilot wants to merge 2 commits into
mainfrom
copilot/fix-macos-ci-smoke-test-failures

Conversation

Copilot AI commented Sep 17, 2026

Copy link
Copy Markdown

Welcome to the quarto GitHub repo!

We are always happy to hear feedback from our users.

To file a pull request, please follow these instructions : https://github.com/quarto-dev/quarto-cli?tab=contributing-ov-file

Also, please complete and keep the checklist below.

Description

macOS smoke runs were failing in R graphics paths because the CRAN R runtime could not load Cairo/X11 libraries (libXrender.1.dylib). This change installs XQuartz in the reusable smoke-test workflow so macOS jobs have the X11 runtime required for R-rendered figures and tables.

  • Scope

    • Update only .github/workflows/test-smokes.yml
    • Leave built-version orchestration unchanged; it continues to consume the reusable smoke workflow
  • Workflow change

    • Extend the existing macOS system dependency step to install XQuartz before smoke rendering
    • Keep the existing poppler and librsvg installs in place
  • Effect

    • Restores the macOS smoke environment expected by R Cairo/X11 graphics
    • Addresses the failed to load cairo DLL / missing /opt/X11/lib/libXrender.1.dylib failure mode
```yaml
- name: Install missing system deps (macOS)
  if: runner.os == 'macOS'
  run: |
    brew install --cask xquartz
    brew install poppler librsvg
```

Checklist

I have (if applicable):

  • referenced the GitHub issue this PR closes
  • updated the appropriate changelog in the PR
  • ensured the present test suite passes
  • added new tests
  • created a separate documentation PR in Quarto's website repo and linked it to this PR

@posit-snyk-bot

posit-snyk-bot commented Sep 17, 2026

Copy link
Copy Markdown
Collaborator

Snyk checks have passed. No issues have been found so far.

Status Scan Engine Critical High Medium Low Total (0)
Open Source Security 0 0 0 0 0 issues
Licenses 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

Co-authored-by: cderv <6791940+cderv@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix macOS CI smoke-test failures due to missing XQuartz dependencies Install XQuartz for macOS smoke tests Sep 17, 2026
Copilot AI requested a review from cderv September 17, 2026 15:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants