curl.yml 858 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. name: curl Test
  2. on:
  3. push:
  4. workflow_call:
  5. jobs:
  6. build:
  7. runs-on: ubuntu-latest
  8. steps:
  9. - uses: actions/checkout@master
  10. - name: autogen
  11. run: ./autogen.sh
  12. - name: configure
  13. run: ./configure --enable-all
  14. - name: make
  15. run: make
  16. - name: install
  17. run: sudo make install
  18. - uses: actions/checkout@master
  19. with:
  20. repository: curl/curl
  21. path: curl
  22. - name: Install test dependency
  23. working-directory: ./curl
  24. run: sudo apt-get install nghttp2
  25. - name: curl buildconf
  26. working-directory: ./curl
  27. run: ./buildconf
  28. - name: curl configure
  29. working-directory: ./curl
  30. run: ./configure --with-wolfssl
  31. - name: curl make
  32. working-directory: ./curl
  33. run: make
  34. - name: curl unit tests
  35. working-directory: ./curl
  36. run: make test