Skip to content

Fix CI failures on Fedora and macOS platforms#2

Draft
ybettan with Copilot wants to merge 3 commits into
masterfrom
copilot/fix-ci-failure-on-fedora-macos
Draft

Fix CI failures on Fedora and macOS platforms#2
ybettan with Copilot wants to merge 3 commits into
masterfrom
copilot/fix-ci-failure-on-fedora-macos

Conversation

Copilot AI commented Jul 14, 2026

Copy link
Copy Markdown

CI fails on macOS because Linux-only packages are in a global list that the macOS brew loop iterates over, and on Fedora because third-party apps requiring external repos (pinned to old Fedora versions) block the build.

Changes

  • Platform-scoped package lists: Moved Linux-only packages (xclip, pip, bugwarrior, cronie, gnome-tweaks, dev libraries, etc.) into an [[ ${OS} == "Linux" ]] conditional block, matching the existing pattern used for coreutils on Darwin
  • pip-based packages on macOS: Added pip3 install path for pynvim in the Darwin section instead of attempting brew install
  • Optional packages (non-fatal): Separated brave-browser, google-chrome-stable, and insync into an optionalPackages list with its own install loop—failures are reported as warnings but don't exit non-zero
# Before: all packages in flat global list, macOS tries to brew install everything
packages+=(gnome-tweaks)
packages+=(libevdev-devel)
packages+=(brave-browser)

# After: platform-aware scoping
if [[ ${OS} == "Linux" ]]; then
    packages+=(gnome-tweaks)
    packages+=(libevdev-devel)
    optionalPackages+=(brave-browser)
fi

Also removed a duplicate xclip entry and fixed a typo in a comment.

Copilot AI linked an issue Jul 14, 2026 that may be closed by this pull request
Copilot AI added 2 commits July 14, 2026 08:03
- Move Linux-only packages into OS==Linux conditional block so macOS
  doesn't try to brew install them
- Handle pynvim via pip3 on macOS instead of brew
- Separate third-party packages (brave-browser, google-chrome-stable,
  insync) into optional list that doesn't cause CI failure when their
  external repos are unavailable

Closes #1
Copilot AI changed the title [WIP] Fix CI failing on Fedora and macOS Fix CI failures on Fedora and macOS platforms Jul 14, 2026
Copilot AI requested a review from ybettan July 14, 2026 08:04
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.

CI is failing on some platforms.

2 participants