haproxy.yml 1.6 KB

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