@@ -127,7 +127,7 @@ spec:
127127 sh 'git clean -ffdx'
128128 }
129129 }
130- stage('Build astcenc R') {
130+ stage('Build astcenc R x64 ') {
131131 steps {
132132 sh '''
133133 export CXX=clang++-9
@@ -138,7 +138,7 @@ spec:
138138 '''
139139 }
140140 }
141- stage('Build astcdec R') {
141+ stage('Build astcdec R x64 ') {
142142 steps {
143143 sh '''
144144 export CXX=clang++-9
@@ -178,7 +178,7 @@ spec:
178178 bat 'git clean -ffdx'
179179 }
180180 }
181- stage('Build R') {
181+ stage('Build R x64 ') {
182182 steps {
183183 bat '''
184184 call c:\\progra~2\\micros~1\\2022\\buildtools\\vc\\auxiliary\\build\\vcvars64.bat
@@ -191,6 +191,19 @@ spec:
191191 '''
192192 }
193193 }
194+ stage('Build R Arm64') {
195+ steps {
196+ bat '''
197+ call c:\\progra~2\\micros~1\\2022\\buildtools\\vc\\auxiliary\\build\\vcvarsall.bat x64_arm64
198+ mkdir build_rel_arm64
199+ cd build_rel_arm64
200+ cmake -G "Visual Studio 17 2022" -A ARM64 -T ClangCL -DCMAKE_INSTALL_PREFIX=../ -DASTCENC_ISA_NEON=ON -DASTCENC_PACKAGE=arm64 ..
201+ msbuild astcencoder.sln -property:Configuration=Release
202+ msbuild PACKAGE.vcxproj -property:Configuration=Release
203+ msbuild INSTALL.vcxproj -property:Configuration=Release
204+ '''
205+ }
206+ }
194207 stage('Sign') {
195208 steps {
196209 dir('sign_tools') {
@@ -208,6 +221,7 @@ spec:
208221 usernameVariable: 'AF_USER',
209222 passwordVariable: 'APIKEY')]) {
210223 powershell 'C:\\Python311\\python.exe .\\sign_tools\\windows-client-wrapper.py -b $Env:BUILD_NUMBER -t $Env:APIKEY (Get-ChildItem -Filter build_rel\\*.zip)[0].FullName'
224+ powershell 'C:\\Python311\\python.exe .\\sign_tools\\windows-client-wrapper.py -b $Env:BUILD_NUMBER -t $Env:APIKEY (Get-ChildItem -Filter build_rel_arm64\\*.zip)[0].FullName'
211225 }
212226 }
213227 }
@@ -217,6 +231,10 @@ spec:
217231 stash name: 'astcenc-windows-x64', includes: '*.zip'
218232 stash name: 'astcenc-windows-x64-hash', includes: '*.zip.sha256'
219233 }
234+ dir('build_rel_arm64') {
235+ stash name: 'astcenc-windows-arm64', includes: '*.zip'
236+ stash name: 'astcenc-windows-arm64-hash', includes: '*.zip.sha256'
237+ }
220238 }
221239 }
222240 stage('Test') {
@@ -321,10 +339,12 @@ spec:
321339 steps {
322340 dir('upload') {
323341 unstash 'astcenc-windows-x64-hash'
342+ unstash 'astcenc-windows-arm64-hash'
324343 unstash 'astcenc-linux-x64-hash'
325344 unstash 'astcenc-macos-universal-hash'
326345
327346 unstash 'astcenc-windows-x64'
347+ unstash 'astcenc-windows-arm64'
328348 unstash 'astcenc-linux-x64'
329349 unstash 'astcenc-macos-universal'
330350
0 commit comments