-
Notifications
You must be signed in to change notification settings - Fork 4
CD: bun now supports Windows ARM #429
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -17,18 +17,18 @@ jobs: | |||||||||||||||||
| fail-fast: false | ||||||||||||||||||
| matrix: | ||||||||||||||||||
| include: | ||||||||||||||||||
| - name: Windows (Intel) | ||||||||||||||||||
| os: windows-2022 | ||||||||||||||||||
| # - name: Windows (Intel) | ||||||||||||||||||
| # os: windows-2022 | ||||||||||||||||||
| - name: Windows (ARM) | ||||||||||||||||||
| os: windows-11-arm | ||||||||||||||||||
| - name: Linux (Intel) | ||||||||||||||||||
| os: ubuntu-22.04 | ||||||||||||||||||
| - name: Linux (ARM) | ||||||||||||||||||
| os: ubuntu-22.04-arm | ||||||||||||||||||
| - name: macOS (Intel) | ||||||||||||||||||
| os: macos-15-intel | ||||||||||||||||||
| - name: macOS (ARM) | ||||||||||||||||||
| os: macos-15 | ||||||||||||||||||
| # - name: Linux (Intel) | ||||||||||||||||||
| # os: ubuntu-22.04 | ||||||||||||||||||
| # - name: Linux (ARM) | ||||||||||||||||||
| # os: ubuntu-22.04-arm | ||||||||||||||||||
| # - name: macOS (Intel) | ||||||||||||||||||
| # os: macos-15-intel | ||||||||||||||||||
| # - name: macOS (ARM) | ||||||||||||||||||
| # os: macos-15 | ||||||||||||||||||
| env: | ||||||||||||||||||
| GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||||||||||||||||||
| APPLE_ID: ${{ secrets.APPLE_ID }} | ||||||||||||||||||
|
|
@@ -72,28 +72,17 @@ jobs: | |||||||||||||||||
| - name: Install bun (Windows ARM only) | ||||||||||||||||||
| if: ${{ matrix.name == 'Windows (ARM)' }} | ||||||||||||||||||
| run: | | ||||||||||||||||||
| curl -L https://github.com/oven-sh/bun/releases/latest/download/bun-windows-x64-baseline.zip -o bun.zip | ||||||||||||||||||
| curl -L https://github.com/oven-sh/bun/releases/latest/download/bun-windows-aarch64.zip -o bun.zip | ||||||||||||||||||
| unzip -j bun.zip -d $env:USERPROFILE\.bun | ||||||||||||||||||
| del bun.zip | ||||||||||||||||||
| echo "$env:USERPROFILE\.bun" >> $env:GITHUB_PATH | ||||||||||||||||||
| - name: Make sure that we can sign OpenCOR (Windows ARM only) | ||||||||||||||||||
| if: ${{ matrix.name == 'Windows (ARM)' }} | ||||||||||||||||||
| run: | | ||||||||||||||||||
| curl -L https://npmmirror.com/mirrors/electron-builder-binaries/winCodeSign-2.6.0/winCodeSign-2.6.0.7z -o winCodeSign.7z | ||||||||||||||||||
| 7z x winCodeSign.7z -oC:\Users\runneradmin\AppData\Local\electron-builder\Cache\winCodeSign\winCodeSign-2.6.0 | ||||||||||||||||||
| cd C:\Users\runneradmin\AppData\Local\electron-builder\Cache\winCodeSign\winCodeSign-2.6.0\windows-10 | ||||||||||||||||||
| mv x64 arm64 | ||||||||||||||||||
| - name: Install libopenjp2-tools (Linux ARM only) | ||||||||||||||||||
| if: ${{ matrix.name == 'Linux (ARM)' }} | ||||||||||||||||||
| run: | | ||||||||||||||||||
| sudo apt update | ||||||||||||||||||
| sudo apt install libopenjp2-tools | ||||||||||||||||||
| - name: OpenCOR dependencies | ||||||||||||||||||
|
Comment on lines
83
to
84
|
||||||||||||||||||
| sudo apt install libopenjp2-tools | |
| - name: OpenCOR dependencies | |
| sudo apt install libopenjp2-tools | |
| - name: OpenCOR dependencies (Windows ARM) | |
| if: ${{ matrix.name == 'Windows (ARM)' }} | |
| run: bun install --cpu=arm64 | |
| - name: OpenCOR dependencies | |
| if: ${{ matrix.name != 'Windows (ARM)' }} |
Copilot
AI
Feb 26, 2026
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 "web_app" and "npm" jobs have been entirely commented out. That effectively disables web app deployment and npm publishing from this workflow; if this is intentional, it should be removed or guarded behind an explicit if:/input rather than left as a large commented block, and the PR title/description should reflect the behavior change.
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 release matrix has been reduced to only "Windows (ARM)" by commenting out Windows/Linux/macOS Intel/ARM entries. This will stop producing release artifacts for the other platforms; if the intent is to add Windows ARM support, keep the other matrix entries enabled (or move them behind an explicit flag/condition) so CD still builds the full set of releases.