-
Notifications
You must be signed in to change notification settings - Fork 4
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
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this 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' |
There was a problem hiding this comment.
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' }}'.
if: runner.os == 'Linux' | |
if: ${{ runner.os == 'Linux' }} |
Copilot uses AI. Check for mistakes.
d44c797
to
2f9e8a7
Compare
No description provided.