From: "plaisthos (Code Review)" Date: Wed, 1 May 2024 08:30:08 +0000 References: Reply-To: arne-openvpn@...1227..., openvpn-devel@lists.sourceforge.net, frank@...2641... Message-ID: <8d04702e1c8c0cbf6bfd880ae38373b692a72915-HTML@...2715...> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: multipart/alternative; boundary="rxkEZsjf6Uc="; charset=UTF-8 Subject: [Openvpn-devel] [S] Change in openvpn[master]: Replace macos11 with macos14 in github runners List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: flichtenheld Cc: openvpn-devel --rxkEZsjf6Uc= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Attention is currently required from: flichtenheld. Hello flichtenheld, I'd like you to do a code review. Please visit http://gerrit.openvpn.net/c/openvpn/+/582?usp=3Demail to review the following change. Change subject: Replace macos11 with macos14 in github runners ...................................................................... Replace macos11 with macos14 in github runners Github's documentation states: macos-11 label has been deprecated and will no longer be available after 6/28/2024. Add macos14 which is nowadays supported instead. The github macos-14 runner is using the M1 platform with ARM, so this requires a bit more adjustment of paths. Change-Id: Ia70f230b2e9a78939d1875395205c8f48c4944b7 Signed-off-by: Arne Schwabe --- M .github/workflows/build.yaml 1 file changed, 13 insertions(+), 3 deletions(-) git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/82/582/1 diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index f771f5a..d7c3ecd 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -202,8 +202,16 @@ matrix: ssllib: [ openssl11, openssl3, libressl] build: [ normal, asan ] - os: [macos-11, macos-12, macos-13] + os: [macos-12, macos-13, macos-14] include: + # macos14 and newer runners use ARM CPUs and homebrew uses /opt= /homebrew/ + # on ARM instead of /usr/local/ + - os: macos-12 + homebrew: /usr/local/opt + - os: macos-13 + homebrew: /usr/local/opt + - os: macos-14 + homebrew: /opt/homebrew/opt - build: asan cflags: "-fsanitize=3Daddress,undefined -fno-sanitize-recover= =3Dall -fno-optimize-sibling-calls -fsanitize-address-use-after-scope -fno= -omit-frame-pointer -g -O1" ldflags: -fsanitize=3Daddress,undefined -fno-sanitize-recover= =3Dall @@ -228,8 +236,10 @@ env: CFLAGS: ${{ matrix.cflags }} LDFLAGS: ${{ matrix.ldflags }} - OPENSSL_CFLAGS: "-I/usr/local/opt/${{matrix.libdir}}/include" - OPENSSL_LIBS: "-L/usr/local/opt/${{matrix.libdir}}/lib -lcrypto -lss= l" + OPENSSL_CFLAGS: "-I${{matrix.homebrew}}/${{matrix.libdir}}/include" + OPENSSL_LIBS: "-L${{matrix.homebrew}}/${{matrix.libdir}}/lib -lcrypt= o -lssl" + LZO_CFLAGS: "-I${{matrix.homebrew}}/lzo/include" + LZO_LIBS: "-L${{matrix.homebrew}}/lzo/lib -llzo2" UBSAN_OPTIONS: print_stacktrace=3D1 steps: - name: Install dependencies -- To view, visit http://gerrit.openvpn.net/c/openvpn/+/582?usp=3Demail To unsubscribe, or for help writing mail filters, visit http://gerrit.openv= pn.net/settings Gerrit-Project: openvpn Gerrit-Branch: master Gerrit-Change-Id: Ia70f230b2e9a78939d1875395205c8f48c4944b7 Gerrit-Change-Number: 582 Gerrit-PatchSet: 1 Gerrit-Owner: plaisthos Gerrit-Reviewer: flichtenheld Gerrit-CC: openvpn-devel Gerrit-Attention: flichtenheld Gerrit-MessageType: newchange --rxkEZsjf6Uc= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Attention is currently required from: flichtenheld.

plaisthos would like flichtenheld to review this change.

Vi= ew Change

Replace macos11 with macos14 in github runners

Github&= #39;s documentation states: macos-11 label has been deprecated and
will= no longer be available after 6/28/2024. Add macos14 which is nowadays
s= upported instead.

The github macos-14 runner is using the M1 platfor= m with ARM, so this
requires a bit more adjustment of paths.

Chan= ge-Id: Ia70f230b2e9a78939d1875395205c8f48c4944b7
Signed-off-by: Arne Sch= wabe <arne@...1227...>
---
M .github/workflows/build.yaml
1 = file changed, 13 insertions(+), 3 deletions(-)

git pull ssh://ger=
rit.openvpn.net:29418/openvpn refs/changes/82/582/1
diff --git a/.g=
ithub/workflows/build.yaml b/.github/workflows/build.yaml
i= ndex f771f5a..d7c3ecd 100644
--- a/.github/workflows/build.= yaml
+++ b/.github/workflows/build.yaml
@@ = -202,8 +202,16 @@
matrix:
s= sllib: [ openssl11, openssl3, libressl]
build: [ n= ormal, asan ]
- = os: [macos-11, macos-12, macos-13]
+ os: [macos-12, macos-13, macos-14]
= include:
+ = # macos14 and newer runners use ARM CPUs and homebrew uses /opt/hom= ebrew/
+ # = on ARM instead of /usr/local/
+ - os: macos-12
+ homebrew: /usr/local/opt
+ - os: macos-13
+ homebrew: /usr/local/opt=
+ - os: mac= os-14
+ ho= mebrew: /opt/homebrew/opt
- build: asan cflags: "-fsanitize=3Daddress,undefined -fno-sani= tize-recover=3Dall -fno-optimize-sibling-calls -fsanitize-address-use-afte= r-scope -fno-omit-frame-pointer -g -O1"
l= dflags: -fsanitize=3Daddress,undefined -fno-sanitize-recover=3Dall@@ -228,8 +236,10 @@
env:
= CFLAGS: ${{ matrix.cflags }}
LDFLAGS: ${{ matrix.= ldflags }}
- OPENS= SL_CFLAGS: "-I/usr/local/opt/${{matrix.libdir}}/include"- OPENSSL_LIBS: "-L/u= sr/local/opt/${{matrix.libdir}}/lib -lcrypto -lssl"
+ OPENSSL_CFLAGS: "-I${{matri= x.homebrew}}/${{matrix.libdir}}/include"
+ OPENSSL_LIBS: "-L${{matrix.homebrew}}/= ${{matrix.libdir}}/lib -lcrypto -lssl"
+ LZO_CFLAGS: "-I${{matrix.homebrew}}/lzo/= include"
+ = LZO_LIBS: "-L${{matrix.homebrew}}/lzo/lib -llzo2"
UBSAN_OPTIONS: print_stacktrace=3D1
steps:
- name: Install dependencies

To view, visit change 582. To unsubscribe, or for help writing mail fi= lters, visit settings.

=
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Ia70f230b2e9a78939d187539520= 5c8f48c4944b7
Gerrit-Change-Number: 582
Gerrit-PatchSet: 1
Gerrit-Owner: plaisthos <arne-openvpn@...1711...= 27...>
Gerrit-Reviewer: flichtenheld <frank@...2716...= 1...>
Gerrit-CC: openvpn-devel <openvpn-devel@...1484...= ts.sourceforge.net>
Gerrit-Attention: flichtenheld <frank@...2375...= 41...>
Gerrit-MessageType: newchange
--rxkEZsjf6Uc=--