2020-04-16 18:10:45 +00:00
|
|
|
#
|
|
|
|
# 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:
|
2021-10-16 16:10:27 +00:00
|
|
|
- cron: "0 0 * * 4"
|
2020-04-16 18:10:45 +00:00
|
|
|
|
2021-10-16 16:10:26 +00:00
|
|
|
permissions:
|
|
|
|
contents: read
|
|
|
|
|
2020-04-16 18:10:45 +00:00
|
|
|
jobs:
|
|
|
|
test:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2022-04-09 20:08:41 +00:00
|
|
|
- uses: actions/checkout@v3
|
2021-10-16 16:10:27 +00:00
|
|
|
- name: Install VTest
|
2020-04-16 18:10:45 +00:00
|
|
|
run: |
|
2021-05-15 06:46:15 +00:00
|
|
|
scripts/build-vtest.sh
|
2021-10-16 16:10:27 +00:00
|
|
|
- name: Compile HAProxy
|
2020-04-16 18:10:45 +00:00
|
|
|
run: |
|
|
|
|
make DEFINE="-DOPENSSL_API_COMPAT=0x10100000L -DOPENSSL_NO_DEPRECATED" -j3 CC=gcc ERR=1 TARGET=linux-glibc USE_OPENSSL=1
|
2021-10-16 16:10:27 +00:00
|
|
|
- name: Run VTest
|
2020-04-16 18:10:45 +00:00
|
|
|
run: |
|
2020-11-03 19:41:39 +00:00
|
|
|
make reg-tests VTEST_PROGRAM=../vtest/vtest REGTESTS_TYPES=default,bug,devel
|