mirror of
https://github.com/juanjiant-bit/JIANT.git
synced 2026-12-06 21:04:32 +01:00
(the owner: "a song I like but not its sounds: randomize the presets of every sequence of the song playing, mine or the generator's") - web_gen_resound(seed): every track with a part a new sound by its role (a bass a bass's, the chords a chord's, the drums another kit), out of GEN's own picker (gen_sound, gen_kit, gen_mix, gen_fxs, gen_evolve), asked again till the engine or the preset differs. A GEN draft: its roles and its genre (EXPLORE: EXPLORE's); a project of the player's: the roles by what each track plays (gls_role), the genre a seed's near the song's tempo. The steps, the pattern, the arrangement kept; the four stored parts given the same new sounds (their own LEVEL / PAN kept where they had their own), nothing loaded: the music plays on. One UNDO point (GLO + G4) and web_gen_resound_undo (the parts and the sounds as they were); web_gen_resound_seed (the last seed). - ui_layer.c's own RL_N (1) shadows GEN's after it: the web code uses WEB_RL_N. - tests: web/emu/resound_web_test.c (a GEN song and a player's song: steps kept, sounds new, the parts too, the same seed the same sounds, UNDO, it sounds, it plays on), its CI step. The emulator's alone: felucca.fwsc unchanged (1342370a...). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
326 lines
24 KiB
YAML
326 lines
24 KiB
YAML
name: V23 editing and WEST beta
|
|
on:
|
|
push:
|
|
branches: [codex/v23-editing-beta, codex/v56-fm, codex/v65-punch, codex/v66-clean]
|
|
permissions:
|
|
contents: read
|
|
concurrency:
|
|
group: voice-user-candidate-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
jobs:
|
|
check:
|
|
runs-on: ubuntu-24.04
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: actions/setup-python@v5
|
|
with:
|
|
python-version: '3.13'
|
|
- run: pip install Pillow==12.3.0 numpy==2.3.5 fonttools==4.61.1
|
|
- name: Generate headers
|
|
run: python3 -c "import sys;sys.path.insert(0,'tools');import build;build.generate()"
|
|
- name: Pinned audio gap packing regression
|
|
run: python3 tests/layout_packing_test.py
|
|
- name: JieLi toolchain cache
|
|
uses: actions/cache@v4
|
|
with:
|
|
path: |
|
|
~/.jieli
|
|
~/fw-AC79_AIoT_SDK/cpu/wl82/tools
|
|
key: jieli-ac79-v1.2.1
|
|
- name: Toolchain and SDK
|
|
run: |
|
|
retry() { for d in 0 5 15 30; do sleep $d; "$@" && return 0; done; return 1; }
|
|
T=$HOME/fw-AC79_AIoT_SDK/cpu/wl82/tools
|
|
[ -e "$HOME/.jieli/toolchain" ] || retry sh tools/get_toolchain.sh "$HOME/.jieli"
|
|
if [ ! -s "$T/uboot.boot" ] || [ ! -s "$T/cfg_tool.bin" ] || [ ! -s "$T/cfg/eq_cfg_hw.bin" ]; then
|
|
retry git clone --filter=blob:none --no-checkout https://gitee.com/Jieli-Tech/fw-AC79_AIoT_SDK.git "$HOME/fw-AC79_AIoT_SDK"
|
|
cd "$HOME/fw-AC79_AIoT_SDK"
|
|
git sparse-checkout set --no-cone /cpu/wl82/tools/uboot.boot /cpu/wl82/tools/cfg_tool.bin /cpu/wl82/tools/cfg/eq_cfg_hw.bin
|
|
retry git checkout d179b4484759423312073f5fbb232501aa491047
|
|
fi
|
|
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:
|
|
AC79_SDK: /home/runner/fw-AC79_AIoT_SDK
|
|
JIELI_TOOLCHAIN: /home/runner/.jieli/toolchain
|
|
run: |
|
|
mkdir -p build/song-check
|
|
python3 tools/build.py > build/song-check/target.log 2>&1 || {
|
|
cat build/song-check/target.log
|
|
python3 -c "import sys,pathlib;sys.path.insert(0,'tools');import build;p=pathlib.Path('build/felucca.map');r=build.map_inputs(p.read_text()) if p.exists() else [];print('Largest sections:', sorted(r,key=lambda x:x[2],reverse=True)[:35]);print('Save/GEN sections:',[(n,a,z,o) for n,a,z,o in r if n.startswith(('.text.song_', '.text.gen_', '.text.project_save', '.text.lib_scan'))]);print('Cold bank:',[l for l in p.read_text().splitlines() if '_bt_end' in l or '_bt_start' in l] if p.exists() else [])"
|
|
exit 1
|
|
}
|
|
- name: Firmware memory and reach checks
|
|
run: tail -n 20 build/song-check/target.log
|
|
- name: Stopped note preview and unquantized recording
|
|
run: |
|
|
set -euo pipefail
|
|
cc -O1 -g -w -Wno-implicit-function-declaration -fsanitize=address,bounds -Ibuild/gen -Ifirmware/src tests/v23_editing_test.c -lm -o build/song-check/editing
|
|
ASAN_OPTIONS=detect_leaks=0 build/song-check/editing | tee build/song-check/editing.log
|
|
cc -O1 -g -w -fsanitize=address,bounds -Ibuild/gen -Ifirmware/src tests/tail_priority_test.c -lm -o build/song-check/tail-priority
|
|
ASAN_OPTIONS=detect_leaks=0 build/song-check/tail-priority | tee build/song-check/tail-priority.log
|
|
cc -O1 -w -Wno-implicit-function-declaration -Ibuild/gen -Ifirmware/src tests/micro_test.c -lm -o build/song-check/micro
|
|
build/song-check/micro | tee build/song-check/micro.log
|
|
cc -O1 -w -Wno-implicit-function-declaration -Ibuild/gen -Ifirmware/src tests/rec_workflow_test.c -lm -o build/song-check/rec-workflow
|
|
build/song-check/rec-workflow | tee build/song-check/rec-workflow.log
|
|
- name: V23 audio, punch-ins and WEST
|
|
run: |
|
|
set -euo pipefail
|
|
cc -O2 -w -Ibuild/gen -Ifirmware/src tests/regress.c -lm -o build/song-check/regress
|
|
build/song-check/regress tests/golden.txt tests/cpu_baseline.txt | tee build/song-check/regress.log
|
|
cc -O1 -w -Ibuild/gen -Ifirmware/src tests/dist_noise_test.c -lm -o build/song-check/dist-noise
|
|
build/song-check/dist-noise | tee build/song-check/dist-noise.log
|
|
cc -O1 -w -Ibuild/gen -Ifirmware/src tests/chorus_mix_test.c -lm -o build/song-check/chorus-mix
|
|
build/song-check/chorus-mix | tee build/song-check/chorus-mix.log
|
|
cc -O1 -w -Ibuild/gen -Ifirmware/src tests/gate_fx_test.c -lm -o build/song-check/gate-fx
|
|
build/song-check/gate-fx | tee build/song-check/gate-fx.log
|
|
cc -O1 -w -Ibuild/gen -Ifirmware/src tests/key_trk_test.c -lm -o build/song-check/key-trk
|
|
build/song-check/key-trk | tee build/song-check/key-trk.log
|
|
cc -O1 -w -Ibuild/gen -Ifirmware/src tests/west_test.c -lm -o build/song-check/west
|
|
build/song-check/west | tee build/song-check/west.log
|
|
for test in audio perform upreset; do
|
|
cc -O1 -w -Wno-implicit-function-declaration -Ibuild/gen -Ifirmware/src tests/${test}_test.c -lm -o build/song-check/$test
|
|
build/song-check/$test | tee build/song-check/$test.log
|
|
done
|
|
cc -O2 -w -pthread -Ibuild/gen -Ifirmware/src tests/mc_thread_test.c -lm -o build/song-check/mc-thread
|
|
python3 tests/mc_thread_test.py build/song-check/mc-thread | tee build/song-check/mc-thread.log
|
|
python3 tests/target_budget.py build/felucca.dis
|
|
- name: V23 reference hashes
|
|
uses: actions/checkout@v4
|
|
with:
|
|
ref: 841f7dd90cf733c50942ae9292d2e2cb52619bd8
|
|
path: build/v23-reference
|
|
persist-credentials: false
|
|
- name: Preserve all common V23 audio renders and punch code
|
|
run: |
|
|
python3 - <<'PYREF'
|
|
from pathlib import Path
|
|
def hashes(p):
|
|
return dict(line.split() for line in Path(p).read_text().splitlines() if line and not line.startswith('#'))
|
|
before=hashes('build/v23-reference/tests/golden.txt');after=hashes('tests/golden.txt')
|
|
common={k:v for k,v in before.items() if not k.startswith('preset/NOISE/')}
|
|
assert len(common)==195
|
|
# (V10.7.56, the owner) the sound changes on purpose: ROOM at half the rate, no voice taken from another part,
|
|
# tails under -60 dB let go and low-passed, the English dictionary out: every common render still there
|
|
# (tests/golden.txt reviewed with them), the punch-ins and the audio ISR still V23's
|
|
assert all(k in after for k in common),'a V23 render gone'
|
|
# (V10.7.59, the owner) the punch-ins redesigned (perform.c: REVERSE FREEZE TAPE STOP PITCH STRETCH) and the
|
|
# punch-in STUT on the transport's grid (pfx.c): tests/perform_test.c and tests/rep_sync_test.c hold them now
|
|
for name in ['audio.c']:
|
|
assert (Path('firmware/src')/name).read_bytes()==(Path('build/v23-reference/firmware/src')/name).read_bytes(),name+' changed'
|
|
print('PASS 195 reference renders present; the audio ISR V23\'s')
|
|
PYREF
|
|
- name: Lossless font metadata and isolated per-track generator
|
|
run: |
|
|
set -euo pipefail
|
|
python3 tests/font_pack_test.py
|
|
python3 tests/glyph_cover_test.py
|
|
cc -O1 -w -Ibuild/gen -Ifirmware/src tests/text_ref_test.c -lm -o build/song-check/text-ref
|
|
build/song-check/text-ref | tee build/song-check/text-ref.log
|
|
cc -O1 -g -w -Wno-implicit-function-declaration -fsanitize=address,bounds -Ibuild/gen -Ifirmware/src tests/track_generator_test.c -lm -o build/song-check/track-gen
|
|
ASAN_OPTIONS=detect_leaks=0 UBSAN_OPTIONS=halt_on_error=1 build/song-check/track-gen | tee build/song-check/track-gen.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/drift_test.c -lm -o build/song-check/drift
|
|
build/song-check/drift | tee build/song-check/drift.log
|
|
cc -O1 -w -Wno-implicit-function-declaration -Ibuild/gen -Ifirmware/src tests/resync_test.c -lm -o build/song-check/resync
|
|
build/song-check/resync | tee build/song-check/resync.log
|
|
cc -O1 -w -Wno-implicit-function-declaration -Ibuild/gen -Ifirmware/src tests/arp_grid_test.c -lm -o build/song-check/arp-grid
|
|
build/song-check/arp-grid | tee build/song-check/arp-grid.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 -g -w -Wno-implicit-function-declaration -fsanitize=address,bounds -Ibuild/gen -Ifirmware/src tests/ramp_test.c -lm -o build/song-check/ramp
|
|
build/song-check/ramp | tee build/song-check/ramp.log
|
|
cc -O1 -g -w -Wno-implicit-function-declaration -fsanitize=address,bounds -Ibuild/gen -Ifirmware/src tests/swarm_test.c -lm -o build/song-check/swarm
|
|
build/song-check/swarm | tee build/song-check/swarm.log
|
|
cc -O1 -g -w -Wno-implicit-function-declaration -fsanitize=address,bounds -Ibuild/gen -Ifirmware/src tests/sw_notes_test.c -lm -o build/song-check/sw-notes
|
|
ASAN_OPTIONS=detect_leaks=0 UBSAN_OPTIONS=halt_on_error=1 build/song-check/sw-notes | tee build/song-check/sw-notes.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
|
|
cc -O1 -w -Wno-implicit-function-declaration -Ibuild/gen -Ifirmware/src tests/loop_song_test.c -lm -o build/song-check/loop
|
|
timeout 120 build/song-check/loop | tee build/song-check/loop.log
|
|
# (V10.8.42) the publication gate's suites as main's public-release.yml runs them on a candidate: gen_test was
|
|
# not here and went stale between two public releases (FUGA's flag, ten expectations of V10.8.41's GEN)
|
|
cc -O1 -w -Wno-implicit-function-declaration -Ibuild/gen -Ifirmware/src tests/gen_test.c -lm -o build/song-check/gen
|
|
timeout 120 build/song-check/gen | tee build/song-check/gen.log
|
|
for CDC in 0 1; do
|
|
cc -O2 -w -DHALF_FRAMES=128 -DT_CDC="$CDC" tests/uac_test.c -lm -o "/tmp/uac-$CDC"
|
|
"/tmp/uac-$CDC" | tail -3
|
|
done
|
|
- name: Repeats on the tempo (RATCH, STUTTER, the punch-in STUT) and the FX punch-ins (V10.7.59)
|
|
run: |
|
|
set -euo pipefail
|
|
cc -O1 -w -Wno-implicit-function-declaration -Ibuild/gen -Ifirmware/src tests/rep_sync_test.c -lm -o build/song-check/rep-sync
|
|
build/song-check/rep-sync | tee build/song-check/rep-sync.log
|
|
cc -O1 -w -Wno-implicit-function-declaration -Ibuild/gen -Ifirmware/src tests/perform_test.c -lm -o build/song-check/perform
|
|
build/song-check/perform | tee build/song-check/perform.log
|
|
cc -O1 -w -Wno-implicit-function-declaration -Ibuild/gen -Ifirmware/src tests/macro_mx_test.c -lm -o build/song-check/macro-mx
|
|
build/song-check/macro-mx | tee build/song-check/macro-mx.log
|
|
cc -O1 -w -Wno-implicit-function-declaration -Ibuild/gen -Ifirmware/src tests/gen_entry_test.c -lm -o build/song-check/gen-entry
|
|
build/song-check/gen-entry | tee build/song-check/gen-entry.log
|
|
cc -O1 -w -Wno-implicit-function-declaration -Ibuild/gen -Ifirmware/src -Itests tests/gen_grid.c -lm -o build/song-check/gen-lines
|
|
build/song-check/gen-lines 0 24 | tee build/song-check/gen-lines.log
|
|
cc -O2 -w -Wno-implicit-function-declaration -Ibuild/gen -Ifirmware/src -Itests tests/gen_stems.c -lm -o build/song-check/gen-mix
|
|
build/song-check/gen-mix 3 0 c | tee build/song-check/gen-mix.log
|
|
# (V10.8.51) no generated piece's stem or mix over -1 dBFS before the master (Studio's analysis: +3.1 dBFS, clipped)
|
|
cc -O2 -w -Wno-implicit-function-declaration -Ibuild/gen -Ifirmware/src -Itests tests/gen_peak.c -lm -o build/song-check/gen-peak
|
|
build/song-check/gen-peak 3 12 c | tee build/song-check/gen-peak.log
|
|
cc -O1 -w -Wno-implicit-function-declaration -Ibuild/gen -Ifirmware/src tests/harmony_test.c -lm -o build/song-check/harmony
|
|
build/song-check/harmony | tee build/song-check/harmony.log
|
|
cc -O1 -w -Wno-implicit-function-declaration -Ibuild/gen -Ifirmware/src tests/euclid_mel_test.c -lm -o build/song-check/euclid-mel
|
|
build/song-check/euclid-mel | tee build/song-check/euclid-mel.log
|
|
cc -O1 -w -Wno-implicit-function-declaration -Ibuild/gen -Ifirmware/src tests/math_morph_test.c -lm -o build/song-check/math-morph
|
|
build/song-check/math-morph | tee build/song-check/math-morph.log
|
|
cc -O1 -w -Wno-implicit-function-declaration -Ibuild/gen -Ifirmware/src tests/dx_math_test.c -lm -o build/song-check/dx-math
|
|
build/song-check/dx-math | tee build/song-check/dx-math.log
|
|
cc -O1 -w -Wno-implicit-function-declaration -Ibuild/gen -Ifirmware/src -Itests tests/jam_test.c -lm -o build/song-check/jam
|
|
build/song-check/jam | tee build/song-check/jam.log
|
|
cc -O1 -w -Wno-implicit-function-declaration -Ibuild/gen -Ifirmware/src -Itests tests/stepfx_test.c -lm -o build/song-check/stepfx
|
|
build/song-check/stepfx | tee build/song-check/stepfx.log
|
|
cc -O1 -w -Wno-implicit-function-declaration -Ibuild/gen -Ifirmware/src -Itests tests/clay_test.c -lm -o build/song-check/clay
|
|
build/song-check/clay | tee build/song-check/clay.log
|
|
cc -O1 -w -Wno-implicit-function-declaration -Ibuild/gen -Ifirmware/src -Itests tests/clay_engines_test.c -lm -o build/song-check/clay-engines
|
|
build/song-check/clay-engines | tee build/song-check/clay-engines.log
|
|
cc -O1 -w -Wno-implicit-function-declaration -Ibuild/gen -Ifirmware/src tests/life_test.c -lm -o build/song-check/life
|
|
build/song-check/life | tee build/song-check/life.log
|
|
cc -O1 -w -Wno-implicit-function-declaration -Ibuild/gen -Ifirmware/src tests/fill_test.c -lm -o build/song-check/fill
|
|
build/song-check/fill | tee build/song-check/fill.log
|
|
cc -O1 -w -Wno-implicit-function-declaration -Ibuild/gen -Ifirmware/src tests/image_test.c -lm -o build/song-check/image
|
|
build/song-check/image | tee build/song-check/image.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: App protocol contract (editor protocol 1.0, pushes, engine ids, NRPN map)
|
|
run: |
|
|
set -euo pipefail
|
|
cc -O1 -g -w -Wno-implicit-function-declaration -fsanitize=address,bounds -Ibuild/gen -Ifirmware/src tests/app_contract_test.c -lm -o build/song-check/app-contract
|
|
ASAN_OPTIONS=detect_leaks=0 UBSAN_OPTIONS=halt_on_error=1 build/song-check/app-contract | tee build/song-check/app-contract.log
|
|
- name: Expression keys and the feel of live recording (V10.6z4)
|
|
run: |
|
|
set -euo pipefail
|
|
cc -O1 -g -w -Wno-implicit-function-declaration -fsanitize=address,bounds -Ibuild/gen -Ifirmware/src tests/expr_keys_test.c -lm -o build/song-check/expr-keys
|
|
ASAN_OPTIONS=detect_leaks=0 UBSAN_OPTIONS=halt_on_error=1 build/song-check/expr-keys | tee build/song-check/expr-keys.log
|
|
cc -O1 -g -w -Wno-implicit-function-declaration -fsanitize=address,bounds -Ibuild/gen -Ifirmware/src tests/legato_rec_test.c -lm -o build/song-check/legato-rec
|
|
ASAN_OPTIONS=detect_leaks=0 UBSAN_OPTIONS=halt_on_error=1 LEGATO_REC_VERBOSE=1 build/song-check/legato-rec | tee build/song-check/legato-rec.log
|
|
- name: Song sounds held, PROX / AIR calibration median and SYSTEM 2 (V10.6z8)
|
|
run: |
|
|
set -euo pipefail
|
|
cc -O1 -g -w -Wno-implicit-function-declaration -fsanitize=address,bounds -Ibuild/gen -Ifirmware/src tests/song_hold_test.c -lm -o build/song-check/song-hold
|
|
ASAN_OPTIONS=detect_leaks=0 UBSAN_OPTIONS=halt_on_error=1 build/song-check/song-hold | tee build/song-check/song-hold.log
|
|
cc -O1 -g -w -Wno-implicit-function-declaration -fsanitize=address,bounds -Ibuild/gen -Ifirmware/src tests/prox_cal_test.c -lm -o build/song-check/prox-cal
|
|
ASAN_OPTIONS=detect_leaks=0 UBSAN_OPTIONS=halt_on_error=1 build/song-check/prox-cal | tee build/song-check/prox-cal.log
|
|
- name: Key velocity and pressure (V10.6z6) and the boot's packed RAM code (V10.6z5)
|
|
run: |
|
|
set -euo pipefail
|
|
cc -O1 -g -w -fsanitize=address,undefined -Ibuild/gen -Ifirmware/src tests/vel_test.c -o build/song-check/vel
|
|
ASAN_OPTIONS=detect_leaks=0 UBSAN_OPTIONS=halt_on_error=1 build/song-check/vel | tee build/song-check/vel.log
|
|
cc -O1 -g -w -Wno-implicit-function-declaration -fsanitize=address,bounds -Ibuild/gen -Ifirmware/src tests/vel_seq_test.c -lm -o build/song-check/vel-seq
|
|
ASAN_OPTIONS=detect_leaks=0 UBSAN_OPTIONS=halt_on_error=1 build/song-check/vel-seq | tee build/song-check/vel-seq.log
|
|
cc -O1 -g -w -fsanitize=address,undefined -Ifirmware/src tests/boot_lz4_test.c -o build/song-check/boot-lz4
|
|
ASAN_OPTIONS=detect_leaks=0 UBSAN_OPTIONS=halt_on_error=1 build/song-check/boot-lz4 | tee build/song-check/boot-lz4.log
|
|
- name: Full UI including native timeline and large controls
|
|
run: |
|
|
set -euo pipefail
|
|
cc -O1 -w -Wno-implicit-function-declaration -Ibuild/gen -Ifirmware/src tests/ui_test.c -lm -o build/song-check/ui-full
|
|
build/song-check/ui-full | tee build/song-check/ui-full.log
|
|
- name: Recorded audio layout
|
|
if: always()
|
|
run: cat tools/audio_layout.txt
|
|
- name: Candidate package digest (for web/SPLIT_BETA.json)
|
|
if: always()
|
|
run: sha256sum build/felucca.fwsc || true
|
|
- uses: actions/upload-artifact@v4
|
|
if: always()
|
|
with:
|
|
name: voice-user-candidate
|
|
path: |
|
|
build/song-check/*.log
|
|
build/felucca.fwsc
|
|
build/felucca.bin
|
|
build/bt.bin
|
|
build/layout.ld
|
|
build/felucca.map
|
|
tools/audio_layout.txt
|
|
emulator-candidate:
|
|
runs-on: ubuntu-24.04
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: actions/setup-python@v5
|
|
with:
|
|
python-version: '3.13'
|
|
- run: pip install Pillow==12.3.0 numpy==2.3.5 fonttools==4.61.1
|
|
- run: python3 -c "import sys;sys.path.insert(0,'tools');import build;build.generate()"
|
|
- uses: mymindstorm/setup-emsdk@v14
|
|
with:
|
|
version: 6.0.11
|
|
- uses: actions/setup-node@v4
|
|
with:
|
|
node-version: '22'
|
|
- name: Build and compare emulator audio with native firmware
|
|
run: |
|
|
set -euo pipefail
|
|
mkdir -p build/emu
|
|
sh web/emu/build.sh
|
|
cc -O2 -ffp-contract=off -w -Wno-implicit-function-declaration -Wno-incompatible-pointer-types -Ibuild/gen -Ifirmware/src web/emu/native_check.c -lm -o build/emu/native-check
|
|
build/emu/native-check build/emu/native.f32
|
|
cc -O2 -ffp-contract=off -w -Wno-implicit-function-declaration -Wno-incompatible-pointer-types -Ibuild/gen -Ifirmware/src web/emu/gen_web_test.c -lm -o build/emu/gen-web-test # (studio's RADIO page: web_gen_info / web_gen_cmd)
|
|
build/emu/gen-web-test
|
|
cc -O2 -ffp-contract=off -w -Wno-implicit-function-declaration -Wno-incompatible-pointer-types -Ibuild/gen -Ifirmware/src web/emu/resound_web_test.c -lm -o build/emu/resound-web-test # (studio's RADIO page: RESOUND)
|
|
build/emu/resound-web-test
|
|
node web/emu/emu_test.mjs build/emu/felucca.wasm build/emu/native.f32
|
|
sha256sum build/emu/felucca.wasm # (for web/SPLIT_BETA.json emulator_sha256)
|
|
- uses: actions/upload-artifact@v4
|
|
with:
|
|
name: drum-kits-emulator-candidate
|
|
path: |
|
|
build/emu/*.html
|
|
build/emu/*.js
|
|
build/emu/*.wasm
|
|
build/emu/fonts
|