From: Frank Lichtenheld Date: Thu, 12 Sep 2024 17:49:10 +0000 (+0200) Subject: GHA: Enable t_server_null tests X-Git-Tag: v2.7_alpha1~201 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=65985905c5abc69c1ee34c4cab6fdf8b73da7f50;p=thirdparty%2Fopenvpn.git GHA: Enable t_server_null tests Change-Id: I86203b8f9a6d3cfc5e56d3ce9452af694fd11011 Signed-off-by: Frank Lichtenheld Acked-by: Gert Doering Message-Id: <20240912174910.21058-1-gert@greenie.muc.de> URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg29231.html Signed-off-by: Gert Doering --- diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 8f0a7b59d..361d457ac 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -172,8 +172,11 @@ jobs: run: ./configure --with-crypto-library=${{matrix.ssllib}} ${{matrix.extraconf}} --enable-werror - name: make all run: make -j3 + - name: configure checks + if: ${{ matrix.extraconf != '--disable-management' }} + run: echo 'RUN_SUDO="sudo -E"' >tests/t_server_null.rc - name: make check - run: make check VERBOSE=1 + run: make -j3 check VERBOSE=1 ubuntu-clang-asan: strategy: @@ -199,8 +202,10 @@ jobs: run: CFLAGS="-fsanitize=address,undefined -fno-sanitize-recover=all -fno-omit-frame-pointer -O2" CC=clang ./configure --with-crypto-library=${{matrix.ssllib}} --enable-werror - name: make all run: make -j3 + - name: configure checks + run: echo 'RUN_SUDO="sudo -E"' >tests/t_server_null.rc - name: make check - run: make check VERBOSE=1 + run: make -j3 check VERBOSE=1 macos: strategy: @@ -258,8 +263,10 @@ jobs: run: ./configure --enable-werror ${{matrix.configureflags}} ${{matrix.configuressllib}} - name: make all run: make -j4 + - name: configure checks + run: echo 'RUN_SUDO="sudo -E"' >tests/t_server_null.rc - name: make check - run: make check VERBOSE=1 + run: make -j4 check VERBOSE=1 msvc: strategy: @@ -369,8 +376,10 @@ jobs: run: ./configure --with-crypto-library=openssl ${{matrix.configureflags}} --enable-werror - name: make all run: make -j3 + - name: configure checks + run: echo 'RUN_SUDO="sudo -E"' >tests/t_server_null.rc - name: make check - run: make check VERBOSE=1 + run: make -j3 check VERBOSE=1 mbedtls3: strategy: @@ -422,5 +431,7 @@ jobs: run: ./configure --with-crypto-library=mbedtls - name: make all run: make -j3 + - name: configure checks + run: echo 'RUN_SUDO="sudo -E"' >tests/t_server_null.rc - name: make check - run: make check VERBOSE=1 + run: make -j3 check VERBOSE=1