15 name: Check pack description schema
16 runs-on: ubuntu-latest
18 - name: Install xmllint
21 sudo apt-get install libxml2-utils
22 - name: Checkout repository
23 uses: actions/checkout@v2
25 ref: ${{ github.event.pull_request.head.sha }}
28 curl https://raw.githubusercontent.com/Open-CMSIS-Pack/Open-CMSIS-Pack-Spec/main/schema/PACK.xsd -o CMSIS/Utilities/PACK.xsd
29 echo "::add-matcher::.github/xmllint.json"
30 xmllint --noout --schema "$(realpath -m ./CMSIS/Utilities/PACK.xsd)" "ARM.CMSIS.pdsc"
31 echo "::remove-matcher owner=xmllint::"