Hello,

I added weekly build for detection incompatibilities against
"no-deprecated" openssl.

(well, I first thought to add those option to travis, but it became
over-engineered from my point of view)

Lukas, if you have suggestions how to add to travis, I can try.

Cheers,
Ilya Shipitsin
From ccb2e27d4566581196a139ccacdaecac097be2c1 Mon Sep 17 00:00:00 2001
From: Ilya Shipitsin <chipits...@gmail.com>
Date: Thu, 16 Apr 2020 23:10:45 +0500
Subject: [PATCH] CI: run weekly OpenSSL "no-deprecated" builds

OpenWRT uses such OpenSSL builds (those builds are smaller)

some details might be found at ML: https://www.mail-archive.com/haproxy@formilux.org/msg35759.html
                               GH: https://github.com/haproxy/haproxy/issues/367
---
 .github/workflows/openssl-nodeprecated.yml | 33 ++++++++++++++++++++++
 1 file changed, 33 insertions(+)
 create mode 100644 .github/workflows/openssl-nodeprecated.yml

diff --git a/.github/workflows/openssl-nodeprecated.yml b/.github/workflows/openssl-nodeprecated.yml
new file mode 100644
index 000000000..758ccbcc9
--- /dev/null
+++ b/.github/workflows/openssl-nodeprecated.yml
@@ -0,0 +1,33 @@
+#
+# special purpose CI: test against OpenSSL built in "no-deprecated" mode
+# let us run those builds weekly
+#
+# for example, OpenWRT uses such OpenSSL builds (those builds are smaller)
+#
+#
+# some details might be found at NL: https://www.mail-archive.com/haproxy@formilux.org/msg35759.html
+#                                GH: https://github.com/haproxy/haproxy/issues/367
+
+name: openssl no-deprecated
+
+on:
+  schedule:
+    - cron: "0 0 * * 4"
+
+jobs:
+  test:
+
+    runs-on: ubuntu-latest
+
+    steps:
+    - uses: actions/checkout@v1
+    - name: prepare VTest
+      run: |
+        git clone https://github.com/VTest/VTest.git ../vtest
+        make -C ../vtest FLAGS="-O2 -s -Wall"
+    - name: build haproxy
+      run: |
+        make DEFINE="-DOPENSSL_API_COMPAT=0x10100000L -DOPENSSL_NO_DEPRECATED" -j3 CC=gcc ERR=1 TARGET=linux-glibc USE_OPENSSL=1
+    - name: run reg-tests
+      run: |
+        make reg-tests VTEST_PROGRAM=../vtest/vtest
-- 
2.25.2

Reply via email to