dockerimage.yml 752 B

123456789101112131415161718192021222324252627
  1. name: Test Verification
  2. on: [push]
  3. jobs:
  4. build:
  5. runs-on: ubuntu-latest
  6. steps:
  7. - uses: actions/checkout@v1
  8. - name: Init submodules
  9. run: git submodule update --init --recursive
  10. - name: Build the Docker image
  11. run: docker build . --file .ci/Dockerfile.ubuntu --tag ubuntu_debugimage:latest
  12. - name: Run tests
  13. run: docker run ubuntu_debugimage:latest ctest /build --output-on-failure
  14. #build-windows:
  15. #runs-on: windows-latest
  16. #steps:
  17. #- uses: actions/checkout@v1
  18. #- name: Init submodules
  19. #run: git submodule update --init --recursive
  20. #- name: Build the Docker image
  21. #run: docker build . --file .ci/Dockerfile.windows --isolation=hyperv --tag windows_debugimage:latest -m 2GB