File tree 2 files changed +6
-4
lines changed
2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 11
11
strategy :
12
12
matrix :
13
13
os : [windows-2019, windows-2022]
14
- arch : [x64, x86]
14
+ arch : [x64, x86, arm64 ]
15
15
16
16
runs-on : ${{ matrix.os }}
17
17
50
50
run : |
51
51
if ("${{ matrix.arch }}" -eq "x64") {
52
52
Write-Output "RELEASE_NAME=win64" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf-8 -Append
53
+ } elseif ("${{ matrix.arch }}" -eq "arm64") {
54
+ Write-Output "RELEASE_NAME=arm64" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf-8 -Append
53
55
} else {
54
56
Write-Output "RELEASE_NAME=win32" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf-8 -Append
55
57
}
74
76
cd ..
75
77
76
78
- name : Tests
79
+ if : matrix.arch != 'arm64'
77
80
run : |
78
81
Copy-Item ./core/build/xmake.exe ./xmake
79
82
Copy-Item ./scripts/xrepo.bat ./xmake
@@ -204,4 +207,3 @@ jobs:
204
207
asset_path : artifacts/${{env.RELEASE_NAME}}/xmake.exe
205
208
asset_name : xmake-${{ steps.tagName.outputs.tag }}.${{ env.RELEASE_NAME }}xp.exe
206
209
asset_content_type : application/zip
207
-
Original file line number Diff line number Diff line change 39
39
run : |
40
40
if ("${{ matrix.arch }}" -eq "x64") {
41
41
Write-Output "RELEASE_NAME=win64" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf-8 -Append
42
+ } elseif ("${{ matrix.arch }}" -eq "arm64") {
43
+ Write-Output "RELEASE_NAME=arm64" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf-8 -Append
42
44
} else {
43
45
Write-Output "RELEASE_NAME=win32" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf-8 -Append
44
46
}
91
93
with :
92
94
name : xmake-latest.${{ env.RELEASE_NAME }}.sha256
93
95
path : artifacts/${{env.RELEASE_NAME}}/shafile
94
-
95
-
You can’t perform that action at this time.
0 commit comments