diff options
| author | iFarbod <[email protected]> | 2025-01-11 04:02:01 +0330 |
|---|---|---|
| committer | iFarbod <[email protected]> | 2025-01-11 04:20:16 +0330 |
| commit | 98a2120348790f64b377ce2b929058bf18bbefd6 (patch) | |
| tree | 2256db24b33850add1e40292dcc4ceacf51e915a /.github/workflows | |
| parent | 5bc5ce579fe5af900fc5dd653dfde7be486ea9a1 (diff) | |
Add native Windows on ARM64 builds for CI
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/windows.yml | 5 | ||||
| -rw-r--r-- | .github/workflows/windows_luajit.yml | 6 |
2 files changed, 6 insertions, 5 deletions
diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index e13339814..e3f7d1fa4 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -11,7 +11,7 @@ jobs: strategy: matrix: os: [windows-2019, windows-2022] - arch: [x64, x86] + arch: [x64, x86, arm64] runs-on: ${{ matrix.os }} @@ -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 } @@ -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 - diff --git a/.github/workflows/windows_luajit.yml b/.github/workflows/windows_luajit.yml index 228f8003f..8f8ce8e6c 100644 --- a/.github/workflows/windows_luajit.yml +++ b/.github/workflows/windows_luajit.yml @@ -11,7 +11,7 @@ jobs: strategy: matrix: os: [windows-2019, windows-2022] - arch: [x64, x86] + arch: [x64, x86, arm64] runs-on: ${{ matrix.os }} @@ -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 } @@ -91,5 +93,3 @@ jobs: with: name: xmake-latest.${{ env.RELEASE_NAME }}.sha256 path: artifacts/${{env.RELEASE_NAME}}/shafile - - |
