115 lines
2.3 KiB
Markdown
115 lines
2.3 KiB
Markdown
<!-- file: deltas/0.1.0/2-beta.1.md -->
|
|
<!-- version: 1 -->
|
|
|
|
# Delta 0.1.0-2-beta.1
|
|
|
|
## Base
|
|
|
|
Base validée : `0.1.0-1-alpha.2.fix.5`.
|
|
|
|
## Objectif
|
|
|
|
Entrer en phase beta sans ajouter de nouveau gameplay.
|
|
|
|
La priorité devient :
|
|
|
|
- stabilisation ;
|
|
- packaging ;
|
|
- tests multi-runtimes ;
|
|
- tests multi-appareils.
|
|
|
|
## Historique alpha
|
|
|
|
La validation de `1-alpha.2.fix.5` est enregistrée sous :
|
|
|
|
```text
|
|
history/0.1.0/1-alpha.2.fix.5.md
|
|
```
|
|
|
|
## Matrice beta
|
|
|
|
La matrice durable est documentée dans :
|
|
|
|
```text
|
|
docs/testing/002-BETA_VALIDATION_MATRIX.md
|
|
```
|
|
|
|
## Audit de distribution
|
|
|
|
```bash
|
|
python3 scripts/audit_distribution_layout.py
|
|
```
|
|
|
|
## Gates statiques et Rust
|
|
|
|
```bash
|
|
cargo fmt --all
|
|
cargo fmt --all -- --check
|
|
|
|
python3 scripts/audit_rust_workspace_rules.py
|
|
python3 scripts/audit_markdown_tables.py README.md RULES.md ROADMAP.md CHANGELOG.md docs prompts crates Android deltas history
|
|
python3 scripts/audit_distribution_layout.py
|
|
|
|
cargo check --workspace
|
|
cargo clippy --workspace --all-targets --all-features -- -D warnings
|
|
|
|
cargo test --workspace --all-targets --all-features
|
|
```
|
|
|
|
## Build WASM
|
|
|
|
```bash
|
|
python3 scripts/build_reflex_tauri_wasm.py
|
|
```
|
|
|
|
## Packaging Desktop natif
|
|
|
|
```bash
|
|
cargo build -p game-reflex-poc-desktop --release
|
|
cargo build -p game-snake-poc-desktop --release
|
|
```
|
|
|
|
## Packaging Tauri
|
|
|
|
```bash
|
|
cd crates/apps/game-reflex-poc-tauri
|
|
cargo tauri build
|
|
cd ../../..
|
|
```
|
|
|
|
Ne pas lancer `npm run build` manuellement comme gate séparée.
|
|
|
|
## Android x86_64
|
|
|
|
```bash
|
|
python3 scripts/build_android_rust.py reflex --abi x86_64
|
|
python3 scripts/build_android_rust.py snake --abi x86_64
|
|
|
|
cd Android
|
|
gradle :game-reflex-poc:assembleDebug
|
|
gradle :game-snake-poc:assembleDebug
|
|
cd ..
|
|
```
|
|
|
|
Les deux APK doivent ensuite être testés sur l'AVD x86_64.
|
|
|
|
## Android ARM64 réel
|
|
|
|
```bash
|
|
python3 scripts/build_android_rust.py reflex --abi arm64-v8a
|
|
python3 scripts/build_android_rust.py snake --abi arm64-v8a
|
|
|
|
cd Android
|
|
gradle :game-reflex-poc:assembleDebug
|
|
gradle :game-snake-poc:assembleDebug
|
|
cd ..
|
|
```
|
|
|
|
Déployer ensuite sur un appareil ARM64 réel, notamment le Galaxy S9+ déjà utilisé.
|
|
|
|
## Transition
|
|
|
|
Si les gates, packagings et smokes multi-appareils sont propres, `2-beta.1` pourra être validée et la roadmap passera au candidat `3-rc.1`.
|
|
|
|
Tout défaut imputable au projet reste dans `2-beta.1.fix.N`.
|