Skip to content

chore: run ci on windows & mac #213

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

chore: run ci on windows & mac #213

wants to merge 4 commits into from

Conversation

hardfist
Copy link
Contributor

@hardfist hardfist commented Aug 8, 2025

No description provided.

@Copilot Copilot AI review requested due to automatic review settings August 8, 2025 11:50
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR extends the CI pipeline to run tests on Windows and macOS in addition to Linux, enabling cross-platform validation of the rslint project. This is a significant improvement for ensuring compatibility across different operating systems where the linter will be used.

  • Adds matrix strategy for running tests on Ubuntu, Windows, and macOS runners
  • Updates cache keys to be OS-specific to prevent cache conflicts between different platforms
  • Simplifies the final CI status job by using standard Ubuntu runner instead of custom rspack runner

- name: Install xvfb and dependencies
if: ${{ runner.os == 'Linux' && runner.environment == 'self-hosted' }}
- name: Install xvfb and dependencies (Linux only)
if: runner.os == 'Linux'
Copy link
Preview

Copilot AI Aug 8, 2025

Choose a reason for hiding this comment

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

The condition should be wrapped in ${{ }} for consistency with GitHub Actions syntax, i.e., 'if: ${{ runner.os == 'Linux' }}'.

Suggested change
if: runner.os == 'Linux'
if: ${{ runner.os == 'Linux' }}

Copilot uses AI. Check for mistakes.

@hardfist hardfist closed this Aug 9, 2025
@hardfist hardfist reopened this Aug 11, 2025
@hardfist hardfist force-pushed the ci-matrix branch 2 times, most recently from d44c797 to 2f9e8a7 Compare August 12, 2025 05:24
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.

1 participant