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: |
Tim Duesterhus | 662896e | 2021-10-16 18:10:27 +0200 | [diff] [blame] | 15 | - cron: "0 0 * * 4" |
Ilya Shipitsin | 82e01b9 | 2020-04-16 23:10:45 +0500 | [diff] [blame] | 16 | |
Tim Duesterhus | 89c9d0a | 2021-10-16 18:10:26 +0200 | [diff] [blame] | 17 | permissions: |
| 18 | contents: read |
| 19 | |
Ilya Shipitsin | 82e01b9 | 2020-04-16 23:10:45 +0500 | [diff] [blame] | 20 | jobs: |
| 21 | test: |
Ilya Shipitsin | 82e01b9 | 2020-04-16 23:10:45 +0500 | [diff] [blame] | 22 | runs-on: ubuntu-latest |
Ilya Shipitsin | 82e01b9 | 2020-04-16 23:10:45 +0500 | [diff] [blame] | 23 | steps: |
Tim Duesterhus | 5f4ddb5 | 2022-04-09 22:08:41 +0200 | [diff] [blame] | 24 | - uses: actions/checkout@v3 |
Tim Duesterhus | 662896e | 2021-10-16 18:10:27 +0200 | [diff] [blame] | 25 | - name: Install VTest |
Ilya Shipitsin | 82e01b9 | 2020-04-16 23:10:45 +0500 | [diff] [blame] | 26 | run: | |
Ilya Shipitsin | 0b03895 | 2021-05-15 11:46:15 +0500 | [diff] [blame] | 27 | scripts/build-vtest.sh |
Tim Duesterhus | 662896e | 2021-10-16 18:10:27 +0200 | [diff] [blame] | 28 | - name: Compile HAProxy |
Ilya Shipitsin | 82e01b9 | 2020-04-16 23:10:45 +0500 | [diff] [blame] | 29 | run: | |
| 30 | make DEFINE="-DOPENSSL_API_COMPAT=0x10100000L -DOPENSSL_NO_DEPRECATED" -j3 CC=gcc ERR=1 TARGET=linux-glibc USE_OPENSSL=1 |
Tim Duesterhus | 662896e | 2021-10-16 18:10:27 +0200 | [diff] [blame] | 31 | - name: Run VTest |
Ilya Shipitsin | 82e01b9 | 2020-04-16 23:10:45 +0500 | [diff] [blame] | 32 | run: | |
Ilya Shipitsin | f9bc6e4 | 2020-11-04 00:41:39 +0500 | [diff] [blame] | 33 | make reg-tests VTEST_PROGRAM=../vtest/vtest REGTESTS_TYPES=default,bug,devel |