Ilya Shipitsin | 82e01b9 | 2020-04-16 23:10:45 +0500 | [diff] [blame] | 1 | # |
| 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 | |
| 11 | name: openssl no-deprecated |
| 12 | |
| 13 | on: |
| 14 | schedule: |
| 15 | - cron: "0 0 * * 4" |
| 16 | |
| 17 | jobs: |
| 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: | |
| 33 | make reg-tests VTEST_PROGRAM=../vtest/vtest |