From: Frank Lichtenheld Date: Sat, 24 Jan 2026 18:18:07 +0000 (+0100) Subject: GHA: Update mbedtls to v4 X-Git-Tag: v2.7_rc6~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c7fbd8a302ac679d2fead0c70dcfff61ce953c47;p=thirdparty%2Fopenvpn.git GHA: Update mbedtls to v4 Also switch from Make to CMake for building it because the former is not supported anymore. Change-Id: I658b1b24da304938225a8f834d7484671a63360f Signed-off-by: Frank Lichtenheld Acked-by: Yuriy Darnobyt Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1474 Message-Id: <20260124181814.30331-1-gert@greenie.muc.de> URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg35421.html Signed-off-by: Gert Doering --- diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index d1322c71e..ef9b3f52b 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -366,12 +366,12 @@ jobs: - name: make check run: make -j3 check VERBOSE=1 - mbedtls3: + mbedtls4: strategy: fail-fast: false matrix: os: [ubuntu-22.04] - ssllib: [mbedtls3] + ssllib: [mbedtls4] build: [ normal, asan ] include: - build: asan @@ -398,15 +398,19 @@ jobs: uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 with: path: mbedtls - submodules: true + submodules: recursive # versioning=semver-coerced repository: Mbed-TLS/mbedtls - ref: v3.6.5 - - name: "mbedtls: make no_test" - run: make -j3 no_test SHARED=1 + ref: v4.0.0 + - uses: lukka/get-cmake@2ecc21724e5215b0e567bc399a2602d2ecb48541 # v4.1.1 + - name: "mbedtls: cmake" + run: cmake -B build working-directory: mbedtls - - name: "mbedtls: make install" - run: sudo make install DESTDIR=/usr + - name: "mbedtls: cmake --build" + run: cmake --build build + working-directory: mbedtls + - name: "mbedtls: cmake --install" + run: sudo cmake --install build --prefix /usr working-directory: mbedtls - name: Checkout OpenVPN uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1