Skip to content

Commit

Permalink
Add native Windows on ARM64 builds for CI
Browse files Browse the repository at this point in the history
  • Loading branch information
ifarbod committed Jan 11, 2025
1 parent 5bc5ce5 commit 98a2120
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
strategy:
matrix:
os: [windows-2019, windows-2022]
arch: [x64, x86]
arch: [x64, x86, arm64]

runs-on: ${{ matrix.os }}

Expand Down Expand Up @@ -50,6 +50,8 @@ jobs:
run: |
if ("${{ matrix.arch }}" -eq "x64") {
Write-Output "RELEASE_NAME=win64" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf-8 -Append
} elseif ("${{ matrix.arch }}" -eq "arm64") {
Write-Output "RELEASE_NAME=winarm64" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf-8 -Append
} else {
Write-Output "RELEASE_NAME=win32" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf-8 -Append
}
Expand Down Expand Up @@ -204,4 +206,3 @@ jobs:
asset_path: artifacts/${{env.RELEASE_NAME}}/xmake.exe
asset_name: xmake-${{ steps.tagName.outputs.tag }}.${{ env.RELEASE_NAME }}xp.exe
asset_content_type: application/zip

6 changes: 3 additions & 3 deletions .github/workflows/windows_luajit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
strategy:
matrix:
os: [windows-2019, windows-2022]
arch: [x64, x86]
arch: [x64, x86, arm64]

runs-on: ${{ matrix.os }}

Expand Down Expand Up @@ -39,6 +39,8 @@ jobs:
run: |
if ("${{ matrix.arch }}" -eq "x64") {
Write-Output "RELEASE_NAME=win64" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf-8 -Append
} elseif ("${{ matrix.arch }}" -eq "arm64") {
Write-Output "RELEASE_NAME=winarm64" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf-8 -Append
} else {
Write-Output "RELEASE_NAME=win32" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf-8 -Append
}
Expand Down Expand Up @@ -91,5 +93,3 @@ jobs:
with:
name: xmake-latest.${{ env.RELEASE_NAME }}.sha256
path: artifacts/${{env.RELEASE_NAME}}/shafile


0 comments on commit 98a2120

Please sign in to comment.