2
0

haproxy.yml 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. name: HaProxy Tests
  2. on:
  3. workflow_call:
  4. jobs:
  5. haproxy_check:
  6. strategy:
  7. fail-fast: false
  8. matrix:
  9. # List of refs to test
  10. ref: [ master ]
  11. name: ${{ matrix.ref }}
  12. runs-on: ubuntu-latest
  13. steps:
  14. - name: Build wolfSSL
  15. uses: wolfSSL/actions-build-autotools-project@v1
  16. with:
  17. path: wolfssl
  18. configure: --enable-quic --enable-haproxy
  19. install: true
  20. - name: Checkout VTest
  21. uses: actions/checkout@v3
  22. with:
  23. repository: vtest/VTest
  24. path: VTest
  25. - name: Build VTest
  26. working-directory: VTest
  27. # Special flags due to: https://github.com/vtest/VTest/issues/12
  28. run: make FLAGS='-O2 -s -Wall'
  29. - name: Checkout HaProxy
  30. uses: actions/checkout@v3
  31. with:
  32. repository: haproxy/haproxy
  33. path: haproxy
  34. ref: ${{ matrix.ref }}
  35. - name: Build HaProxy
  36. working-directory: haproxy
  37. run: >-
  38. make -j TARGET=linux-glibc DEBUG='-DDEBUG_MEMORY_POOLS -DDEBUG_STRICT'
  39. USE_OPENSSL_WOLFSSL=1 USE_QUIC=1 SSL_INC=$GITHUB_WORKSPACE/build-dir/include/
  40. SSL_LIB=$GITHUB_WORKSPACE/build-dir/lib/ ADDLIB=-Wl,-rpath=$GITHUB_WORKSPACE/build-dir/lib
  41. - name: Test HaProxy
  42. working-directory: haproxy
  43. run: make reg-tests reg-tests/ssl VTEST_PROGRAM=$GITHUB_WORKSPACE/VTest/vtest