Skip to content

Commit b227f6d

Browse files
authored
Merge pull request #4 from tino1b2be/v2-foundation
DTMF-Decoder v2 foundation
2 parents c2e85f0 + acabaa3 commit b227f6d

372 files changed

Lines changed: 10474 additions & 17957 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.classpath

Lines changed: 0 additions & 14 deletions
This file was deleted.

.github/workflows/ci.yml

Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,83 @@
1+
name: CI
2+
3+
# Task 1.11 — GitHub Actions CI for the DTMF-Decoder v2 foundation build.
4+
#
5+
# Runs `./gradlew build --no-daemon` on Ubuntu, macOS, and Windows against a
6+
# Temurin JDK 17 toolchain (Requirements 1.3, 1.9). Gradle caches are keyed on
7+
# the wrapper properties and the version catalog so cache hits survive across
8+
# branches but invalidate whenever the build toolchain or pinned library
9+
# versions change.
10+
11+
on:
12+
push:
13+
branches: [main, master]
14+
pull_request:
15+
branches: [main, master]
16+
17+
permissions:
18+
contents: read
19+
20+
jobs:
21+
build:
22+
name: Build (${{ matrix.os }})
23+
runs-on: ${{ matrix.os }}
24+
strategy:
25+
fail-fast: false
26+
matrix:
27+
os: [ubuntu-latest, macos-latest, windows-latest]
28+
29+
steps:
30+
- name: Checkout repository
31+
uses: actions/checkout@v4
32+
33+
- name: Set up JDK 17 (Temurin)
34+
uses: actions/setup-java@v4
35+
with:
36+
distribution: temurin
37+
java-version: '17'
38+
39+
- name: Cache Gradle caches and wrapper dists
40+
uses: actions/cache@v4
41+
with:
42+
path: |
43+
~/.gradle/caches
44+
~/.gradle/wrapper
45+
key: ${{ runner.os }}-gradle-${{ hashFiles('gradle/wrapper/gradle-wrapper.properties', 'gradle/libs.versions.toml') }}
46+
restore-keys: |
47+
${{ runner.os }}-gradle-
48+
49+
- name: Build
50+
run: ./gradlew build --no-daemon
51+
52+
# Integration-scale tests (Task 13.5, Requirements 12.1, 12.2, 12.3) live
53+
# in their own source set and are excluded from the default `test` task,
54+
# so they do not slow down the matrix `build` job. They run once on Linux
55+
# only — the detection-rate and noise-FP tests are deterministic, so a
56+
# single-OS run is enough.
57+
integration-test:
58+
name: Integration tests (Linux)
59+
runs-on: ubuntu-latest
60+
needs: build
61+
62+
steps:
63+
- name: Checkout repository
64+
uses: actions/checkout@v4
65+
66+
- name: Set up JDK 17 (Temurin)
67+
uses: actions/setup-java@v4
68+
with:
69+
distribution: temurin
70+
java-version: '17'
71+
72+
- name: Cache Gradle caches and wrapper dists
73+
uses: actions/cache@v4
74+
with:
75+
path: |
76+
~/.gradle/caches
77+
~/.gradle/wrapper
78+
key: ${{ runner.os }}-gradle-${{ hashFiles('gradle/wrapper/gradle-wrapper.properties', 'gradle/libs.versions.toml') }}
79+
restore-keys: |
80+
${{ runner.os }}-gradle-
81+
82+
- name: Run integration tests
83+
run: ./gradlew :dtmf-core:integrationTest --no-daemon

.gitignore

Lines changed: 34 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,34 @@
1-
/bin/
2-
/Prototyping/Test Data/
1+
# Gradle build artifacts
2+
.gradle/
3+
build/
4+
**/build/
5+
*.class
6+
bin/
7+
out/
8+
9+
# jqwik property-test shrinking/failure database (runtime, not source)
10+
.jqwik-database
11+
**/.jqwik-database
12+
13+
# IDE and OS
14+
.idea/
15+
.vscode/
16+
*.iml
17+
*.ipr
18+
*.iws
19+
.classpath
20+
.project
21+
.settings/
22+
.DS_Store
23+
Thumbs.db
24+
25+
# Logs and JVM crash reports
26+
*.log
27+
hs_err_pid*.log
28+
replay_pid*.log
29+
30+
# Kiro agent spec/planning workspace — not intended for public consumption
31+
.kiro/
32+
33+
# Keep empty directories only when a .gitkeep opts them in
34+
!.gitkeep

.gradle/1.4/taskArtifacts/cache.properties

Lines changed: 0 additions & 1 deletion
This file was deleted.

.gradle/1.4/taskArtifacts/cache.properties.lock

Lines changed: 0 additions & 1 deletion
This file was deleted.
-29.6 KB
Binary file not shown.
-219 KB
Binary file not shown.
-19.3 KB
Binary file not shown.
-37.4 KB
Binary file not shown.

.idea/compiler.xml

Lines changed: 0 additions & 22 deletions
This file was deleted.

0 commit comments

Comments
 (0)