Skip to content

Commit a98e485

Browse files
hyperpolymathclaude
andcommitted
ci(ada): build with gnatmake (apt gprbuild lacks compiler config)
gprbuild from apt on ubuntu-latest is not gprconfig-wired to the FSF Ada compiler ('no compiler for language Ada', exit 7). Build with gnatmake, which drives the gnat compiler directly — the same command verified to build the sources locally. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 9e7b560 commit a98e485

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 -P modshells.gpr
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)