Files
xcl/.gitignore
ivall 0e946cfc68 PR checks: only the PR's own run must be clean, main's run must be from main; game data refused
From a review of the check: it looked for crashes and device removals anywhere in the
description, so a PR fixing a crash on main failed on main's run, and nothing made the two
runs come from different commits. The checker is now scripts/pr_check.py: the PR's xcl-smoke
block must be its head commit with no uncommitted changes, the other a commit on main (the
compare API), both of the same title for the same time; crashes and device removals count in
the PR's run only, which must keep 80 % of main's frames and stay under 125 % of its peak
commit.

The workflow runs as pull_request_target with main's checker: a PR can no longer change what
checks it, and nothing of the PR is checked out or run (only its description and file list are
read through the API).

Game data: .gitignore keeps game packages, archives, executables, video, audio banks,
textures and dumps out, and the check refuses a PR adding one, a MicrosoftGame.config other
than the test title's, or any binary outside tests/data/ or over 1 MB.
2026-11-23 23:39:22 +01:00

46 lines
701 B
Plaintext

/target
# Game data never goes into the repository (CONTRIBUTING.md, "Licence and provenance"): game
# packages and archives, console executables and libraries, video, audio banks, textures, dumps.
# XCL's own synthetic test data lives in tests/data/ and is listed explicitly below.
*.rpf
*.xvd
*.xvc
*.msixvc
*.appx
*.msix
*.appxbundle
*.xex
*.xbe
*.pak
*.bk2
*.bik
*.ttpf
*.dds
*.ktx
*.ktx2
*.wem
*.bnk
*.exe
*.dll
*.pdb
*.sys
*.dmp
*.mdmp
*.iso
*.pkg
*.xsp
*.cab
MicrosoftGame.config
appxmanifest.xml
resources.pri
!tests/data/testgame/MicrosoftGame.config
# XCL's run output (logs, reports, frame dumps, shader dumps)
*.log
report.json
frame_*.bmp
# Python bytecode of the scripts
__pycache__/