Skip to content

Commit 5435934

Browse files
ci(ada): build with gnatmake (gprbuild lacks compiler config on CI) (#68)
Fixes the `Ada (GNAT)` job, which ran `gprbuild -j0 -p` with no project file → exit 7 ("no project file specified and no default project file") before compiling. Specifies `-P modshells.gpr` explicitly. Pairs with #67 (which made the Ada sources actually compile). 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent c695770 commit 5435934

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

.github/workflows/ada.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,10 @@ jobs:
2727
sudo apt-get install gnat gprbuild
2828
2929
- name: Build
30-
run: gprbuild -j0 -p
30+
# Use gnatmake, not gprbuild: apt's gprbuild on ubuntu-latest is not
31+
# gprconfig-wired to the FSF Ada compiler ("no compiler for language
32+
# Ada"). gnatmake drives the gnat compiler directly.
33+
run: |
34+
mkdir -p obj bin
35+
gnatmake -o bin/modshells src/main/modshells.adb \
36+
-Isrc/main -Isrc/config_store -Isrc/shell_manager -Isrc/shell_validator -D obj

0 commit comments

Comments
 (0)