Repository navigation
Windows arm64 support #2901
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
Closed
Reflexoptics01
wants to merge
5
commits into
pingdotgg:main
from
Reflexoptics01:windows-arm64-support
Closed
Windows arm64 support #2901
Changes from 4 commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
4cbc21f
feat: full Windows ARM64 support
Reflexoptics01 7fffee6
ci: add windows arm64 app release workflow
Reflexoptics01 bf0f57c
fix: address PR review issues for Windows ARM64 support
Reflexoptics01 a9d344d
Merge remote-tracking branch 'upstream/main' into windows-arm64-support
github-actions[bot] a45cb48
fix: enable auto-updates for Windows ARM64 fork builds
Reflexoptics01 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,93 @@ | ||
| name: Windows ARM64 App | ||
|
|
||
| on: | ||
| workflow_dispatch: | ||
| inputs: | ||
| sync_upstream: | ||
| description: "Merge upstream main before building" | ||
| required: false | ||
| default: true | ||
| type: boolean | ||
| schedule: | ||
| - cron: "25 */6 * * *" | ||
|
|
||
| permissions: | ||
| contents: write | ||
|
|
||
| concurrency: | ||
| group: windows-arm64-app | ||
| cancel-in-progress: false | ||
|
|
||
| jobs: | ||
| build_release: | ||
| name: Build and publish Windows ARM64 installer | ||
| runs-on: windows-11-arm | ||
| timeout-minutes: 60 | ||
| steps: | ||
| - name: Checkout fork branch | ||
| uses: actions/checkout@v6 | ||
| with: | ||
| ref: windows-arm64-support | ||
| fetch-depth: 0 | ||
| token: ${{ secrets.GITHUB_TOKEN }} | ||
|
|
||
| - name: Merge upstream main | ||
| if: github.event_name == 'schedule' || github.event.inputs.sync_upstream != 'false' | ||
| shell: pwsh | ||
| run: | | ||
| $ErrorActionPreference = "Stop" | ||
| git config user.name "github-actions[bot]" | ||
| git config user.email "41898282+github-actions[bot]@users.noreply.github.com" | ||
| git remote add upstream https://github.com/pingdotgg/t3code.git | ||
| git fetch upstream main --tags | ||
| git merge --no-edit upstream/main | ||
| git push origin HEAD:windows-arm64-support | ||
|
|
||
| - name: Setup Bun | ||
| uses: oven-sh/setup-bun@v2 | ||
| with: | ||
| bun-version-file: package.json | ||
|
|
||
| - name: Setup Node | ||
| uses: actions/setup-node@v6 | ||
| with: | ||
| node-version-file: package.json | ||
|
|
||
| - name: Install dependencies | ||
| run: bun install --frozen-lockfile | ||
|
|
||
| - name: Build Windows ARM64 installer | ||
| shell: pwsh | ||
| env: | ||
| T3CODE_DESKTOP_UPDATE_REPOSITORY: ${{ github.repository }} | ||
| run: | | ||
| $ErrorActionPreference = "Stop" | ||
| bun run dist:desktop:win:arm64 -- --verbose | ||
|
|
||
| - name: Resolve release metadata | ||
| id: meta | ||
| shell: pwsh | ||
| run: | | ||
| $ErrorActionPreference = "Stop" | ||
| $pkg = Get-Content apps/server/package.json | ConvertFrom-Json | ||
| $version = [string]$pkg.version | ||
| "version=$version" >> $env:GITHUB_OUTPUT | ||
| "tag=v$version-windows-arm64" >> $env:GITHUB_OUTPUT | ||
| "name=T3 Code Windows ARM64 v$version" >> $env:GITHUB_OUTPUT | ||
|
|
||
| - name: Publish fork release | ||
| uses: softprops/action-gh-release@v2 | ||
| with: | ||
| tag_name: ${{ steps.meta.outputs.tag }} | ||
| target_commitish: windows-arm64-support | ||
| name: ${{ steps.meta.outputs.name }} | ||
| body: | | ||
| Windows ARM64 fork build. | ||
|
|
||
| Built from `${{ github.repository }}@${{ github.sha }}`. | ||
| Upstream sync source: `pingdotgg/t3code@main`. | ||
| make_latest: false | ||
| files: | | ||
| release/*.exe | ||
| release/*.blockmap | ||
| release/*.yml |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.