Repository navigation
Conversation
tools/setup-linux.sh fetches the README's third-party packages into external/ (each archive checked by SHA-256), builds Python 2.7.18 shared with ucs4, gathers the system's FFmpeg for the movies, and with --build configures and builds with clang, Ninja and the SPIR-V shaders. tools/parity.sh plays the AI games of tests/parity/cases.txt headless, several at once, and compares each turn's sync checksum with tests/parity/reference.txt (numbers only); --update writes it. The games' output is never printed. .github/workflows/parity.yml runs both on a self-hosted runner labelled civ4, with CIV4 set on the machine, and keeps only the checksums. .gitignore refuses the game's kinds of files. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Written by tools/parity.sh --update on Linux x64 (clang 21) from Steam's Beyond the Sword 3.19. Fractal STANDARD seed 7 ends at D7D43800 at turn 100, as on Windows x64. Replayed twice, on 16 processes and on one: the same every turn. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Dec 2, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Ce que ça ajoute
tools/setup-linux.shrécupère dansexternal/les versions du README : pybind11 2.9.2, zlib 1.3.1, SDL3 3.4.18, dr_mp3 (même commit que la CI Windows), FreeType 2.13.3 et DirectXMathjun2026. Le README ne fixe pas de version pour DirectXMath ; j'ai pris la dernière étiquette.external/ffmpeg-systempour les vidéos.--build, il compile avec clang, Ninja et-DOC4_SPIRV_SHADERS=ONdansbuild/linux.OC4_EXTERNAL=<dossier>, les dépendances vont ailleurs (le runner les garde hors de la copie de travail).tools/parity.shjoue sans affichage les parties d'IA detests/parity/cases.txt(8 parties : plusieurs cartes, tailles et graines), en parallèle surnprocprocessus.tests/parity/reference.txt.--updateécrit cette référence. Elle ne contient que des nombres..github/workflows/parity.ymltourne sur le runner auto-hébergé[self-hosted, linux, civ4], avecCIV4défini sur la machine..gitignorerefuse les fichiers du jeu : archives, modèles, textures, sons, vidéos, XML, sauvegardes et le Python du jeu (Cv*.py). Le Python d'OpenCiv4 (oc4*.py) n'est pas touché.Vérifié sur le serveur (Ubuntu 26.04, Ryzen 7 5700X, 16 Go, GTX 970)
apps/oc4core/Interface.cppet 31 s poursrc/render/MapView.cpp(8 exécutables reliés à nouveau).ctest: 15 sur 15, sans affichage.parity.shessayé avec un fauxoc4core: parties identiques, écart détecté au bon tour, mise à jour partielle de la référence.Parité (Beyond the Sword 3.19 de Steam, version Windows)
oc4core --turns 100 --map Fractal --size STANDARD --seed 7, sans affichage : 100 lignes, une par tour. Le tour 100 donneD7D43800, la même somme que l'amont sous Windows x64. Durée : 2,6 s, 110 Mo de mémoire.tests/parity/reference.txt: les 8 parties, 858 lignes, uniquement des numéros de tour et des sommes.Pas encore fait
civ4n'existe pas encore. Tant qu'il n'est pas enregistré, le jobparityreste en attente.setup-linux.shen amont : Add reproducible headless Linux setup and regression checks bssth/openciv4#40 fait la même chose (tools/setup_linux.py) et attend une relecture.🤖 Generated with Claude Code