From: "flichtenheld (Code Review)" Date: Mon, 31 Mar 2025 12:09:42 +0000 References: Reply-To: frank@...2641..., arne-openvpn@...1227..., openvpn-devel@lists.sourceforge.net Message-ID: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: multipart/alternative; boundary="Br29M1Sn8K0="; 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: plaisthos Cc: openvpn-devel --Br29M1Sn8K0= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Attention is currently required from: plaisthos. Hello plaisthos, I'd like you to do a code review. Please visit http://gerrit.openvpn.net/c/openvpn/+/926?usp=3Demail to review the following change. 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 --- M .github/workflows/build.yaml M .github/workflows/coverity-scan.yml M .github/workflows/doxygen.yml 3 files changed, 20 insertions(+), 15 deletions(-) git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/26/926/1 diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index b1af7ec..3fc44f5 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' @@ -57,11 +57,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 @@ -85,7 +90,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 @@ -95,7 +100,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: | @@ -103,7 +108,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: | @@ -124,7 +129,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 @@ -269,7 +274,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 @@ -277,7 +282,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) @@ -296,7 +301,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: | @@ -406,7 +411,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: 1 Gerrit-Owner: flichtenheld Gerrit-Reviewer: plaisthos Gerrit-CC: openvpn-devel Gerrit-Attention: plaisthos Gerrit-MessageType: newchange --Br29M1Sn8K0= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Attention is currently required from: plaisthos.

flichtenheld would like plaisthos to review this change.

Vi= ew Change

GHA: Dependency and Actions update April 2025

- Fix An= droid build with newer vcpkg
Need to sync CMAKE_SYSTEM_VERSION with vc= pkg.
- Update mbedTLS v3 builds to latest release.
Depends on commi= t
4897c522948c8cdb82c0325ee08f6907cfc16f57
- Update all actions to = latest releases.

Change-Id: Ie9bffcc487f53a3a8ae6e59b79e654360d99902= c
Signed-off-by: Frank Lichtenheld <frank@...2641...>
---
M = .github/workflows/build.yaml
M .github/workflows/coverity-scan.yml
M = .github/workflows/doxygen.yml
3 files changed, 20 insertions(+), 15 dele= tions(-)

git pull ssh://gerrit.openvpn.net:29418/openvpn refs/cha=
nges/26/926/1
diff --git a/.github/workflows/build.yaml b/.github/w=
orkflows/build.yaml
index b1af7ec..3fc44f5 100644--- a/.github/workflows/build.yaml
+++ b/.github/wor= kflows/build.yaml
@@ -27,7 +27,7 @@
= - name: Show changes on standard output
run: git d= iff
working-directory: openvpn
- - uses: actions/upload-artifact@...493...= 2860... # v4.6.0
+ = - uses: actions/upload-artifact@...2868... # v4.6.2
= with:
name: uncrustify-changes.patch=
path: 'openvpn/uncrustify-changes.patch'
@@ -57,11 +57,16 @@
- name: Install vcpkg=
uses: lukka/run-vcpkg@...2815... # v11.5 with:
= - vcpkgGitCommitId: 33e9c99208736b713cabe4490e15235f62f893d4
+ vcpkgGitCommitI= d: acd5bba5aac8b6573b5f6f463dc0341ac0ee6fa4
- name: = Install dependencies
run: ${VCPKG_ROOT}/vcpkg inst= all openssl lz4 cmocka
- name: configure OpenVPN wit= h cmake
- run: c= make -S . -B openvpn-build -DUNSUPPORTED_BUILDS=3Dyes -DCMAKE_SYSTEM_NAME= =3DAndroid -DOPENSSL_ROOT_DIR=3D${VCPKG_INSTALLED_DIR}/${{ matrix.vcpkg_tri= plet }} -DENABLE_PKCS11=3Dfalse -DBUILD_TESTING=3Dtrue -DCMAKE_ANDROID_ARCH= _ABI=3D${{ matrix.abi }} -DENABLE_LZO=3Dfalse -DUSE_WERROR=3Dno
<= span style=3D"color: hsl(120, 100%, 40%);">+ run: |

+ cmake -S . -B openvpn-buil= d -DUNSUPPORTED_BUILDS=3Dyes \
+ -DCMAKE_SYSTEM_NAME=3DAndroid -DCMAKE_SYSTEM_VERSION= =3D28 \
+ = -DCMAKE_ANDROID_ARCH_ABI=3D${{ matrix.abi }} \
+ -DOPENSSL_ROOT_DIR=3D${VCPKG_INSTALL= ED_DIR}/${{ matrix.vcpkg_triplet }} \
+ -DENABLE_PKCS11=3Dfalse -DBUILD_TESTING=3Dtru= e -DENABLE_LZO=3Dfalse -DUSE_WERROR=3Dno
- name: Bui= ld OpenVPN Android binary with cmake
run: cmake --= build openvpn-build

@@ -85,7 +90,7 @@
- name: Restore from cache and install vcpkg
= uses: lukka/run-vcpkg@...2815... # v11.5
= with:
- = vcpkgGitCommitId: 33e9c99208736b713cabe4490e15235f62f893d4
+ vcpkgGitCommitId: acd5bba5= aac8b6573b5f6f463dc0341ac0ee6fa4
vcpkgJsonGlob: = '**/mingw/vcpkg.json'

- na= me: Run CMake with vcpkg.json manifest
@@ -95,7 +100,7 @@
buildPreset: mingw-${{ matrix.arch }}
<= span> buildPresetAdditionalArgs: "['--config Debug']= "


+ - uses: actions/upload-artif= act@...2868... # v4.6.2
with:
= name: openvpn-mingw-${{ matrix.arch }}
pa= th: |
@@ -103,7 +108,7 @@
${{ = github.workspace }}/out/build/mingw/${{ matrix.arch }}/Debug/*.dll !${{ github.workspace }}/out/build/mingw/${{ matrix.ar= ch }}/Debug/test_*.exe

- - uses: actions/upload-artifact@...2860... # v4.6.= 0
+ - uses: acti= ons/upload-artifact@...2868... # v4.6.2
with:
name: openvpn-mingw-${{ matrix.arch }}-tests<= br> path: |
@@ -124,7 +129,7 @@
<= span> - 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@...2874...= ... # v4.2.1
with:
name= : openvpn-mingw-${{ matrix.arch }}-tests
path: u= nittests
@@ -269,7 +274,7 @@
runs-on= : windows-latest
steps:
- use= s: actions/checkout@...2844... # v4.2.2
- - uses: lukka/get-cmake@...2861... # v3.31.5=
+ - uses: lukka/get-cm= ake@...2870... # v3.31.6

- name: I= nstall rst2html
run: python -m pip install --upgra= de pip docutils
@@ -277,7 +282,7 @@
= - name: Restore artifacts, or setup vcpkg (do not install any package)
uses: lukka/run-vcpkg@...2815... # v11.5
with:

- = vcpkgGitCommitId: 33e9c99208736b713cabe4490e15235f62f893d4
= + vcpkgGitCommitId: ac= d5bba5aac8b6573b5f6f463dc0341ac0ee6fa4
vcpkgJson= Glob: '**/windows/vcpkg.json'

= - name: Run CMake with vcpkg.json manifest (NO TESTS)
@= @ -296,7 +301,7 @@
testPreset: win-${{ matrix.ar= ch }}-release
testPresetAdditionalArgs: "[&= #39;--output-on-failure']"

- - uses: actions/upload-artifact@...2825...= 60... # v4.6.0
+ = - uses: actions/upload-artifact@...2868... # v4.6.2
= with:
name: openvpn-msvc-${{ matrix.arch }}
path: |
@@ -406,7 +411,7 @@
submodules: true
# version= ing=3Dsemver-coerced
repository: Mbed-TLS/mbedtl= s
- 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/coverity-scan.yml
in= dex 3381d8f..222c57e 100644
--- a/.github/workflows/coverit= y-scan.yml
+++ b/.github/workflows/coverity-scan.yml=
@@ -13,7 +13,7 @@
steps:
= - name: Check submission cache
id: check_submi= t
- uses: action= s/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@...493...= 2847... # v4.2.0

+ = uses: actions/cache/save@...2871... # v4.2.3
= with:
path: |
cov-i= nt
diff --git a/.github/workflows/doxygen.yml b/.github/wor= kflows/doxygen.yml
index f1ece70..ffd1b82 100644
= --- a/.github/workflows/doxygen.yml
+++ b/.github/wor= kflows/doxygen.yml
@@ -34,7 +34,7 @@
= touch doc/doxygen/html/.nojekyll
- name: Upload= static files as artifact
id: deployment- uses: actions/upload-pa= ges-artifact@...2858...
+ uses: actions/upload-pages-artifact@...2872... # v3.0.1<= br> with:
path: doxygen/doc/doxyge= n/html/

@@ -50,4 +50,4 @@
steps:

- name: Deploy to GitHub Pages id: deployment
- uses: actions/deploy-pages@...2859...
+ uses: actions/deploy-pages@...1665...= 873... # 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: 1
Gerrit-Owner: flichtenheld <frank@...2723...= .>
Gerrit-Reviewer: plaisthos <arne-openvpn@...1186...= .1227...>
Gerrit-CC: openvpn-devel <openvpn-devel@...1484...= ts.sourceforge.net>
Gerrit-Attention: plaisthos <arne-openvpn@...220...= ..1227...>
Gerrit-MessageType: newchange
--Br29M1Sn8K0=--