2020 steps :
2121 - name : Checkout code
2222 uses : actions/checkout@v4
23+ with :
24+ submodules : true
25+
26+ - name : Initialize submodules
27+ run : |
28+ git submodule update --init --recursive
2329
2430 - name : Setup PHP
2531 uses : shivammathur/setup-php@v2
3137 sudo apt-get update
3238 sudo apt-get install -y build-essential
3339
40+ - name : Verify submodule files
41+ run : |
42+ echo "Checking if lib directory and files exist:"
43+ ls -la lib/
44+ echo "Checking specific source files:"
45+ test -f "lib/arena.c" && echo "arena.c exists" || echo "arena.c missing"
46+ test -f "lib/csv_config.c" && echo "csv_config.c exists" || echo "csv_config.c missing"
47+ test -f "lib/csv_reader.c" && echo "csv_reader.c exists" || echo "csv_reader.c missing"
48+ test -f "lib/csv_writer.c" && echo "csv_writer.c exists" || echo "csv_writer.c missing"
49+ test -f "lib/csv_parser.c" && echo "csv_parser.c exists" || echo "csv_parser.c missing"
50+ test -f "lib/csv_utils.c" && echo "csv_utils.c exists" || echo "csv_utils.c missing"
51+
3452 - name : Validate package.xml if it exists
3553 run : |
3654 if [ -f package.xml ]; then
7694 steps :
7795 - name : Checkout code
7896 uses : actions/checkout@v4
97+ with :
98+ submodules : true
99+
100+ - name : Initialize submodules
101+ run : |
102+ git submodule update --init --recursive
79103
80104 - name : Setup PHP
81105 uses : shivammathur/setup-php@v2
@@ -87,6 +111,18 @@ jobs:
87111 sudo apt-get update
88112 sudo apt-get install -y build-essential
89113
114+ - name : Verify submodule files
115+ run : |
116+ echo "Checking if lib directory and files exist:"
117+ ls -la lib/
118+ echo "Checking specific source files:"
119+ test -f "lib/arena.c" && echo "arena.c exists" || echo "arena.c missing"
120+ test -f "lib/csv_config.c" && echo "csv_config.c exists" || echo "csv_config.c missing"
121+ test -f "lib/csv_reader.c" && echo "csv_reader.c exists" || echo "csv_reader.c missing"
122+ test -f "lib/csv_writer.c" && echo "csv_writer.c exists" || echo "csv_writer.c missing"
123+ test -f "lib/csv_parser.c" && echo "csv_parser.c exists" || echo "csv_parser.c missing"
124+ test -f "lib/csv_utils.c" && echo "csv_utils.c exists" || echo "csv_utils.c missing"
125+
90126 - name : Validate package.xml if it exists
91127 run : |
92128 if [ -f package.xml ]; then
0 commit comments