aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorArne Schwabe2023-02-09 17:31:15 +0100
committerGert Doering2023-02-09 18:06:49 +0100
commitdabfebc4731b7cccda36a09eaaa11f912b8a9fde (patch)
tree0768909210cda455e5ee3fef83c705c20e405a5b /.github
parent4718af50bb7b5a913ae4befb2d3a8dd338b3eb74 (diff)
downloadopenvpn-dabfebc4731b7cccda36a09eaaa11f912b8a9fde.zip
openvpn-dabfebc4731b7cccda36a09eaaa11f912b8a9fde.tar.gz
Fix LibreSSL not building in Github Actions
During the build of LibreSSL portable it pulls in a branch from OpenBSD upstream. Unfortunately they use master there instead of a fixed branch. So we work around this issue. Signed-off-by: Arne Schwabe <arne@rfc2549.org> Acked-by: Gert Doering <gert@greenie.muc.de> Message-Id: <20230209163115.465548-1-arne@rfc2549.org> URL: https://www.mail-archive.com/search?l=mid&q=20230209163115.465548-1-arne@rfc2549.org Signed-off-by: Gert Doering <gert@greenie.muc.de> (cherry picked from commit 589cca156357e05c6c3f07517184157585c8e9fc)
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build.yaml8
1 files changed, 8 insertions, 0 deletions
diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml
index 1326245..5888e91 100644
--- a/.github/workflows/build.yaml
+++ b/.github/workflows/build.yaml
@@ -415,6 +415,14 @@ jobs:
path: libressl
repository: libressl-portable/portable
ref: v3.7.0
+ # LibreSSL has master in the OPENBSD_BRANCH by default even in the tagged releases
+ # Manually use the OpenBSD branch that is more appropiate and remove git pull that
+ # breaks when checking out a tag instead of branch
+ - name: "libressl: fix build"
+ run: |
+ echo libressl-v3.7.0 > OPENBSD_BRANCH
+ sed -i -e 's/ git pull --rebase//' update.sh
+ working-directory: libressl
- name: "libressl: autogen.sh"
run: ./autogen.sh
working-directory: libressl