1
0

CI.yml 910 B

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