qt-xml.yml 625 B

1234567891011121314151617181920212223242526272829
  1. name: UI XML Validator
  2. on:
  3. push:
  4. paths-ignore:
  5. - "cmake/**"
  6. pull_request:
  7. paths:
  8. - "UI/forms/**"
  9. jobs:
  10. ubuntu64:
  11. runs-on: ubuntu-latest
  12. steps:
  13. - name: Checkout
  14. uses: actions/checkout@v2
  15. with:
  16. submodules: 'recursive'
  17. - name: Install xmllint
  18. run: |
  19. sudo apt-get install --no-install-recommends -y libxml2-utils
  20. - name: Register Annotations
  21. uses: korelstar/xmllint-problem-matcher@v1
  22. - name: Validate
  23. run: |
  24. xmllint --schema UI/forms/XML-Schema-Qt5.15.xsd --noout UI/forms/*.ui UI/forms/**/*.ui