From: "cron2 (Code Review)" Date: Mon, 8 Dec 2025 19:29:58 +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="Mta9exaGaAY="; 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: flichtenheld Cc: plaisthos , openvpn-devel --Mta9exaGaAY= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable cron2 has submitted this change. ( http://gerrit.openvpn.net/c/openvpn/+/14= 21?usp=3Demail ) 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 Acked-by: Gert Doering Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1421 Message-Id: <20251208170937.5221-1-gert@...1296...> URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg34= 896.html Signed-off-by: Gert Doering --- M .github/workflows/build.yaml 1 file changed, 13 insertions(+), 11 deletions(-) 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: merged Gerrit-Project: openvpn Gerrit-Branch: master Gerrit-Change-Id: I9e1d935f617db9198ed5934b88c0fcdef61a8568 Gerrit-Change-Number: 1421 Gerrit-PatchSet: 2 Gerrit-Owner: flichtenheld Gerrit-Reviewer: cron2 Gerrit-Reviewer: plaisthos Gerrit-CC: openvpn-devel --Mta9exaGaAY= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

cron2 sub= mitted this change.

View Change

GHA: Add minGW Release build

There are so= metimes differences in the build results.

Change-Id: I9e1d935f617db9= 198ed5934b88c0fcdef61a8568
Signed-off-by: Frank Lichtenheld <frank@...1186...= .2641...>
Acked-by: Gert Doering <gert@...1296...>
Gerrit UR= L: https://gerrit.openvpn.net/c/openvpn/+/1421
Message-Id: <202512081= 70937.5221-1-gert@...1296...>
URL: https://www.mail-archive.com/openv= pn-devel@lists.sourceforge.net/msg34896.html
Signed-off-by: Gert Doering= <gert@...1296...>
---
M .github/workflows/build.yaml
1 file= changed, 13 insertions(+), 11 deletions(-)

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

index ea45740..ce730f6 100644
--- a/.githu= b/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"
<= span style=3D"color: hsl(120, 100%, 40%);">+ name: "gcc-mingw - ${{= matrix.arch }} - ${{matrix.build }} - OSSL"

runs= -on: ubuntu-24.04
env:
VCPKG_RO= OT: ${{ github.workspace }}/vcpkg
@@ -91,22 +92,22 @@
with:
configurePreset: mingw= -${{ matrix.arch }}
buildPreset: mingw-${{ matri= x.arch }}
- bu= ildPresetAdditionalArgs: "['--config Debug']"
<= span style=3D"color: hsl(120, 100%, 40%);">+ buildPresetAdditional= Args: "['--config ${{ matrix.build }}']"

=
- uses: actions/upload-artifact@...2956... # v5.0.= 0
with:
- name: openvpn-mingw-${{ matrix.arch }}
+ name: openvpn-mingw-${{ m= atrix.arch }}-${{ matrix.build }}

path: |=
- ${{ github.works= pace }}/out/build/mingw/${{ matrix.arch }}/**/Debug/*.exe
- ${{ github.workspace }}/out= /build/mingw/${{ matrix.arch }}/**/Debug/*.dll
- !${{ github.workspace }}/out/build/min= gw/${{ matrix.arch }}/Debug/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
<= /span>
- uses: actions/upload-artifact@...2956... # v5.0.0<= /span>
with:
- name: openvpn-mingw-${{ matrix.arch }}-tests
<= span style=3D"color: hsl(120, 100%, 40%);">+ name: openvpn-mingw-$= {{ matrix.arch }}-${{ matrix.build }}-tests

path= : |
- ${{ gi= thub.workspace }}/out/build/mingw/${{ matrix.arch }}/Debug/test_*.exe
- ${{ github.work= space }}/out/build/mingw/${{ matrix.arch }}/Debug/*.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: [ mi= ngw ]
@@ -115,16 +116,17 @@
matrix:<= /span>
arch: [x86, x64]
test: [a= rgv, auth_token, buffer, cryptoapi, crypto, misc, options_parse, ncp, packe= t_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 }} - ${{ matrix.build }} - OSSL"
steps:

- name: Checkout OpenVPN
uses:= actions/checkout@...2955... # v5.0.1
- name: Retrie= ve mingw unittest
uses: actions/download-artifact@= ...2958... # v6.0.0
with:
- name: openvpn-mingw-${{ matrix.arch = }}-tests
+ n= ame: openvpn-mingw-${{ matrix.arch }}-${{ matrix.build }}-tests
<= span> path: unittests
- name: Run ${{ matr= ix.test }} unit test
run: ./unittests/test_${{ mat= rix.test }}.exe

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

Gerrit-MessageType: merged
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I9e1d935f617db9198ed5934b88c= 0fcdef61a8568
Gerrit-Change-Number: 1421
Gerrit-PatchSet: 2
Gerrit-Owner: flichtenheld <frank@...2723...= .>
Gerrit-Reviewer: cron2 <gert@...1296...>=
Gerrit-Reviewer: plaisthos <arne-openvpn@...1186...= .1227...>
Gerrit-CC: openvpn-devel <openvpn-devel@...1484...= ts.sourceforge.net>
= --Mta9exaGaAY=--