Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Exclude sql/ from syntax check (requires esqlOC preprocessor)
Co-Authored-By: Roshan  Fernando <roshandean4@gmail.com>
  • Loading branch information
devin-ai-integration[bot] and rdf004 committed Feb 11, 2026
commit 8f4d7e93a19c8234d2edf5f360f993082c443e22
4 changes: 3 additions & 1 deletion .github/workflows/compile-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,10 @@ jobs:
- name: Syntax check all .cbl files
run: |
echo "=== Syntax checking all .cbl files ==="
# sql/ files contain EXEC SQL blocks that require the esqlOC
# precompiler before they can be parsed by cobc, so exclude them.
failed=0
for f in $(find . -name "*.cbl" | sort); do
for f in $(find . -name "*.cbl" -not -path "./sql/*" | sort); do
echo "Checking: $f"
if ! cobc -fsyntax-only "$f"; then
echo "FAILED: $f"
Expand Down