From: "cron2 (Code Review)" Date: Tue, 1 Apr 2025 18:01:05 +0000 In-Reply-To: References: Reply-To: gert@...1296..., arne-openvpn@...1227..., openvpn-devel@lists.sourceforge.net, frank@...2641... Message-ID: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: multipart/alternative; boundary="y004BteoucI="; charset=UTF-8 Subject: [Openvpn-devel] [S] Change in openvpn[master]: GHA: Dependency and Actions update April 2025 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: flichtenheld Cc: plaisthos , openvpn-devel --y004BteoucI= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable cron2 has submitted this change. ( http://gerrit.openvpn.net/c/openvpn/+/92= 6?usp=3Demail ) Change subject: GHA: Dependency and Actions update April 2025 ...................................................................... GHA: Dependency and Actions update April 2025 - Fix Android build with newer vcpkg Need to sync CMAKE_SYSTEM_VERSION with vcpkg. - Update mbedTLS v3 builds to latest release. Depends on commit 4897c522948c8cdb82c0325ee08f6907cfc16f57 - Update all actions to latest releases. Change-Id: Ie9bffcc487f53a3a8ae6e59b79e654360d99902c Signed-off-by: Frank Lichtenheld Acked-by: Arne Schwabe Message-Id: <20250331153309.77901-1-frank@...2641...> URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg31= 290.html Signed-off-by: Gert Doering --- M .github/workflows/build.yaml M .github/workflows/coverity-scan.yml M .github/workflows/doxygen.yml 3 files changed, 20 insertions(+), 15 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 617b866..5e8e15d 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -27,7 +27,7 @@ - name: Show changes on standard output run: git diff working-directory: openvpn - - uses: actions/upload-artifact@...2860... # v4.6.0 + - uses: actions/upload-artifact@...2868... # v4.6.2 with: name: uncrustify-changes.patch path: 'openvpn/uncrustify-changes.patch' @@ -58,11 +58,16 @@ - name: Install vcpkg uses: lukka/run-vcpkg@...2815... # v11.5 with: - vcpkgGitCommitId: 33e9c99208736b713cabe4490e15235f62f893d4 + vcpkgGitCommitId: acd5bba5aac8b6573b5f6f463dc0341ac0ee6fa4 - name: Install dependencies run: ${VCPKG_ROOT}/vcpkg install openssl lz4 cmocka - name: configure OpenVPN with cmake - run: cmake -S . -B openvpn-build -DUNSUPPORTED_BUILDS=3Dyes -DCMAK= E_SYSTEM_NAME=3DAndroid -DOPENSSL_ROOT_DIR=3D${VCPKG_INSTALLED_DIR}/${{ mat= rix.vcpkg_triplet }} -DENABLE_PKCS11=3Dfalse -DBUILD_TESTING=3Dtrue -DCMAKE= _ANDROID_ARCH_ABI=3D${{ matrix.abi }} -DENABLE_LZO=3Dfalse -DUSE_WERROR=3Dno + run: | + cmake -S . -B openvpn-build -DUNSUPPORTED_BUILDS=3Dyes \ + -DCMAKE_SYSTEM_NAME=3DAndroid -DCMAKE_SYSTEM_VERSION=3D28 \ + -DCMAKE_ANDROID_ARCH_ABI=3D${{ matrix.abi }} \ + -DOPENSSL_ROOT_DIR=3D${VCPKG_INSTALLED_DIR}/${{ matrix.vcpkg_t= riplet }} \ + -DENABLE_PKCS11=3Dfalse -DBUILD_TESTING=3Dtrue -DENABLE_LZO=3D= false -DUSE_WERROR=3Dno - name: Build OpenVPN Android binary with cmake run: cmake --build openvpn-build @@ -87,7 +92,7 @@ - name: Restore from cache and install vcpkg uses: lukka/run-vcpkg@...2815... # v11.5 with: - vcpkgGitCommitId: 33e9c99208736b713cabe4490e15235f62f893d4 + vcpkgGitCommitId: acd5bba5aac8b6573b5f6f463dc0341ac0ee6fa4 vcpkgJsonGlob: '**/mingw/vcpkg.json' - name: Run CMake with vcpkg.json manifest @@ -97,7 +102,7 @@ buildPreset: mingw-${{ matrix.arch }} buildPresetAdditionalArgs: "['--config Debug']" - - uses: actions/upload-artifact@...2860... # v4.6.0 + - uses: actions/upload-artifact@...2868... # v4.6.2 with: name: openvpn-mingw-${{ matrix.arch }} path: | @@ -105,7 +110,7 @@ ${{ github.workspace }}/out/build/mingw/${{ matrix.arch }}/Deb= ug/*.dll !${{ github.workspace }}/out/build/mingw/${{ matrix.arch }}/De= bug/test_*.exe - - uses: actions/upload-artifact@...2860... # v4.6.0 + - uses: actions/upload-artifact@...2868... # v4.6.2 with: name: openvpn-mingw-${{ matrix.arch }}-tests path: | @@ -126,7 +131,7 @@ - name: Checkout OpenVPN uses: actions/checkout@...2844... # v4.2.2 - name: Retrieve mingw unittest - uses: actions/download-artifact@...2817... # v4.1.8 + uses: actions/download-artifact@...2869... # v4.2.1 with: name: openvpn-mingw-${{ matrix.arch }}-tests path: unittests @@ -271,7 +276,7 @@ runs-on: windows-latest steps: - uses: actions/checkout@...2844... # v4.2.2 - - uses: lukka/get-cmake@...2861... # v3.31.5 + - uses: lukka/get-cmake@...2870... # v3.31.6 - name: Install rst2html run: python -m pip install --upgrade pip docutils @@ -279,7 +284,7 @@ - name: Restore artifacts, or setup vcpkg (do not install any packag= e) uses: lukka/run-vcpkg@...2815... # v11.5 with: - vcpkgGitCommitId: 33e9c99208736b713cabe4490e15235f62f893d4 + vcpkgGitCommitId: acd5bba5aac8b6573b5f6f463dc0341ac0ee6fa4 vcpkgJsonGlob: '**/windows/vcpkg.json' - name: Run CMake with vcpkg.json manifest (NO TESTS) @@ -298,7 +303,7 @@ testPreset: win-${{ matrix.arch }}-release testPresetAdditionalArgs: "['--output-on-failure']" - - uses: actions/upload-artifact@...2860... # v4.6.0 + - uses: actions/upload-artifact@...2868... # v4.6.2 with: name: openvpn-msvc-${{ matrix.arch }} path: | @@ -408,7 +413,7 @@ submodules: true # versioning=3Dsemver-coerced repository: Mbed-TLS/mbedtls - ref: v3.6.2 + ref: v3.6.3 - name: "mbedtls: make no_test" run: make -j3 no_test SHARED=3D1 working-directory: mbedtls diff --git a/.github/workflows/coverity-scan.yml b/.github/workflows/coveri= ty-scan.yml index 3381d8f..222c57e 100644 --- a/.github/workflows/coverity-scan.yml +++ b/.github/workflows/coverity-scan.yml @@ -13,7 +13,7 @@ steps: - name: Check submission cache id: check_submit - uses: actions/cache/restore@...2847... # v4.2.0 + uses: actions/cache/restore@...2871... # v4.2.3 with: path: | cov-int @@ -65,7 +65,7 @@ - name: Cache submission if: steps.check_submit.outputs.cache-hit !=3D 'true' - uses: actions/cache/save@...2847... # v4.2.0 + uses: actions/cache/save@...2871... # v4.2.3 with: path: | cov-int diff --git a/.github/workflows/doxygen.yml b/.github/workflows/doxygen.yml index f1ece70..ffd1b82 100644 --- a/.github/workflows/doxygen.yml +++ b/.github/workflows/doxygen.yml @@ -34,7 +34,7 @@ touch doc/doxygen/html/.nojekyll - name: Upload static files as artifact id: deployment - uses: actions/upload-pages-artifact@...2858... + uses: actions/upload-pages-artifact@...2872... # v3.0.1 with: path: doxygen/doc/doxygen/html/ @@ -50,4 +50,4 @@ steps: - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@...2859... + uses: actions/deploy-pages@...2873... # v4.0.5 -- To view, visit http://gerrit.openvpn.net/c/openvpn/+/926?usp=3Demail To unsubscribe, or for help writing mail filters, visit http://gerrit.openv= pn.net/settings Gerrit-Project: openvpn Gerrit-Branch: master Gerrit-Change-Id: Ie9bffcc487f53a3a8ae6e59b79e654360d99902c Gerrit-Change-Number: 926 Gerrit-PatchSet: 2 Gerrit-Owner: flichtenheld Gerrit-Reviewer: plaisthos Gerrit-CC: openvpn-devel Gerrit-MessageType: merged --y004BteoucI= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

cron2 submitted this change.

View Change

GHA: Dependency and Actions update April 2025<=
br>
- Fix Android build with newer vcpkg
Need to sync CMAKE_SYSTEM_= VERSION with vcpkg.
- Update mbedTLS v3 builds to latest release.
D= epends on commit
4897c522948c8cdb82c0325ee08f6907cfc16f57
- Update = all actions to latest releases.

Change-Id: Ie9bffcc487f53a3a8ae6e59b= 79e654360d99902c
Signed-off-by: Frank Lichtenheld <frank@...2641...&g= t;
Acked-by: Arne Schwabe <arne-openvpn@...1227...>
Message-Id:= <20250331153309.77901-1-frank@...2641...>
URL: https://www.mail-a= rchive.com/openvpn-devel@lists.sourceforge.net/msg31290.html
Signed-off-= by: Gert Doering <gert@...1296...>
---
M .github/workflows/buil= d.yaml
M .github/workflows/coverity-scan.yml
M .github/workflows/doxy= gen.yml
3 files changed, 20 insertions(+), 15 deletions(-)

diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml=

index 617b866..5e8e15d 100644
--- a/.githu= b/workflows/build.yaml
+++ b/.github/workflows/build.yaml
@@ -27,7 +27,7 @@
- name: Show change= s on standard output
run: git diff
working-directory: openvpn

- - uses: actions/upload-artifact@...2860... # v4.6.0
+ - uses: actions/= upload-artifact@...2868... # v4.6.2
with: name: uncrustify-changes.patch
= path: 'openvpn/uncrustify-changes.patch'
@@ -58,1= 1 +58,16 @@
- name: Install vcpkg
= uses: lukka/run-vcpkg@...2815... # v11.5
wi= th:
- vcpkgGit= CommitId: 33e9c99208736b713cabe4490e15235f62f893d4
+ vcpkgGitCommitId: acd5bba5aac8b657= 3b5f6f463dc0341ac0ee6fa4
- name: Install dependencie= s
run: ${VCPKG_ROOT}/vcpkg install openssl lz4 cmo= cka
- name: configure OpenVPN with cmake
<= span style=3D"color: hsl(0, 100%, 40%);">- run: cmake -S . -B openvp= n-build -DUNSUPPORTED_BUILDS=3Dyes -DCMAKE_SYSTEM_NAME=3DAndroid -DOPENSSL_= ROOT_DIR=3D${VCPKG_INSTALLED_DIR}/${{ matrix.vcpkg_triplet }} -DENABLE_PKCS= 11=3Dfalse -DBUILD_TESTING=3Dtrue -DCMAKE_ANDROID_ARCH_ABI=3D${{ matrix.abi= }} -DENABLE_LZO=3Dfalse -DUSE_WERROR=3Dno

+ run: |
+ cmake -S . -B openvpn-build -DUNSUPPORTED_BUILD= S=3Dyes \
+ = -DCMAKE_SYSTEM_NAME=3DAndroid -DCMAKE_SYSTEM_VERSION=3D28 \
+ -DCMAKE_ANDROID_ARCH_= ABI=3D${{ matrix.abi }} \
+ -DOPENSSL_ROOT_DIR=3D${VCPKG_INSTALLED_DIR}/${{ matrix.vc= pkg_triplet }} \
+ = -DENABLE_PKCS11=3Dfalse -DBUILD_TESTING=3Dtrue -DENABLE_LZO=3Dfals= e -DUSE_WERROR=3Dno
- name: Build OpenVPN Android bi= nary with cmake
run: cmake --build openvpn-build

@@ -87,7 +92,7 @@
-= name: Restore from cache and install vcpkg
uses: = lukka/run-vcpkg@...2815... # v11.5
with:- vcpkgGitCommitId: 33e= 9c99208736b713cabe4490e15235f62f893d4
+ vcpkgGitCommitId: acd5bba5aac8b6573b5f6f463dc03= 41ac0ee6fa4
vcpkgJsonGlob: '**/mingw/vcpkg.j= son'

- name: Run CMake with vc= pkg.json manifest
@@ -97,7 +102,7 @@
= buildPreset: mingw-${{ matrix.arch }}
build= PresetAdditionalArgs: "['--config Debug']"

- - uses: acti= ons/upload-artifact@...2860... # v4.6.0
+ - uses: actions/upload-artifact@...2868... # v4.6= .2
with:
name: openvpn-= mingw-${{ matrix.arch }}
path: |
@@ -105,7 +110,7 @@
${{ github.workspace }}/o= ut/build/mingw/${{ matrix.arch }}/Debug/*.dll
= !${{ github.workspace }}/out/build/mingw/${{ matrix.arch }}/Debug/test_*.ex= e

- = - uses: actions/upload-artifact@...2860... # v4.6.0
+ - uses: actions/upload-artifact@...220...= ..2868... # v4.6.2
with:
= name: openvpn-mingw-${{ matrix.arch }}-tests
p= ath: |
@@ -126,7 +131,7 @@
- name: C= heckout OpenVPN
uses: actions/checkout@...2844... = # v4.2.2
- name: Retrieve mingw unittest
<= span style=3D"color: hsl(0, 100%, 40%);">- uses: actions/download-ar= tifact@...2817... # v4.1.8
+ uses: actions/download-artifact@...2869... # v4.2.1 with:
name: openvpn-mingw-${{ m= atrix.arch }}-tests
path: unittests
@@ -271,7 +276,7 @@
runs-on: windows-latest
steps:
- uses: actions/checkout@...220...= ..2844... # v4.2.2
- = - uses: lukka/get-cmake@...2861... # v3.31.5
+ - uses: lukka/get-cmake@...2870... # v3.3= 1.6

- name: Install rst2html

run: python -m pip install --upgrade pip docutils
@@ -279,7 +284,7 @@
- name: Restore artif= acts, or setup vcpkg (do not install any package)
= uses: lukka/run-vcpkg@...2815... # v11.5
with:

- vcpkgGitCommitI= d: 33e9c99208736b713cabe4490e15235f62f893d4
+ vcpkgGitCommitId: acd5bba5aac8b6573b5f6f4= 63dc0341ac0ee6fa4
vcpkgJsonGlob: '**/windows= /vcpkg.json'

- name: Run CMake= with vcpkg.json manifest (NO TESTS)
@@ -298,7 +303,7 @@
testPreset: win-${{ matrix.arch }}-release<= br> testPresetAdditionalArgs: "['--output-on-failu= re']"

- - uses: actions/upload-artifact@...2860... # v4.6.0=
+ - uses: actions/uplo= ad-artifact@...2868... # v4.6.2
with:
name: openvpn-msvc-${{ matrix.arch }}

= path: |
@@ -408,7 +413,7 @@
= submodules: true
# versioning=3Dsemver-coerced<= /span>
repository: Mbed-TLS/mbedtls
- ref: v3.6.2
+ ref: v3.6.3
= - name: "mbedtls: make no_test"
ru= n: make -j3 no_test SHARED=3D1
working-directory: = mbedtls
diff --git a/.github/workflows/coverity-scan.yml b/= .github/workflows/coverity-scan.yml
index 3381d8f..222c57e = 100644
--- a/.github/workflows/coverity-scan.yml
= +++ b/.github/workflows/coverity-scan.yml
@@ -13,7 +1= 3,7 @@
steps:
- name: Check sub= mission cache
id: check_submit
- uses: actions/cache/restore@...2825...= 47... # v4.2.0
+ = uses: actions/cache/restore@...2871... # v4.2.3
= with:
path: |
cov-= int
@@ -65,7 +65,7 @@

= - name: Cache submission
if: steps.check_submi= t.outputs.cache-hit !=3D 'true'
- uses: actions/cache/save@...2847... # v4.2.0
+ uses: actions/ca= che/save@...2871... # v4.2.3
with:
path: |

cov-int
di= ff --git a/.github/workflows/doxygen.yml b/.github/workflows/doxygen.yml
index f1ece70..ffd1b82 100644
--- a/.github/w= orkflows/doxygen.yml
+++ b/.github/workflows/doxygen.yml
@@ -34,7 +34,7 @@
touch doc/doxyge= n/html/.nojekyll
- name: Upload static files as arti= fact
id: deployment
- uses: actions/upload-pages-artifact@...2878...= ..
+ uses: act= ions/upload-pages-artifact@...2872... # v3.0.1
wit= h:
path: doxygen/doc/doxygen/html/

@@ -50,4 +50,4 @@
steps: - name: Deploy to GitHub Pages
id: = deployment
- use= s: actions/deploy-pages@...2859...
+ uses: actions/deploy-pages@...2873... # v4.0.5

To view, visit change 926. To unsubscribe, or for= help writing mail filters, visit settings.

Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Ie9bffcc487f53a3a8ae6e59b79e= 654360d99902c
Gerrit-Change-Number: 926
Gerrit-PatchSet: 2
Gerrit-Owner: flichtenheld <frank@...2723...= .>
Gerrit-Reviewer: plaisthos <arne-openvpn@...1186...= .1227...>
Gerrit-CC: openvpn-devel <openvpn-devel@...1484...= ts.sourceforge.net>
Gerrit-MessageType: merged
--y004BteoucI=--