forked from pointblank-club/oaas
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.test.yaml
More file actions
43 lines (40 loc) · 1.13 KB
/
docker-compose.test.yaml
File metadata and controls
43 lines (40 loc) · 1.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
version: '3.8'
services:
# Automated test runner
test-mlir:
build:
context: .
dockerfile: Dockerfile.test
volumes:
- ./tests:/app/tests
- ./test_results:/app/test_results
environment:
- PYTHONPATH=/app/cmd/llvm-obfuscator
- LD_LIBRARY_PATH=/usr/lib/llvm-22/lib:/app/mlir-obs/build/lib
command: bash -c "cd /app/tests && ./run_integration_tests.sh"
# Interactive development container
dev:
build:
context: .
dockerfile: Dockerfile.test
volumes:
- .:/app
- ./test_results:/app/test_results
working_dir: /app
environment:
- PYTHONPATH=/app/cmd/llvm-obfuscator
- LD_LIBRARY_PATH=/usr/lib/llvm-22/lib:/app/mlir-obs/build/lib
stdin_open: true
tty: true
command: /bin/bash
# Quick test runner (just MLIR passes, no CLI)
test-passes-only:
build:
context: .
dockerfile: Dockerfile.test
volumes:
- ./tests:/app/tests
- ./test_results:/app/test_results
environment:
- LD_LIBRARY_PATH=/usr/lib/llvm-22/lib:/app/mlir-obs/build/lib
command: bash -c "cd /app/tests && ./test_mlir_passes_only.sh"