feat(ci): Test ALL 42 languages - build compiled in sandbox

Remove compiled language filter - the sandbox has compilers!
Now tests Go, Rust, C, C++, Java, Kotlin, etc. through the API.
Added hello world code for all compiled languages.
This commit is contained in:
russell@unturf.com 2026-01-17 15:40:51 -05:00
parent 0a040e72ad
commit 9217d43007
2 changed files with 52 additions and 51 deletions

View file

@ -18,30 +18,10 @@ if [ -z "$ALL_SDKS" ]; then
fi
echo "Available SDKs from API: $ALL_SDKS"
# Filter out compiled languages - they can't run inception tests
# (source files need compilation, can't be executed directly via API)
COMPILED_LANGS="rust go c cpp java kotlin swift csharp fsharp haskell ocaml d nim zig crystal fortran cobol objc v dart"
filter_compiled() {
local langs="$1"
local result=""
for lang in $langs; do
local is_compiled=false
for compiled in $COMPILED_LANGS; do
if [ "$lang" = "$compiled" ]; then
is_compiled=true
break
fi
done
if [ "$is_compiled" = false ]; then
result="$result $lang"
fi
done
echo "$result" | xargs # trim whitespace
}
# Test ALL languages - the sandbox has compilers for compiled languages too!
if [ "$TEST_ALL" = "true" ]; then
LANGS=$(filter_compiled "$ALL_SDKS")
LANGS="$ALL_SDKS"
elif [ -z "$CHANGED_LANGS" ]; then
# No changes - create minimal valid child pipeline that does nothing
cat > test-matrix.yml << 'EOF'