1414 MACOSX_DEPLOYMENT_TARGET : 13.0
1515 LIBS_PATH : ${{ github.workspace }}/cache
1616 steps :
17- - name : Checkout
17+ - &Checkout
18+ name : Checkout
1819 uses : actions/checkout@v5
1920 with :
2021 submodules : recursive
@@ -41,12 +42,12 @@ jobs:
4142 key : vcpkg-macOS-${{ hashFiles('prepare_osx_build_environment.sh') }}
4243 - name : Build libraries
4344 run : |
44- mkdir -p ${LIBS_PATH}/Qt-6.9.2 -OpenSSL
45+ mkdir -p ${LIBS_PATH}/Qt-6.10.1 -OpenSSL
4546 ./prepare_osx_build_environment.sh -p ${LIBS_PATH}
4647 - name : Install Qt
4748 uses : jurplel/install-qt-action@v4
4849 with :
49- version : 6.9.2
50+ version : 6.10.1
5051 arch : clang_64
5152 - name : Build
5253 run : |
5960 cmake --build build --target macdeployqt
6061 cmake --build build --target zip
6162 - name : Archive artifacts
62- uses : actions/upload-artifact@v4
63+ uses : actions/upload-artifact@v5
6364 with :
6465 name : macOS
6566 path : build/qdigidoc4*.zip
@@ -86,10 +87,13 @@ jobs:
8687 repo : open-eid/libdigidocpp
8788 - name : Install dependencies
8889 run : apt update -qq && apt install --no-install-recommends -y git lsb-release build-essential devscripts debhelper pkg-config lintian ${UBUNTU_DEPS}
89- - name : Checkout
90- uses : actions/checkout@v5
91- with :
92- submodules : recursive
90+ - name : Install gcc 12
91+ if : matrix.container == '22.04'
92+ run : |
93+ apt install -y gcc-12 g++-12
94+ update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-12 60 --slave /usr/bin/g++ g++ /usr/bin/g++-12
95+ update-alternatives --set gcc /usr/bin/gcc-12
96+ - *Checkout
9397 - name : Setup changelog
9498 run : |
9599 export VERSION=$(grep project CMakeLists.txt | egrep -o "([0-9]{1,}\.)+[0-9]{1,}")
@@ -102,7 +106,7 @@ jobs:
102106 - name : Lintian
103107 run : lintian *.deb;
104108 - name : Archive artifacts
105- uses : actions/upload-artifact@v4
109+ uses : actions/upload-artifact@v5
106110 with :
107111 name : ubuntu_${{ matrix.container }}_${{ matrix.arch }}
108112 path : qdigidoc4*.*
@@ -124,32 +128,26 @@ jobs:
124128 repo : open-eid/libdigidocpp
125129 - name : Install Deps
126130 run : dnf install -y ./libdigidocpp-pkg/*.rpm git gcc-c++ cmake rpm-build gettext openssl-devel openldap-devel pcsc-lite-devel qt6-qtsvg-devel qt6-qttools-devel flatbuffers-devel flatbuffers-compiler zlib-devel
127- - name : Checkout
128- uses : actions/checkout@v5
129- with :
130- submodules : recursive
131+ - *Checkout
131132 - name : Build
132133 run : |
133134 cmake -DCMAKE_INSTALL_PREFIX=/usr -B build -S .
134135 cmake --build build --target all package
135136 - name : Archive artifacts
136- uses : actions/upload-artifact@v4
137+ uses : actions/upload-artifact@v5
137138 with :
138139 name : fedora_${{ matrix.container }}
139140 path : build/qdigidoc4*.rpm
140141 windows :
141142 name : Build on Windows
142- runs-on : windows-2022
143+ runs-on : windows-2025
143144 strategy :
144145 matrix :
145146 vcver : [143]
146147 env :
147148 VER_SUFFIX : .VS${{ matrix.vcver }}
148149 steps :
149- - name : Checkout
150- uses : actions/checkout@v5
151- with :
152- submodules : recursive
150+ - *Checkout
153151 - name : Download artifact
154152 uses : dawidd6/action-download-artifact@v11
155153 with :
@@ -178,7 +176,7 @@ jobs:
178176 - name : Install Qt
179177 uses : jurplel/install-qt-action@v4
180178 with :
181- version : 6.9.2
179+ version : 6.10.1
182180 arch : win64_msvc2022_64
183181 - name : Setup dev env
184182 uses : ilammy/msvc-dev-cmd@v1
@@ -196,7 +194,7 @@ jobs:
196194 cmake --build build --target msishellext
197195 cmake --build build --target appx
198196 - name : Archive artifacts
199- uses : actions/upload-artifact@v4
197+ uses : actions/upload-artifact@v5
200198 with :
201199 name : msi_${{ matrix.vcver }}_x64
202200 path : |
@@ -210,10 +208,7 @@ jobs:
210208 TOKEN : ${{ secrets.COVERITY_SCAN_TOKEN }}
211209 PROJECTNAME : open-eid/DigiDoc4-Client
212210 steps :
213- - name : Checkout
214- uses : actions/checkout@v5
215- with :
216- submodules : recursive
211+ - *Checkout
217212 - name : Download artifact
218213 uses : dawidd6/action-download-artifact@v11
219214 with :
@@ -252,10 +247,7 @@ jobs:
252247 permissions :
253248 security-events : write
254249 steps :
255- - name : Checkout
256- uses : actions/checkout@v5
257- with :
258- submodules : recursive
250+ - *Checkout
259251 - name : Download artifact
260252 uses : dawidd6/action-download-artifact@v11
261253 with :
@@ -267,14 +259,14 @@ jobs:
267259 - name : Install dependencies
268260 run : sudo apt update -qq && sudo apt install --no-install-recommends -y ${UBUNTU_DEPS}
269261 - name : Initialize CodeQL
270- uses : github/codeql-action/init@v3
262+ uses : github/codeql-action/init@v4
271263 with :
272264 languages : cpp
273265 queries : +security-and-quality
274266 - name : Autobuild
275- uses : github/codeql-action/autobuild@v3
267+ uses : github/codeql-action/autobuild@v4
276268 - name : Perform CodeQL Analysis
277- uses : github/codeql-action/analyze@v3
269+ uses : github/codeql-action/analyze@v4
278270 with :
279271 upload : False
280272 output : sarif-results
@@ -289,6 +281,6 @@ jobs:
289281 input : sarif-results/cpp.sarif
290282 output : sarif-results/cpp.sarif
291283 - name : Upload results
292- uses : github/codeql-action/upload-sarif@v3
284+ uses : github/codeql-action/upload-sarif@v4
293285 with :
294286 sarif_file : sarif-results/cpp.sarif
0 commit comments