Make held fills replace sequencer notes and record replacement cells; non-releasable memory/layout probe

This commit is contained in:
JUAN JIANT committed 2026-11-05 21:43:54 -03:00
1 parent f32f46ce0f
commit 7a4ef77a64
6 files changed
+67 -85

No files matched your search

+3 -77
View File
@@ -1,4 +1,4 @@
name: VOICE user lyric candidate
name: Target layout probe (not releasable)
on:
push:
branches: [codex/voice-user-lyrics]
@@ -41,6 +41,7 @@ jobs:
test -s "$T/uboot.boot" && test -s "$T/cfg_tool.bin" && test -s "$T/cfg/eq_cfg_hw.bin"
- name: FM-1 package and target budgets
env:
FELUCCA_REPIN: keep
AC79_SDK: /home/runner/fw-AC79_AIoT_SDK
JIELI_TOOLCHAIN: /home/runner/.jieli/toolchain
run: |
@@ -52,88 +53,13 @@ jobs:
}
- name: Firmware memory and reach checks
run: tail -n 20 build/song-check/target.log
- name: DRUM performance and multilingual intentional lyric regression
run: |
set -euo pipefail
cc -O1 -g -w -Wno-implicit-function-declaration -fsanitize=address,bounds -Ibuild/gen -Ifirmware/src tests/drum_voice_extensions_test.c -lm -o build/song-check/drum-voice
ASAN_OPTIONS=detect_leaks=0 UBSAN_OPTIONS=halt_on_error=1 build/song-check/drum-voice | tee build/song-check/drum-voice.log
cc -O1 -w -Wno-implicit-function-declaration -Ibuild/gen -Ifirmware/src tests/drumx_oct_test.c -lm -o build/song-check/classic-octaves
build/song-check/classic-octaves | tee build/song-check/classic-octaves.log
cc -O1 -w -Wno-implicit-function-declaration -Ibuild/gen -Ifirmware/src tests/voice_test.c -lm -o build/song-check/voice-reading
build/song-check/voice-reading | tee build/song-check/voice-reading.log
python3 tests/voice_web_test.py
- name: FIT clock, persistence and audio timing
run: |
set -euo pipefail
mkdir -p build/song-check
cc -O1 -w -Wno-implicit-function-declaration -Ibuild/gen -Ifirmware/src tests/persistence_test.c -lm -o build/song-check/persistence
build/song-check/persistence | tee build/song-check/persistence.log
cc -O1 -w -Wno-implicit-function-declaration -Ibuild/gen -Ifirmware/src tests/backup_test.c -lm -o build/song-check/backup
build/song-check/backup > build/song-check/backup.log
cc -O1 -w -Wno-implicit-function-declaration -DSONG_SAVE_ONLY -Ibuild/gen -Ifirmware/src tests/ui_test.c -lm -o build/song-check/ui
build/song-check/ui | tee build/song-check/ui.log
cc -O1 -w -Wno-implicit-function-declaration -Ibuild/gen -Ifirmware/src tests/project_test.c -lm -o build/song-check/project
build/song-check/project > build/song-check/project.log
cc -O1 -w -Wno-implicit-function-declaration -Ibuild/gen -Ifirmware/src tests/fit_test.c -lm -o build/song-check/fit
build/song-check/fit | tee build/song-check/fit.log
cc -O1 -w -Wno-implicit-function-declaration -Ibuild/gen -Ifirmware/src tests/probability_component_test.c -lm -o build/song-check/probability
build/song-check/probability | tee build/song-check/probability.log
cc -O1 -w -Wno-implicit-function-declaration -DTIMING_FIT -Ibuild/gen -Ifirmware/src tests/ctl64_timing_test.c -lm -o build/song-check/fit-timing
build/song-check/fit-timing | tee build/song-check/fit-timing.log
cc -O1 -w -Wno-implicit-function-declaration -Ibuild/gen -Ifirmware/src tests/ctl64_timing_test.c -lm -o build/song-check/timing
build/song-check/timing > build/song-check/timing.log
python3 tests/uac_input_irq_test.py > build/song-check/usb-input.log
cc -O1 -w -Wno-implicit-function-declaration -Ibuild/gen -Ifirmware/src tests/midi_control_test.c -lm -o build/song-check/midi
build/song-check/midi | tee build/song-check/midi.log
- name: Generator song progress and whole-song save regression
run: |
set -euo pipefail
cc -O1 -w -Wno-implicit-function-declaration -Ibuild/gen -Ifirmware/src tests/song_generator_test.c -lm -o build/song-check/generator
build/song-check/generator | tee build/song-check/generator.log
cc -O1 -w -Wno-implicit-function-declaration -Ibuild/gen -Ifirmware/src tests/song_draft_test.c -lm -o build/song-check/draft
build/song-check/draft | tee build/song-check/draft.log
- name: Matrix and track follower regression
run: |
set -euo pipefail
cc -O1 -w -Wno-implicit-function-declaration -Ibuild/gen -Ifirmware/src tests/mod_test.c -lm -o build/song-check/mod
build/song-check/mod > build/song-check/mod.log
cc -O1 -g -w -Wno-implicit-function-declaration -fsanitize=address,bounds -Ibuild/gen -Ifirmware/src tests/track_follow_test.c -lm -o build/song-check/follow
ASAN_OPTIONS=detect_leaks=0 UBSAN_OPTIONS=halt_on_error=1 build/song-check/follow | tee build/song-check/follow.log
- name: Contextual destinations, legacy routes and editor protocol
run: |
set -euo pipefail
cc -O1 -w -Wno-implicit-function-declaration -Ibuild/gen -Ifirmware/src tests/matrix_context_test.c -lm -o build/song-check/context
build/song-check/context | tee build/song-check/context.log
cc -O1 -w -Wno-implicit-function-declaration -Ibuild/gen -Ifirmware/src tests/matrix_editor_test.c -lm -o build/song-check/context-editor
build/song-check/context-editor | tee build/song-check/context-editor.log
python3 tests/matrix_web_test.py
- name: Verified pre-split baseline for UI regression comparison
uses: actions/checkout@v4
with:
ref: f5f6b1bde3a2eefa14444ad2212626c7aa4d46a8
path: build/ui-baseline
persist-credentials: false
- name: Full UI comparison against known baseline
run: |
set -euo pipefail
mkdir -p build/ui-baseline-gen
python3 build/ui-baseline/tools/gen_lyrics.py build/ui-baseline-gen/felucca_lyrics.h
cc -O1 -w -Wno-implicit-function-declaration -Ibuild/gen -Ifirmware/src tests/ui_test.c -lm -o build/song-check/ui-full
cc -O1 -w -Wno-implicit-function-declaration -Ibuild/ui-baseline-gen -Ibuild/gen -Ibuild/ui-baseline/firmware/src build/ui-baseline/tests/ui_test.c -lm -o build/song-check/ui-base
set +e
build/song-check/ui-full > build/song-check/ui-full.log
FULL_RC=$?
build/song-check/ui-base > build/song-check/ui-base.log
BASE_RC=$?
set -e
python3 tests/ui_baseline_compare.py build/song-check/ui-base.log build/song-check/ui-full.log "$BASE_RC" "$FULL_RC"
- name: Recorded audio layout
if: always()
run: cat tools/audio_layout.txt
- uses: actions/upload-artifact@v4
if: always()
with:
name: voice-user-candidate
name: voice-user-layout-probe
path: |
build/song-check/*.log
build/felucca.fwsc