Skip to main content
Glama
test-musl.shโ€ข990 B
#!/bin/sh # Integration test script for MUSL builds with extended tests # This runs inside Alpine Linux container with Bun support set -e EXECUTABLE=$1 TARGET=$2 WORKSPACE_DIR=$(dirname $(dirname $(dirname $(readlink -f "$0")))) echo "๐Ÿงช Running MUSL integration tests for $TARGET" echo "๐Ÿ“ฆ Executable: $EXECUTABLE" echo "๐Ÿ“‚ Workspace: $WORKSPACE_DIR" # Verify Bun is available (should be pre-installed in Docker image) if ! command -v bun >/dev/null 2>&1; then echo "โŒ Bun not found! Please ensure the Docker image has Bun installed." exit 1 fi echo "โœ… Bun version: $(bun --version)" # Change to workspace directory cd "$WORKSPACE_DIR" # Install dependencies echo "๐Ÿ“ฆ Installing dependencies..." bun install --frozen-lockfile # Run the full TypeScript test suite with --musl flag echo "๐Ÿงช Running full integration test suite..." bun test/integration/test-binary.ts "$EXECUTABLE" "$TARGET" --musl echo -e "\nโœ… All MUSL integration tests passed for $TARGET"

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/vexxvakan/mcp-docsrs'

If you have feedback or need assistance with the MCP directory API, please join our Discord server