apns: Add a XML schema and check apns-conf.xml against it

Change-Id: Id115dd7beeafffcdf24e9ff1732490f0ca808279
This commit is contained in:
Sebastiano Barezzi
2024-07-22 01:45:20 +02:00
committed by LuK1337
parent c871fc9a27
commit c3a46252ee
4 changed files with 168 additions and 0 deletions

View File

@@ -8,6 +8,10 @@ runs:
shell: bash
run: sudo apt -y install libxml2-utils
- name: Validate apns-conf.xml
shell: bash
run: xmllint --noout --schema ./tools/apns-conf.xsd ./prebuilt/common/etc/apns-conf.xml
- name: Validate sensitive_pn.xml
shell: bash
run: xmllint --noout --schema ./spn/SpnInfo.xsd ./prebuilt/common/etc/sensitive_pn.xml