branchpush.yml 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  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. - ci_check
  11. jobs:
  12. build-ubuntu:
  13. name: Build and Test Ubuntu Latest
  14. runs-on: ubuntu-latest
  15. steps:
  16. - uses: actions/checkout@v2
  17. - name: Init submodules
  18. run: git submodule update --init --recursive
  19. - name: Build the Ubuntu Latest Docker image
  20. run: docker build . --file .ci/Dockerfile.ubuntu --tag ubuntu_debugimage:latest
  21. - name: Run tests
  22. run: docker run ubuntu_debugimage:latest ctest /build --output-on-failure
  23. build-opensuse:
  24. name: Build and Test OpenSUSE Latest
  25. runs-on: ubuntu-latest
  26. steps:
  27. - uses: actions/checkout@v2
  28. - name: Init submodules
  29. run: git submodule update --init --recursive
  30. - name: Build the OpenSUSE Latest Docker image
  31. run: docker build . --file .ci/Dockerfile.opensuse --tag opensuse_debugimage:latest
  32. - name: Run tests
  33. run: docker run opensuse_debugimage:latest ctest /build --output-on-failure
  34. build-ubuntu-static:
  35. name: Static Build and Test Ubuntu Latest
  36. runs-on: ubuntu-latest
  37. steps:
  38. - uses: actions/checkout@v2
  39. - name: Init submodules
  40. run: git submodule update --init --recursive
  41. - name: Build the Ubuntu Latest Docker image
  42. run: docker build . --file .ci/Dockerfile.ubuntu_static --tag ubuntu_debugimage_static:latest
  43. - name: Run tests
  44. run: docker run ubuntu_debugimage_static:latest ctest /build --output-on-failure
  45. build-opensuse-static:
  46. name: Static Build and Test OpenSUSE Latest
  47. runs-on: ubuntu-latest
  48. steps:
  49. - uses: actions/checkout@v2
  50. - name: Init submodules
  51. run: git submodule update --init --recursive
  52. - name: Build the OpenSUSE Latest Docker image
  53. run: docker build . --file .ci/Dockerfile.opensuse_static --tag opensuse_debugimage_static:latest
  54. - name: Run tests
  55. run: docker run opensuse_debugimage_static:latest ctest /build --output-on-failure