blob: e7f7ffaa5e04249fcdbcf2b2012245dfbfd7e011 [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:
Tim Duesterhus662896e2021-10-16 18:10:27 +020015 - cron: "0 0 * * 4"
Ilya Shipitsin82e01b92020-04-16 23:10:45 +050016
Tim Duesterhus89c9d0a2021-10-16 18:10:26 +020017permissions:
18 contents: read
19
Ilya Shipitsin82e01b92020-04-16 23:10:45 +050020jobs:
21 test:
Ilya Shipitsin82e01b92020-04-16 23:10:45 +050022 runs-on: ubuntu-latest
Ilya Shipitsin82e01b92020-04-16 23:10:45 +050023 steps:
Tim Duesterhus5f4ddb52022-04-09 22:08:41 +020024 - uses: actions/checkout@v3
Tim Duesterhus662896e2021-10-16 18:10:27 +020025 - name: Install VTest
Ilya Shipitsin82e01b92020-04-16 23:10:45 +050026 run: |
Ilya Shipitsin0b038952021-05-15 11:46:15 +050027 scripts/build-vtest.sh
Tim Duesterhus662896e2021-10-16 18:10:27 +020028 - name: Compile HAProxy
Ilya Shipitsin82e01b92020-04-16 23:10:45 +050029 run: |
30 make DEFINE="-DOPENSSL_API_COMPAT=0x10100000L -DOPENSSL_NO_DEPRECATED" -j3 CC=gcc ERR=1 TARGET=linux-glibc USE_OPENSSL=1
Tim Duesterhus662896e2021-10-16 18:10:27 +020031 - name: Run VTest
Ilya Shipitsin82e01b92020-04-16 23:10:45 +050032 run: |
Ilya Shipitsinf9bc6e42020-11-04 00:41:39 +050033 make reg-tests VTEST_PROGRAM=../vtest/vtest REGTESTS_TYPES=default,bug,devel