Initial commit: Voice controlled device application, specs and Gitea Actions workflow
This commit is contained in:
@@ -0,0 +1,51 @@
|
||||
version: '3.8'
|
||||
|
||||
services:
|
||||
# 1. 動作シミュレーション (標準デモ実行)
|
||||
simulation:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
container_name: voice_app_simulation
|
||||
command: ./gradlew :app:runSimulation --console=plain
|
||||
volumes:
|
||||
- .:/workspace
|
||||
- gradle-cache:/root/.gradle
|
||||
|
||||
# 2. 対話型シミュレーション (ターミナルから直接音声テキスト入力)
|
||||
interactive:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
container_name: voice_app_interactive
|
||||
command: ./gradlew :app:runSimulation --args="--interactive" --console=plain
|
||||
stdin_open: true
|
||||
tty: true
|
||||
volumes:
|
||||
- .:/workspace
|
||||
- gradle-cache:/root/.gradle
|
||||
|
||||
# 3. 単体テスト実行 (JUnit/MockK/Coroutinesテスト)
|
||||
test:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
container_name: voice_app_test
|
||||
command: ./gradlew test --console=plain
|
||||
volumes:
|
||||
- .:/workspace
|
||||
- gradle-cache:/root/.gradle
|
||||
|
||||
# 4. Android APK ビルド (app/build/outputs/apk/debug/ に出力)
|
||||
build:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
container_name: voice_app_build
|
||||
command: ./gradlew assembleDebug --console=plain
|
||||
volumes:
|
||||
- .:/workspace
|
||||
- gradle-cache:/root/.gradle
|
||||
|
||||
volumes:
|
||||
gradle-cache:
|
||||
Reference in New Issue
Block a user