CI.yml 941 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. name: CI
  2. on:
  3. push:
  4. paths-ignore:
  5. - '**.md'
  6. pull_request:
  7. paths-ignore:
  8. - '**.md'
  9. jobs:
  10. build-linux:
  11. name: build-linux
  12. runs-on: ubuntu-latest
  13. steps:
  14. - uses: actions/checkout@v2
  15. - name: build
  16. run: |
  17. sudo apt update
  18. sudo apt install libssl-dev libnghttp2-dev
  19. ./configure --with-openssl --with-nghttp2
  20. make libhv evpp
  21. make check
  22. make run-unittest
  23. build-macos:
  24. name: build-macos
  25. runs-on: macos-latest
  26. steps:
  27. - uses: actions/checkout@v2
  28. - name: build
  29. run: |
  30. ./configure
  31. make libhv evpp examples unittest
  32. build-windows:
  33. name: build-windows
  34. runs-on: windows-2016
  35. steps:
  36. - uses: actions/checkout@v2
  37. - name: build
  38. run: |
  39. mkdir win64
  40. cd win64
  41. cmake .. -G "Visual Studio 15 2017 Win64"
  42. cmake --build .