Skip to content

Commit c455897

Browse files
authored
Validation of aircraft XML definition file (#1038)
1 parent c6efaab commit c455897

File tree

61 files changed

+4084
-4868
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

61 files changed

+4084
-4868
lines changed

.github/workflows/cpp-python-build.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,16 @@ jobs:
3535
[ -e "$filename" ] || continue
3636
xmllint --noout --schema JSBSimSystem.xsd $filename
3737
done
38+
- name: Valide aircraft files
39+
run: |
40+
for dir in $(ls -d aircraft/*); do
41+
base=$(basename $dir)
42+
[ "$base" != "blank" ] || continue
43+
filename="${dir}/${base}.xml"
44+
if [ -f "$filename" ]; then
45+
xmllint --noout --schema JSBSim.xsd $filename
46+
fi
47+
done
3848
3949
MSIS-validation:
4050
name: MSIS code validation

0 commit comments

Comments
 (0)