d1961e79fc
Integrate 182 upstream commits throughb2473e60while retaining MoonWell packaging, branding and the community ruRU pack. Upstream replaces the C Lua/mlua host with benilla-lua/benilla-mlua and the native glue screens with stock GlueXML. The update also includes the new locale/DBC/name rules, cache and interaction handling, rendering, quest log and chat behavior, including the latest quest completion and timed-quest failure fixes. Fork adaptations use the new APIs: stock Wow.ini locales remain intact, while the ruRU overlay reads column zero and retains its ruRU authentication tag and Lua identity. Russian names keep their twelve-letter policy and Unicode roster matching; fonts, spell costs, race/class labels and translated options retain real-pack regression coverage. Windows regression fixes keep the locale-default test valid under instrumented window overrides and the shader assertion independent of checkout line endings. The original C Lua 5.1 host, rebuilt fromc0630f3din an isolated directory, reproduces the complete Windows cos-sweep answer byte for byte; cos now uses platform-specific goldens. Validation on Windows: scripts/gates.sh passed all automatic gates, including real-data and no-install workspace tests, reference tables, documentation, message catalog, render-pass lint, player clippy/tests and engine boots with and without data. MoonWell player clippy also passed with -D warnings. The committed tree exactly matches the full green stamp; five vendored Kira files retain the tested checkout's line endings, with normalized contents unchanged. All three actual ruRU pack regressions passed in both builds. Fifteen test archives were restored read-only from the published client and SHA-256 checked. Each real-data/player rung skipped 31 tests because the optional addon corpus is absent (24 general, 7 Quiver). Live smoke was not run: no declared probe account; no player-account login or character creation was performed. Linux/macOS changes were not locally built.
65 lines
2.5 KiB
YAML
65 lines
2.5 KiB
YAML
# The gates of scripts/gates.sh that need neither a WoW install nor a display, on Linux, for a pull
|
|
# request from a fork: a red one is seen before anyone builds it. The data-gated tests, the engine
|
|
# boot checks and a live run happen on the maintainer's machine before it lands.
|
|
name: CI
|
|
|
|
on:
|
|
pull_request:
|
|
workflow_dispatch:
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
concurrency:
|
|
group: ci-${{ github.event.pull_request.number || github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
gates:
|
|
# A branch of this repository runs the full chain before it lands; a fork's pull request runs here.
|
|
if: github.event_name == 'workflow_dispatch' || github.event.pull_request.head.repo.full_name != github.repository
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 150
|
|
env:
|
|
CARGO_TERM_COLOR: always
|
|
CARGO_INCREMENTAL: 0
|
|
# No debuginfo: it is most of target/, and a runner's disk is small.
|
|
CARGO_PROFILE_DEV_DEBUG: 0
|
|
# Set and empty: no install, as the gates' test-no-install runs.
|
|
WOW_DATA: ""
|
|
steps:
|
|
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
with:
|
|
persist-credentials: false
|
|
- name: Free disk space
|
|
run: sudo rm -rf /usr/share/dotnet /usr/local/lib/android /opt/ghc /opt/hostedtoolcache/CodeQL
|
|
- name: System libraries
|
|
run: sudo apt-get update -qq && sudo apt-get install -y -qq pkg-config libasound2-dev libudev-dev
|
|
- name: Toolchain
|
|
run: rustup toolchain install && rustc -V
|
|
- uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2.9.2
|
|
- name: fmt
|
|
run: cargo fmt --all -- --check
|
|
- name: clippy
|
|
run: cargo clippy --workspace --all-targets -- -D warnings
|
|
- name: test
|
|
run: cargo test --workspace
|
|
- name: doc-links
|
|
run: scripts/doc-links.py
|
|
- name: message-catalog
|
|
run: scripts/gen-message-catalog.py --check
|
|
# reference/ is benilla-re's tables at reference/PIN, byte for byte.
|
|
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
with:
|
|
repository: samwhosung/benilla-re
|
|
path: benilla-re
|
|
fetch-depth: 0
|
|
- name: reference
|
|
run: scripts/sync-reference.py benilla-re --check
|
|
- name: pass-span-lint
|
|
run: scripts/pass-span-lint.py
|
|
- name: player-clippy
|
|
run: cargo clippy -p benilla -p benilla-app --no-default-features -- -D warnings
|
|
- name: player-tests
|
|
run: cargo test -p benilla-formats -p benilla-app --no-default-features --lib
|