FWGS / xash3d-fwgs

Xash3D FWGS engine.
1.47k stars 224 forks source link

CI: have an engine testing step before deploying #1262

Open a1batross opened 1 year ago

a1batross commented 1 year ago

We have a set of engine tests now.

It's fairly simple, just add --enable-engine-tests --enable-fs-tests to waf configure and it will enable Xash3D FWGS build with -runtests key to run some automatic unit tests and build filesystem standalone tests.

Now it should be wired to GitHub Action and ran before deploy stage, so if newer changes contains errors, nothing will be published.

a1batross commented 1 year ago

Also a note: not all platforms should support all unit tests at this moment because not all of them are supposed to run headless Xash or even have a platform-specific way to pass a result, like newly added Switch or Vita ports.

For now, it should be ran on Windows and Linux x86 and x64 only.