mirror of
https://github.com/OpenVPN/openvpn.git
synced 2026-05-28 04:03:29 -04:00
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 <arne-openvpn@rfc2549.org>
Acked-by: Frank Lichtenheld <frank@lichtenheld.com>
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 <gert@greenie.muc.de>
(cherry picked from commit 30c1c8cd61)
This commit is contained in:
parent
068598717a
commit
7158e76feb
1 changed files with 6 additions and 6 deletions
12
.github/workflows/build.yaml
vendored
12
.github/workflows/build.yaml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue