From: "plaisthos (Code Review)" Date: Fri, 13 Mar 2026 12:19:28 +0000 References: Reply-To: arne-openvpn@...1227..., openvpn-devel@lists.sourceforge.net Message-ID: <69059cc48a98a0385c8aba14e66936b594c2cce3-HTML@...2715...> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: multipart/alternative; boundary="fIFCmzsMbKA="; charset=UTF-8 Subject: [Openvpn-devel] [S] Change in openvpn[master]: [GHA] Cache install of aws-lc List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: openvpn-devel --fIFCmzsMbKA= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable plaisthos has uploaded this change for review. ( http://gerrit.openvpn.net/= c/openvpn/+/1576?usp=3Demail ) Change subject: [GHA] Cache install of aws-lc ...................................................................... [GHA] Cache install of aws-lc Change-Id: I85c874c5808fc50415dd55fc9100244fb2d4f9e9 --- M .github/workflows/build.yaml 1 file changed, 17 insertions(+), 6 deletions(-) git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/76/1576/1 diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index b213192..2e9b62a 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -454,20 +454,29 @@ CC: ${{matrix.cc}} CXX: ${{matrix.cxx}} UBSAN_OPTIONS: print_stacktrace=3D1 - AWS_LC_INSTALL: ${{ github.workspace }}/aws-lc/aws-lc-install + AWS_LC_INSTALL: /opt/aws-lc + AWS_LC_VERSION: v1.70.0 steps: - name: Install dependencies run: sudo apt update && sudo apt install -y gcc golang make liblzo= 2-dev libpam0g-dev liblz4-dev linux-libc-dev man2html clang libcmocka-dev p= ython3-docutils python3-jinja2 python3-jsonschema libtool automake autoconf= pkg-config libcap-ng-dev libnl-genl-3-dev + - name: Restore AWS-LC from cache + uses: actions/cache@...3010... + id: aws-lc-cache + with: + path: ${{ env.AWS_LC_INSTALL }} + key: ${{ matrix.os }}-aws-lc-${{ env.AWS_LC_VERSION }} - name: "AWS-LC: checkout" + if: steps.aws-lc-cache.outputs.cache-hit !=3D 'true' uses: actions/checkout@...2998... # v6.0.2 with: path: aws-lc # versioning=3Dsemver-coerced repository: aws/aws-lc - ref: v1.67.0 + ref: ${{ env.AWS_LC_VERSION }} - uses: lukka/get-cmake@...2999... # v4.2.3 - name: "AWS-LC: build" + if: steps.aws-lc-cache.outputs.cache-hit !=3D 'true' run: | mkdir build cd build @@ -478,12 +487,14 @@ uses: actions/checkout@...2998... # v6.0.2 - name: autoconf run: autoreconf -fvi + - name: list aws-lc install + run: find ${{ env.AWS_LC_INSTALL }} - name: configure with AWS-LC run: | - OPENSSL_CFLAGS=3D"-I/${{ env.AWS_LC_INSTALL }}/include" \ - OPENSSL_LIBS=3D"-L/${{ env.AWS_LC_INSTALL }}/lib -lssl -lcrypto"= \ - LDFLAGS=3D"-Wl,-rpath=3D/${{ env.AWS_LC_INSTALL }}/lib" \ - ./configure --with-crypto-library=3Dopenssl --enable-werror + OPENSSL_CFLAGS=3D"-I${{ env.AWS_LC_INSTALL }}/include" \ + OPENSSL_LIBS=3D"-L${{ env.AWS_LC_INSTALL }}/lib -lssl -lcrypto" \ + LDFLAGS=3D"-Wl,-rpath=3D${{ env.AWS_LC_INSTALL }}/lib" \ + ./configure --with-crypto-library=3Dopenssl - name: make all run: make -j3 - name: configure checks -- To view, visit http://gerrit.openvpn.net/c/openvpn/+/1576?usp=3Demail To unsubscribe, or for help writing mail filters, visit http://gerrit.openv= pn.net/settings?usp=3Demail Gerrit-MessageType: newchange Gerrit-Project: openvpn Gerrit-Branch: master Gerrit-Change-Id: I85c874c5808fc50415dd55fc9100244fb2d4f9e9 Gerrit-Change-Number: 1576 Gerrit-PatchSet: 1 Gerrit-Owner: plaisthos Gerrit-CC: openvpn-devel --fIFCmzsMbKA= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

plaisthos has upl= oaded this change for review.

View Change

[GHA] Cache install of aws-lc

Change-Id: I85c874c5808fc50415dd55= fc9100244fb2d4f9e9
---
M .github/workflows/build.yaml
1 file chang= ed, 17 insertions(+), 6 deletions(-)

git pull ss=
h://gerrit.openvpn.net:29418/openvpn refs/changes/76/1576/1
diff --=
git a/.github/workflows/build.yaml b/.github/workflows/build.yamlindex b213192..2e9b62a 100644
--- a/.github/workflow= s/build.yaml
+++ b/.github/workflows/build.yaml
<= span>@@ -454,20 +454,29 @@
CC: ${{matrix.cc}}=
CXX: ${{matrix.cxx}}
UBSAN_OPTIONS:= print_stacktrace=3D1
-= AWS_LC_INSTALL: ${{ github.workspace }}/aws-lc/aws-lc-install<= br>+ AWS_LC_INSTALL: /opt/= aws-lc
+ AWS_LC_= VERSION: v1.70.0

steps:
- name: Install dependencies
run: sudo = apt update && sudo apt install -y gcc golang make liblzo2-dev libpa= m0g-dev liblz4-dev linux-libc-dev man2html clang libcmocka-dev python3-docu= tils python3-jinja2 python3-jsonschema libtool automake autoconf pkg-config= libcap-ng-dev libnl-genl-3-dev
+ - name: Restore AWS-LC from cache
+ uses: actions/cache@...3010...

+ id: aws-lc-cac= he
+ with:
+ path: ${{ env= .AWS_LC_INSTALL }}
+ = key: ${{ matrix.os }}-aws-lc-${{ env.AWS_LC_VERSION }}
<= span> - name: "AWS-LC: checkout"

+ if: steps.aws-lc-cache.outputs.cache-h= it !=3D 'true'
uses: actions/checkout@...1665...= 998... # v6.0.2
with:
p= ath: aws-lc
# versioning=3Dsemver-coerced=
repository: aws/aws-lc
- ref: v1.67.0
+ ref: ${{ env.AWS_LC_VERSION }} - uses: lukka/get-cmake@...2999... # v4.2.3
= - name: "AWS-LC: build"
+ if: steps.aws-lc-cache.outputs.cache-hit !=3D &= #39;true'
run: |
mk= dir build
cd build
@@ -478,12 +4= 87,14 @@
uses: actions/checkout@...2998... # v6.0.= 2
- name: autoconf
run: aut= oreconf -fvi
+ -= name: list aws-lc install
+ run: find ${{ env.AWS_LC_INSTALL }}
-= name: configure with AWS-LC
run: |
- OPENSSL_CFLAGS=3D"-I/= ${{ env.AWS_LC_INSTALL }}/include" \
- OPENSSL_LIBS=3D"-L/${{ env.AWS_LC_INSTAL= L }}/lib -lssl -lcrypto" \
- LDFLAGS=3D"-Wl,-rpath=3D/${{ env.AWS_LC_INSTALL }}= /lib" \
- = ./configure --with-crypto-library=3Dopenssl --enable-werror
+ OPENSSL_CFLAGS=3D"-= I${{ env.AWS_LC_INSTALL }}/include" \
+ OPENSSL_LIBS=3D"-L${{ env.AWS_LC_INST= ALL }}/lib -lssl -lcrypto" \
+ LDFLAGS=3D"-Wl,-rpath=3D${{ env.AWS_LC_INSTALL= }}/lib" \
+ = ./configure --with-crypto-library=3Dopenssl
- = name: make all
run: make -j3
= - name: configure checks

To view, vis= it chang= e 1576. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: newchange
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I85c874c5808fc50415dd55fc910= 0244fb2d4f9e9
Gerrit-Change-Number: 1576
Gerrit-PatchSet: 1
Gerrit-Owner: plaisthos <arne-openvpn@...1711...= 27...>
Gerrit-CC: openvpn-devel <openvpn-devel@...1484...= ts.sourceforge.net>
= --fIFCmzsMbKA=--