blob: b853fe2338fa3e54ee4b8899b87312ac24a20bc0 [file] [log] [blame]
Ilya Shipitsin82e01b92020-04-16 23:10:45 +05001#
2# special purpose CI: test against OpenSSL built in "no-deprecated" mode
3# let us run those builds weekly
4#
5# for example, OpenWRT uses such OpenSSL builds (those builds are smaller)
6#
7#
8# some details might be found at NL: https://www.mail-archive.com/haproxy@formilux.org/msg35759.html
9# GH: https://github.com/haproxy/haproxy/issues/367
10
11name: openssl no-deprecated
12
13on:
14 schedule:
15 - cron: "0 0 * * 4"
16
17jobs:
18 test:
19
20 runs-on: ubuntu-latest
21
22 steps:
23 - uses: actions/checkout@v1
24 - name: prepare VTest
25 run: |
26 git clone https://github.com/VTest/VTest.git ../vtest
27 make -C ../vtest FLAGS="-O2 -s -Wall"
28 - name: build haproxy
29 run: |
30 make DEFINE="-DOPENSSL_API_COMPAT=0x10100000L -DOPENSSL_NO_DEPRECATED" -j3 CC=gcc ERR=1 TARGET=linux-glibc USE_OPENSSL=1
31 - name: run reg-tests
32 run: |
Ilya Shipitsinf9bc6e42020-11-04 00:41:39 +050033 make reg-tests VTEST_PROGRAM=../vtest/vtest REGTESTS_TYPES=default,bug,devel