CI.yml 931 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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 examples unittest evpp
  21. make check
  22. build-macos:
  23. name: build-macos
  24. runs-on: macos-latest
  25. steps:
  26. - uses: actions/checkout@v2
  27. - name: build
  28. run: |
  29. ./configure
  30. make libhv examples unittest evpp
  31. build-windows:
  32. name: build-windows
  33. runs-on: windows-2016
  34. steps:
  35. - uses: actions/checkout@v2
  36. - name: build
  37. run: |
  38. mkdir win64
  39. cd win64
  40. cmake .. -G "Visual Studio 15 2017 Win64"
  41. cmake --build .