branchpush.yml 1.9 KB

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