Skip to content

fix: add macOS and Windows support to CI validation matrix#315

Open
mvgadagi wants to merge 13 commits into
AmadeusITGroup:mainfrom
mvgadagi:fix/mac-windows-arti-publish-for-prs
Open

fix: add macOS and Windows support to CI validation matrix#315
mvgadagi wants to merge 13 commits into
AmadeusITGroup:mainfrom
mvgadagi:fix/mac-windows-arti-publish-for-prs

Conversation

@mvgadagi

@mvgadagi mvgadagi commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

Description

The CI validation matrix in vscode-extension-secure-ci.yml was only running on ubuntu-latest, which meant VSIX artifacts were only built and published for Ubuntu. This PR expands the matrix to include macos-latest and windows-latest, ensuring VSIX packages are built and uploaded for all three major platforms.

Additionally, the CI workflow's path triggers did not include .github/workflows/**, so workflow-only changes (like this one) would not trigger CI runs. This has been fixed by adding .github/workflows/** to both the push and pull_request path filters.

A .gitattributes file has been added to enforce LF line endings on checkout, which prevents @stylistic/linebreak-style ESLint errors on Windows CI runners where git defaults to CRLF.

Type of Change

  • 🐛 Bug fix (non-breaking change which fixes an issue)
  • 🔧 Configuration/build changes

Related Issues

Closes #

Changes Made

  • Expanded the validate job matrix in .github/workflows/vscode-extension-secure-ci.yml from [ubuntu-latest] to [ubuntu-latest, macos-latest, windows-latest]
  • VSIX artifacts are now built and uploaded for all three platforms (Ubuntu, macOS, Windows)
  • Added .github/workflows/** to the push and pull_request path triggers so CI runs on workflow file changes
  • Added .gitattributes with * text=auto eol=lf to enforce LF line endings on checkout, fixing @stylistic/linebreak-style CRLF lint errors on Windows
  • Linux-specific steps (xvfb, apt-get) were already guarded with if: runner.os == 'Linux' conditions, so no additional changes were needed for cross-platform compatibility
  • The shell: bash directives use Git Bash on Windows, which provides the required Unix tools (unzip, ls, awk)

Testing

Test Coverage

  • All existing tests pass
  • Manual testing completed

Checklist

  • My code follows the project's style guidelines
  • I have performed a self-review of my code
  • My changes generate no new warnings or errors
  • Any dependent changes have been merged and published

Documentation

  • No documentation changes needed

Additional Notes

The VSIX artifacts will now be named:

  • vsix-ubuntu-latest-node24
  • vsix-macos-latest-node24
  • vsix-windows-latest-node24

@mvgadagi mvgadagi force-pushed the fix/mac-windows-arti-publish-for-prs branch from b10be0b to e898315 Compare July 3, 2026 12:35
@mvgadagi mvgadagi marked this pull request as ready for review July 3, 2026 12:37
@mvgadagi mvgadagi marked this pull request as draft July 3, 2026 12:38
@mvgadagi mvgadagi force-pushed the fix/mac-windows-arti-publish-for-prs branch from e898315 to 460c077 Compare July 3, 2026 12:44
@mvgadagi mvgadagi force-pushed the fix/mac-windows-arti-publish-for-prs branch from 460c077 to 18336f2 Compare July 3, 2026 12:58
@mvgadagi mvgadagi marked this pull request as ready for review July 4, 2026 14:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Backlog

Development

Successfully merging this pull request may close these issues.

1 participant