From: "flichtenheld (Code Review)" Date: Mon, 8 Dec 2025 16:49:11 +0000 References: Reply-To: frank@...2641..., arne-openvpn@...1227..., openvpn-devel@lists.sourceforge.net Message-ID: <5001c42032e6a495806f8e03098935e5a5cdb2e1-HTML@...2715...> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: multipart/alternative; boundary="J8Tzag+wZqA="; charset=UTF-8 Subject: [Openvpn-devel] [S] Change in openvpn[master]: GHA: Add minGW Release build List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: plaisthos Cc: openvpn-devel --J8Tzag+wZqA= 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/+/1421?usp=3Demail to review the following change. Change subject: GHA: Add minGW Release build ...................................................................... GHA: Add minGW Release build There are sometimes differences in the build results. Change-Id: I9e1d935f617db9198ed5934b88c0fcdef61a8568 Signed-off-by: Frank Lichtenheld --- M .github/workflows/build.yaml 1 file changed, 13 insertions(+), 11 deletions(-) git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/21/1421/1 diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index ea45740..ce730f6 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -68,8 +68,9 @@ fail-fast: false matrix: arch: [x86, x64] + build: [Release, Debug] - name: "gcc-mingw - ${{ matrix.arch }} - OSSL" + name: "gcc-mingw - ${{ matrix.arch }} - ${{matrix.build }} - OSSL" runs-on: ubuntu-24.04 env: VCPKG_ROOT: ${{ github.workspace }}/vcpkg @@ -91,22 +92,22 @@ with: configurePreset: mingw-${{ matrix.arch }} buildPreset: mingw-${{ matrix.arch }} - buildPresetAdditionalArgs: "['--config Debug']" + buildPresetAdditionalArgs: "['--config ${{ matrix.build }}']" - uses: actions/upload-artifact@...2956... # v5.0.0 with: - name: openvpn-mingw-${{ matrix.arch }} + name: openvpn-mingw-${{ matrix.arch }}-${{ matrix.build }} path: | - ${{ github.workspace }}/out/build/mingw/${{ matrix.arch }}/**/= Debug/*.exe - ${{ github.workspace }}/out/build/mingw/${{ matrix.arch }}/**/= Debug/*.dll - !${{ github.workspace }}/out/build/mingw/${{ matrix.arch }}/De= bug/test_*.exe + ${{ github.workspace }}/out/build/mingw/${{ matrix.arch }}/**/= ${{ matrix.build }}/*.exe + ${{ github.workspace }}/out/build/mingw/${{ matrix.arch }}/**/= ${{ matrix.build }}/*.dll + !${{ github.workspace }}/out/build/mingw/${{ matrix.arch }}/${= { matrix.build }}/test_*.exe - uses: actions/upload-artifact@...2956... # v5.0.0 with: - name: openvpn-mingw-${{ matrix.arch }}-tests + name: openvpn-mingw-${{ matrix.arch }}-${{ matrix.build }}-tests path: | - ${{ github.workspace }}/out/build/mingw/${{ matrix.arch }}/Deb= ug/test_*.exe - ${{ github.workspace }}/out/build/mingw/${{ matrix.arch }}/Deb= ug/*.dll + ${{ github.workspace }}/out/build/mingw/${{ matrix.arch }}/${{= matrix.build }}/test_*.exe + ${{ github.workspace }}/out/build/mingw/${{ matrix.arch }}/${{= matrix.build }}/*.dll mingw-unittest: needs: [ mingw ] @@ -115,16 +116,17 @@ matrix: arch: [x86, x64] test: [argv, auth_token, buffer, cryptoapi, crypto, misc, options_= parse, ncp, packet_id, pkt, provider, ssl, tls_crypt, user_pass] + build: [Release, Debug] runs-on: windows-2025 - name: "mingw unittest ${{ matrix.test }} - ${{ matrix.arch }} - OSSL" + name: "mingw unittest ${{ matrix.test }} - ${{ matrix.arch }} - ${{ ma= trix.build }} - OSSL" steps: - name: Checkout OpenVPN uses: actions/checkout@...2955... # v5.0.1 - name: Retrieve mingw unittest uses: actions/download-artifact@...2958... # v6.0.0 with: - name: openvpn-mingw-${{ matrix.arch }}-tests + name: openvpn-mingw-${{ matrix.arch }}-${{ matrix.build }}-tests path: unittests - name: Run ${{ matrix.test }} unit test run: ./unittests/test_${{ matrix.test }}.exe -- To view, visit http://gerrit.openvpn.net/c/openvpn/+/1421?usp=3Demail To unsubscribe, or for help writing mail filters, visit http://gerrit.openv= pn.net/settings?usp=3Demail Gerrit-MessageType: newchange Gerrit-Project: openvpn Gerrit-Branch: master Gerrit-Change-Id: I9e1d935f617db9198ed5934b88c0fcdef61a8568 Gerrit-Change-Number: 1421 Gerrit-PatchSet: 1 Gerrit-Owner: flichtenheld Gerrit-Reviewer: plaisthos Gerrit-CC: openvpn-devel Gerrit-Attention: plaisthos --J8Tzag+wZqA= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Attention is cur= rently required from: plaisthos.

flichtenheld would like plaisthos to review this change.

V= iew Change

GHA: Add minGW Release build

There a= re sometimes differences in the build results.

Change-Id: I9e1d935f6= 17db9198ed5934b88c0fcdef61a8568
Signed-off-by: Frank Lichtenheld <fra= nk@...2641...>
---
M .github/workflows/build.yaml
1 file change= d, 13 insertions(+), 11 deletions(-)

git pull ss=
h://gerrit.openvpn.net:29418/openvpn refs/changes/21/1421/1
diff --=
git a/.github/workflows/build.yaml b/.github/workflows/build.yamlindex ea45740..ce730f6 100644
--- a/.github/workflow= s/build.yaml
+++ b/.github/workflows/build.yaml
<= span>@@ -68,8 +68,9 @@
fail-fast: false
matrix:
arch: [x86, x64]
+ build: [Release, Debug]


- na= me: "gcc-mingw - ${{ matrix.arch }} - OSSL"
+ name: "gcc-mingw - ${{ matrix.ar= ch }} - ${{matrix.build }} - OSSL"
runs-on: ubunt= u-24.04
env:
VCPKG_ROOT: ${{ gi= thub.workspace }}/vcpkg
@@ -91,22 +92,22 @@
with:
configurePreset: mingw-${{ matri= x.arch }}
buildPreset: mingw-${{ matrix.arch }}<= /span>
- buildPresetA= dditionalArgs: "['--config Debug']"
+ buildPresetAdditionalArgs: &quo= t;['--config ${{ matrix.build }}']"
- uses: actions/upload-artifact@...2956... # v5.0.0 with:
= - name: openvpn-mingw-${{ matrix.arch }}
+ name: openvpn-mingw-${{ matrix.arch= }}-${{ matrix.build }}
path: |
- ${{ github.workspace }}/ou= t/build/mingw/${{ matrix.arch }}/**/Debug/*.exe
- ${{ github.workspace }}/out/build/min= gw/${{ matrix.arch }}/**/Debug/*.dll
- !${{ github.workspace }}/out/build/mingw/${{ mat= rix.arch }}/Debug/test_*.exe
+ ${{ github.workspace }}/out/build/mingw/${{ matrix.arc= h }}/**/${{ matrix.build }}/*.exe
+ ${{ github.workspace }}/out/build/mingw/${{ matri= x.arch }}/**/${{ matrix.build }}/*.dll
+ !${{ github.workspace }}/out/build/mingw/${{= matrix.arch }}/${{ matrix.build }}/test_*.exe

= - uses: actions/upload-artifact@...2956... # v5.0.0
= with:
- = name: openvpn-mingw-${{ matrix.arch }}-tests
+ name: openvpn-mingw-${{ matrix.= arch }}-${{ matrix.build }}-tests
path: |=
- ${{ github.works= pace }}/out/build/mingw/${{ matrix.arch }}/Debug/test_*.exe
- ${{ github.workspace }}/o= ut/build/mingw/${{ matrix.arch }}/Debug/*.dll

+ ${{ github.workspace }}/out/build/min= gw/${{ matrix.arch }}/${{ matrix.build }}/test_*.exe
+ ${{ github.workspace }}/out/b= uild/mingw/${{ matrix.arch }}/${{ matrix.build }}/*.dll

mingw-unittest:
needs: [ mingw ]
@@ -115,16 +116,17 @@
matrix: arch: [x86, x64]
test: [argv, auth= _token, buffer, cryptoapi, crypto, misc, options_parse, ncp, packet_id, pkt= , provider, ssl, tls_crypt, user_pass]
+ build: [Release, Debug]
=
runs-on: windows-2025
- name: "mingw unittest ${{ matrix.test }} - ${{ matr= ix.arch }} - OSSL"
+ name: "mingw unittest ${{ matrix.test }} - ${{ matrix.arch }} = - ${{ matrix.build }} - OSSL"
steps:
- name: Checkout OpenVPN

uses: actions/= checkout@...2955... # v5.0.1
- name: Retrieve mingw = unittest
uses: actions/download-artifact@...2972...= . # v6.0.0
with:
- name: openvpn-mingw-${{ matrix.arch }}-tests<= /span>
+ name: open= vpn-mingw-${{ matrix.arch }}-${{ matrix.build }}-tests
= path: unittests
- name: Run ${{ matrix.test }= } unit test
run: ./unittests/test_${{ matrix.test = }}.exe

To view, visit change 1421. To unsub= scribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: newchange
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I9e1d935f617db9198ed5934b88c= 0fcdef61a8568
Gerrit-Change-Number: 1421
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...>
= --J8Tzag+wZqA=--