branchpush.yml 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. name: Test Verification
  2. on:
  3. push:
  4. branches:
  5. - master
  6. - 0.1.0
  7. - 0.2
  8. - 0.3
  9. - 0.4
  10. - 0.5
  11. - ci_check
  12. jobs:
  13. build-ubuntu:
  14. name: Build and Test Ubuntu Latest
  15. runs-on: ubuntu-latest
  16. steps:
  17. - uses: actions/checkout@v2
  18. - name: Init submodules
  19. run: git submodule update --init --recursive
  20. - name: Build the Ubuntu Latest Docker image
  21. run: docker build . --file .ci/Dockerfile.ubuntu --tag ubuntu_debugimage:latest
  22. - name: Run tests
  23. run: docker run ubuntu_debugimage:latest ctest /build --output-on-failure
  24. build-opensuse:
  25. name: Build and Test OpenSUSE Latest
  26. runs-on: ubuntu-latest
  27. steps:
  28. - uses: actions/checkout@v2
  29. - name: Init submodules
  30. run: git submodule update --init --recursive
  31. - name: Build the OpenSUSE Latest Docker image
  32. run: docker build . --file .ci/Dockerfile.opensuse --tag opensuse_debugimage:latest
  33. - name: Run tests
  34. run: docker run opensuse_debugimage:latest ctest /build --output-on-failure
  35. build-ubuntu-static:
  36. name: Static Build and Test Ubuntu Latest
  37. runs-on: ubuntu-latest
  38. steps:
  39. - uses: actions/checkout@v2
  40. - name: Init submodules
  41. run: git submodule update --init --recursive
  42. - name: Build the Ubuntu Latest Docker image
  43. run: docker build . --file .ci/Dockerfile.ubuntu_static --tag ubuntu_debugimage_static:latest
  44. - name: Run tests
  45. run: docker run ubuntu_debugimage_static:latest ctest /build --output-on-failure
  46. build-opensuse-static:
  47. name: Static Build and Test OpenSUSE Latest
  48. runs-on: ubuntu-latest
  49. steps:
  50. - uses: actions/checkout@v2
  51. - name: Init submodules
  52. run: git submodule update --init --recursive
  53. - name: Build the OpenSUSE Latest Docker image
  54. run: docker build . --file .ci/Dockerfile.opensuse_static --tag opensuse_debugimage_static:latest
  55. - name: Run tests
  56. run: docker run opensuse_debugimage_static:latest ctest /build --output-on-failure