event-based.yml 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. # Copyright (C) 2000 - 2022 Daniel Stenberg, <daniel@haxx.se>, et al.
  2. #
  3. # SPDX-License-Identifier: curl
  4. name: Linux
  5. on:
  6. # Trigger the workflow on push or pull requests, but only for the
  7. # master branch
  8. push:
  9. branches:
  10. - master
  11. - '*/ci'
  12. pull_request:
  13. branches:
  14. - master
  15. jobs:
  16. autotools:
  17. name: ${{ matrix.build.name }}
  18. runs-on: 'ubuntu-latest'
  19. timeout-minutes: 60
  20. strategy:
  21. fail-fast: false
  22. matrix:
  23. build:
  24. - name: event-based
  25. install: libpsl-dev libbrotli-dev libzstd-dev libssh-dev
  26. configure: --enable-debug --disable-shared --disable-threaded-resolver --with-libssh --with-openssl
  27. tflags: -n -e '!TLS-SRP'
  28. steps:
  29. - run: |
  30. sudo apt-get update
  31. sudo apt-get install libtool autoconf automake pkg-config stunnel4 ${{ matrix.build.install }}
  32. sudo python3 -m pip install impacket
  33. name: 'install prereqs and impacket'
  34. - uses: actions/checkout@v3
  35. - run: autoreconf -fi
  36. name: 'autoreconf'
  37. - run: ./configure --enable-warnings --enable-werror ${{ matrix.build.configure }}
  38. name: 'configure'
  39. - run: make V=1
  40. name: 'make'
  41. - run: make V=1 examples
  42. name: 'make examples'
  43. - run: make V=1 test-ci
  44. name: 'test'
  45. env:
  46. TFLAGS: "${{ matrix.build.tflags }}"