Skip to content

ci: add macos-26 build job for metal compute shaders#7

Merged
bniladridas merged 2 commits into
mainfrom
feature/add-macos-26-ci
Feb 26, 2026
Merged

ci: add macos-26 build job for metal compute shaders#7
bniladridas merged 2 commits into
mainfrom
feature/add-macos-26-ci

Conversation

@bniladridas
Copy link
Copy Markdown
Contributor

@bniladridas bniladridas commented Feb 26, 2026

Summary (refreshed):

  • Add a macos-26 build job to the GitHub Actions workflow for Swift compilation and tests.
  • Update the README to note that GitHub Actions now supports Apple Silicon runners, including Metal compute shader support.
  • Add a .yamllint.yml file with relaxed document-formatting rules.
  • Reference the official announcement: macOS 26 is now generally available for GitHub-hosted runners (GitHub Changelog, Feb 26, 2026).

@chatgpt-codex-connector
Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@gemini-code-assist
Copy link
Copy Markdown

Summary of Changes

Hello @bniladridas, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request significantly enhances the project's continuous integration capabilities by integrating GitHub Actions' new macos-26 runners. This change allows for the full build and testing of Metal compute shaders directly within the CI pipeline on native Apple Silicon hardware, removing the previous limitation of Intel-based macOS runners. The accompanying documentation has been updated to reflect this improved support, and a YAML linter configuration has been added to streamline future YAML file management.

Highlights

  • CI/CD: A new macos-26 build job has been added to the GitHub Actions CI workflow, enabling native Apple Silicon runner support for Metal compute shaders.
  • Documentation: The README.md has been updated to reflect the new capabilities of GitHub Actions, specifically the availability of Apple Silicon runners that support Metal compute shaders.
  • Configuration: A .yamllint.yml configuration file has been introduced to manage YAML linting rules, disabling certain checks like line length and indentation for flexibility.

🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console.

Changelog
  • .yamllint.yml
    • Added a new YAML linting configuration file.
  • README.md
    • Updated the note regarding GitHub's macOS runners to reflect support for Apple Silicon and Metal compute shaders on macos-26.
Ignored Files
  • Ignored by pattern: .github/workflows/** (1)
    • .github/workflows/ci.yml
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

@github-actions
Copy link
Copy Markdown
Contributor

✅ SPDX check passed — all changed files include the required license header.

Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request aims to add a CI job for macOS on Apple Silicon. The changes include adding a .yamllint.yml configuration and updating the README.md. My review focuses on the correctness of the documentation and the maintainability of the new configuration file. I've identified a likely typo in the macOS runner name in the README.md which could cause the new CI job to fail. I've also provided feedback on the .yamllint.yml file, suggesting to re-enable some of the disabled linting rules to ensure YAML file quality and consistency across the project.

Comment thread README.md
- **Local CI**: Use `act` for GitHub Actions simulation, `gitlab-ci-local` for GitLab CI, or CircleCI local CLI.

> **⚠️ Important:** GitHub's hosted macOS runners are Intel-based and do not support Metal compute shaders. Full build and test must be performed locally on Apple Silicon hardware or using dedicated macOS runners (e.g., via GitLab CI). Only linting and syncing run on GitHub's hosted runners.
> **Note:** GitHub's hosted macOS-26 runners run natively on Apple Silicon and support Metal compute shaders. Full build and test can run on GitHub Actions using `macos-26`.
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high

The runner label macos-26 appears to be incorrect. The official GitHub Actions runner with Apple Silicon support is macos-14. Using macos-26 will likely cause the workflow to fail. Please verify the runner label and update it here and in your workflow file.

Suggested change
> **Note:** GitHub's hosted macOS-26 runners run natively on Apple Silicon and support Metal compute shaders. Full build and test can run on GitHub Actions using `macos-26`.
> **Note:** GitHub's hosted macOS-14 runners run natively on Apple Silicon and support Metal compute shaders. Full build and test can run on GitHub Actions using `macos-14`.

Comment thread .yamllint.yml
Comment on lines +7 to +12
rules:
document-start: disable
truthy: disable
line-length: disable
indentation: disable
brackets: disable
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

Disabling several fundamental yamllint rules, especially indentation, is concerning for future maintainability. While some rules like line-length can be a matter of preference, disabling rules for indentation and truthiness checks can lead to inconsistent and error-prone YAML files. It's generally better to fix the YAML files to conform to the linter's standards rather than disabling the checks. Please consider re-enabling most of these rules, particularly indentation and truthy, to maintain code quality.

@github-actions
Copy link
Copy Markdown
Contributor

✅ SPDX check passed — all changed files include the required license header.

@bniladridas bniladridas merged commit 88ca24c into main Feb 26, 2026
4 checks passed
@harper-main-hq harper-main-hq deleted the feature/add-macos-26-ci branch February 26, 2026 17:52
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.

2 participants