branchpush.yml 2.3 KB

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