curl.yml 805 B

1234567891011121314151617181920212223242526272829303132333435
  1. name: curl Test
  2. on:
  3. workflow_call:
  4. jobs:
  5. build-and-test:
  6. runs-on: ubuntu-latest
  7. # This should be a safe limit for the tests to run.
  8. timeout-minutes: 25
  9. steps:
  10. - name: Install test dependencies
  11. run: |
  12. sudo apt-get update
  13. sudo apt-get install nghttp2
  14. sudo pip install impacket
  15. - name: Build wolfSSL
  16. uses: wolfSSL/actions-build-autotools-project@v1
  17. with:
  18. path: wolfssl
  19. configure: --enable-curl
  20. install: true
  21. - name: Build curl
  22. uses: wolfSSL/actions-build-autotools-project@v1
  23. with:
  24. repository: curl/curl
  25. path: curl
  26. configure: --with-wolfssl=$GITHUB_WORKSPACE/build-dir
  27. check: false
  28. - name: Test curl
  29. working-directory: curl
  30. run: make -j test-ci