masterpush.yml 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. name: Test Verification
  2. on:
  3. push:
  4. branches:
  5. - master
  6. jobs:
  7. build-ubuntu:
  8. name: Build and Test Ubuntu Latest
  9. runs-on: ubuntu-latest
  10. steps:
  11. - uses: actions/checkout@v1
  12. - name: Init submodules
  13. run: git submodule update --init --recursive
  14. - name: Build the Ubuntu Latest Docker image
  15. run: docker build . --file .ci/Dockerfile.ubuntu --tag ubuntu_debugimage:latest
  16. - name: Run tests
  17. run: docker run ubuntu_debugimage:latest ctest /build --output-on-failure
  18. build-opensuse:
  19. name: Build and Test OpenSUSE Latest
  20. runs-on: ubuntu-latest
  21. steps:
  22. - uses: actions/checkout@v1
  23. - name: Init submodules
  24. run: git submodule update --init --recursive
  25. - name: Build the OpenSUSE Latest Docker image
  26. run: docker build . --file .ci/Dockerfile.opensuse --tag opensuse_debugimage:latest
  27. - name: Run tests
  28. run: docker run opensuse_debugimage:latest ctest /build --output-on-failure
  29. #build-windows:
  30. #runs-on: windows-latest
  31. #name: Build and Test Windows
  32. #steps:
  33. #- uses: actions/checkout@v1
  34. #- name: Init submodules
  35. #run: git submodule update --init --recursive
  36. #- name: Build the Docker image
  37. #run: docker build . --file .ci/Dockerfile.windows --isolation=hyperv --tag windows_debugimage:latest -m 2GB