mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-07-04 10:33:30 +00:00
CI: Validate Qt XML in UI files
This commit is contained in:
parent
b03dc67a62
commit
a4f0999df5
29
.github/workflows/qt-xml.yml
vendored
Normal file
29
.github/workflows/qt-xml.yml
vendored
Normal file
|
@ -0,0 +1,29 @@
|
|||
name: UI XML Validator
|
||||
|
||||
on:
|
||||
push:
|
||||
paths-ignore:
|
||||
- "cmake/**"
|
||||
pull_request:
|
||||
paths:
|
||||
- "UI/forms/**"
|
||||
|
||||
jobs:
|
||||
ubuntu64:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
submodules: 'recursive'
|
||||
|
||||
- name: Install xmllint
|
||||
run: |
|
||||
sudo apt-get install --no-install-recommends -y libxml2-utils
|
||||
|
||||
- name: Register Annotations
|
||||
uses: korelstar/xmllint-problem-matcher@v1
|
||||
|
||||
- name: Validate
|
||||
run: |
|
||||
xmllint --schema UI/forms/XML-Schema-Qt5.15.xsd --noout UI/forms/*.ui UI/forms/**/*.ui
|
Loading…
Reference in a new issue