mirror of
https://github.com/dogkeeper886/ollama37.git
synced 2025-12-21 13:17:05 +00:00
- Add .github/workflows/build-test.yml for automated testing - Add tests/ directory with TypeScript test runner - Add docs/CICD.md documentation - Remove .gitlab-ci.yml (migrated to GitHub Actions) - Update .gitignore for test artifacts 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
32 lines
886 B
YAML
32 lines
886 B
YAML
id: TC-BUILD-001
|
|
name: Builder Image Verification
|
|
suite: build
|
|
priority: 1
|
|
timeout: 120000
|
|
|
|
dependencies: []
|
|
|
|
steps:
|
|
- name: Check image exists
|
|
command: docker images ollama37-builder:latest --format '{{.Repository}}:{{.Tag}}'
|
|
|
|
- name: Verify CUDA toolkit
|
|
command: docker run --rm ollama37-builder:latest nvcc --version
|
|
|
|
- name: Verify GCC version
|
|
command: docker run --rm ollama37-builder:latest gcc --version | head -1
|
|
|
|
- name: Verify Go version
|
|
command: docker run --rm ollama37-builder:latest go version
|
|
|
|
criteria: |
|
|
All commands should succeed (exit code 0).
|
|
|
|
Expected outputs:
|
|
- Image exists: should show "ollama37-builder:latest"
|
|
- CUDA: should show version 11.4 (accept 11.4.x)
|
|
- GCC: should show version 10 (accept GCC 10.x)
|
|
- Go: should show version 1.25 or higher
|
|
|
|
Accept minor version variations. Focus on major versions being correct.
|