4949 with :
5050 version : 6.10.1
5151 arch : clang_64
52+ cache : true
5253 - name : Build
5354 run : |
5455 cmake "-GNinja" -B build -S . -DCMAKE_BUILD_TYPE=RelWithDebInfo \
7071 container : ubuntu:${{ matrix.container }}
7172 strategy :
7273 matrix :
73- container : ['22.04', '24.04', '25.04', '25. 10']
74+ container : ['22.04', '24.04', '25.10']
7475 arch : ['amd64', 'arm64']
7576 env :
7677 DEBIAN_FRONTEND : noninteractive
@@ -140,10 +141,11 @@ jobs:
140141 path : build/qdigidoc4*.rpm
141142 windows :
142143 name : Build on Windows
143- runs-on : windows-2025
144+ runs-on : ${{ matrix.platform == 'arm64' && ' windows-11-arm' || 'windows- 2025' }}
144145 strategy :
145146 matrix :
146147 vcver : [143]
148+ platform : [x64, arm64]
147149 env :
148150 VER_SUFFIX : .VS${{ matrix.vcver }}
149151 steps :
@@ -153,7 +155,7 @@ jobs:
153155 with :
154156 workflow : build.yml
155157 branch : master
156- name : msi_${{ matrix.vcver }}_x64
158+ name : msi_${{ matrix.vcver }}_${{ matrix.platform }}
157159 path : ./
158160 repo : open-eid/libdigidocpp
159161 - name : Install artifact
@@ -164,39 +166,34 @@ jobs:
164166 uses : actions/cache@v4
165167 with :
166168 path : ${{ github.workspace }}/vcpkg_cache
167- key : vcpkg-${{ matrix.vcver }}-${{ hashFiles('vcpkg.json') }}
168- - name : Prepare vcpkg
169- uses : lukka/run-vcpkg@v11
170- with :
171- vcpkgJsonGlob : ./vcpkg.json
172- runVcpkgInstall : true
173- env :
174- VCPKG_BINARY_SOURCES : clear;files,${{ github.workspace }}/vcpkg_cache,readwrite
175- VCPKG_INSTALLED_DIR : ${{ github.workspace }}/build/vcpkg_installed
169+ key : vcpkg-${{ matrix.vcver }}-${{ matrix.platform }}-${{ hashFiles('vcpkg.json') }}
176170 - name : Install Qt
177171 uses : jurplel/install-qt-action@v4
178172 with :
179173 version : 6.10.1
180- arch : win64_msvc2022_64
174+ arch : ${{ matrix.platform == 'arm64' && 'win64_msvc2022_arm64' || 'win64_msvc2022_64' }}
175+ cache : true
181176 - name : Setup dev env
182177 uses : ilammy/msvc-dev-cmd@v1
183178 with :
184- arch : x64
179+ arch : ${{ matrix.platform }}
185180 - name : Install WiX
186181 run : |
187182 dotnet tool install -g wix --version 6.0.2
188183 wix extension -g add WixToolset.UI.wixext/6.0.2
189184 - name : Build
185+ env :
186+ VCPKG_BINARY_SOURCES : clear;files,${{ github.workspace }}/vcpkg_cache,readwrite
190187 run : |
191188 cmake "-GNinja" -B build -S . -DCMAKE_BUILD_TYPE=RelWithDebInfo `
192- -DCMAKE_TOOLCHAIN_FILE=${{ env.RUNVCPKG_VCPKG_ROOT }} /scripts/buildsystems/vcpkg.cmake
189+ -DCMAKE_TOOLCHAIN_FILE=C:/vcpkg /scripts/buildsystems/vcpkg.cmake
193190 cmake --build build --target msi
194191 cmake --build build --target msishellext
195192 cmake --build build --target appx
196193 - name : Archive artifacts
197194 uses : actions/upload-artifact@v5
198195 with :
199- name : msi_${{ matrix.vcver }}_x64
196+ name : msi_${{ matrix.vcver }}_${{ matrix.platform }}
200197 path : |
201198 build/*.msi
202199 build/*.appx
0 commit comments