branchpush.yml 1.9 KB

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