From 7158e76feb980443d97ebe321b2a7a54659b7ab4 Mon Sep 17 00:00:00 2001 From: Arne Schwabe Date: Fri, 13 Mar 2026 16:30:01 +0100 Subject: [PATCH] GHA: Install aws-lc under /opt/aws-lc The previous installation inside the OpenVPN workspace directory caused the AWS-LC installation to be deleted. And that caused to OpenSSL to be used instead of AWS-LC during the build This also removes the --enable-werror flag from AWS-LC because it currently not even close to build without warnings. Change-Id: I090f5b201d67f51d2e42df1914a8466bcfcb6bf8 Signed-off-by: Arne Schwabe Acked-by: Frank Lichtenheld Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1565 Message-Id: <20260313153007.31810-1-gert@greenie.muc.de> URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg36106.html Signed-off-by: Gert Doering (cherry picked from commit 30c1c8cd61db9eb35f6c263a0ca3ec0714c88eb4) --- .github/workflows/build.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index b2131921..2a2616bb 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -454,7 +454,7 @@ jobs: CC: ${{matrix.cc}} CXX: ${{matrix.cxx}} UBSAN_OPTIONS: print_stacktrace=1 - AWS_LC_INSTALL: ${{ github.workspace }}/aws-lc/aws-lc-install + AWS_LC_INSTALL: /opt/aws-lc steps: - name: Install dependencies @@ -465,7 +465,7 @@ jobs: path: aws-lc # versioning=semver-coerced repository: aws/aws-lc - ref: v1.67.0 + ref: v1.70.0 - uses: lukka/get-cmake@f176ccd3f28bda569c43aae4894f06b2435a3375 # v4.2.3 - name: "AWS-LC: build" run: | @@ -480,10 +480,10 @@ jobs: run: autoreconf -fvi - name: configure with AWS-LC run: | - OPENSSL_CFLAGS="-I/${{ env.AWS_LC_INSTALL }}/include" \ - OPENSSL_LIBS="-L/${{ env.AWS_LC_INSTALL }}/lib -lssl -lcrypto" \ - LDFLAGS="-Wl,-rpath=/${{ env.AWS_LC_INSTALL }}/lib" \ - ./configure --with-crypto-library=openssl --enable-werror + OPENSSL_CFLAGS="-I${{ env.AWS_LC_INSTALL }}/include" \ + OPENSSL_LIBS="-L${{ env.AWS_LC_INSTALL }}/lib -lssl -lcrypto" \ + LDFLAGS="-Wl,-rpath=${{ env.AWS_LC_INSTALL }}/lib" \ + ./configure --with-crypto-library=openssl - name: make all run: make -j3 - name: configure checks