mirror of
https://github.com/readmet3xt-lab/foxhound.git
synced 2026-12-06 09:18:36 +00:00
Input and audio: - Sony pads on raw HID are not read while an XInput pad is connected: behind a remapper (Steam Input, DS4Windows) the same pad was read twice, so remapped buttons still fired and rumble went twice. VICTORY_HID_BESIDE_XINPUT=1 reads both. - Rumble for the one pad goes to the slots the last poll found, instead of asking every slot again under the input lock. - VICTORY_DSP_PASS passes through mono convolutions only; stereo reverbs were passed as a five times louder dry copy. Loader: a CLWB that cannot be replaced in place (it crosses a 16-byte boundary, or VICTORY_PATCH_CLWB=0) goes to the crash module's handler, which runs a whole write-back loop in one exception, instead of one exception per cache line. Pipelines and caches: - The early-start list with runs goes to a file of its own; the plain list of keys is still written, so a 0.8.2 on the same cache folder finds its early pipelines again. The first start of this version on a folder counts as a first start, so the first-start hold applies. - A pipeline library with no count file beside it (an earlier version's) is rebuilt once it is 64 MiB or more. - The pipeline journal drops this process's notes when the run ends on purpose: a pipeline being made at exit was refused for good. - `victory caches` keeps the folders of builds before the translator stamp, which 0.8.2 still reads, unless --older is given. - The play script's prepare stamp includes the title profile's state, so a profile installed later translates again. Logs and smaller fixes: - Newer queues' methods 0xb8 and 0xc0, and the two device pipeline methods that are not implemented, are said once by what they are taken for; the repeated words lines stay in diagnostics builds. - VICTORY_VIEW_SPLIT_ADAPTIVE leaves the per-draw tables their slots: its first sync raised the line over all of them, and every draw that needed a table was dropped. - The STREAM_BOUND comment: a root view past its window reads whatever lies beyond, not zeros. - The tiles test compiles its own shader with the run-time compiler; a debug build stopped on it as a shader not built with the crate. Build and launcher: - BCPack tests say when the format's own tables were not given, and fail with VICTORY_BCPACK_REQUIRE_TABLES=1; CI runs them where the repository variable VICTORY_BCPACK_TABLES names a file, and warns where it does not. - The launcher asks Windows for AVX2 before a start: victory.exe is built for it and stops before its own check can say why. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
46 lines
1.6 KiB
YAML
46 lines
1.6 KiB
YAML
name: CI
|
|
|
|
on:
|
|
pull_request:
|
|
push:
|
|
branches: [main]
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
concurrency:
|
|
group: ci-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
env:
|
|
CARGO_TERM_COLOR: always
|
|
|
|
jobs:
|
|
check:
|
|
runs-on: windows-latest
|
|
timeout-minutes: 60
|
|
steps:
|
|
- uses: actions/checkout@v5
|
|
# The version and components pinned in rust-toolchain.toml.
|
|
- run: rustup toolchain install
|
|
- uses: Swatinem/rust-cache@v2
|
|
- name: Clippy
|
|
run: cargo clippy --workspace --all-targets --locked -- -D warnings
|
|
- name: Clippy, diagnostics build
|
|
run: cargo clippy --workspace --all-targets --all-features --locked -- -D warnings
|
|
# Includes xtask's repository_passes_policy, the asset-policy check.
|
|
- name: Tests
|
|
run: cargo test --workspace --locked
|
|
# The BCPack decoder against the format's own tables: they are not in the repository, so this
|
|
# runs only on a runner that has them (the repository variable VICTORY_BCPACK_TABLES names the
|
|
# file); elsewhere the job says it did not run.
|
|
- name: BCPack decoder against the format's tables
|
|
if: vars.VICTORY_BCPACK_TABLES != ''
|
|
env:
|
|
VICTORY_BCPACK_TABLES: ${{ vars.VICTORY_BCPACK_TABLES }}
|
|
VICTORY_BCPACK_REQUIRE_TABLES: '1'
|
|
run: cargo test -p victory-formats --locked --lib bcpack
|
|
- name: BCPack decoder not checked against the format's tables
|
|
if: vars.VICTORY_BCPACK_TABLES == ''
|
|
run: echo "::warning::The BCPack decoder's tests ran without the format's own tables (the repository variable VICTORY_BCPACK_TABLES is not set); the checks that need them did not run."
|