Old MinGW write broken shader cache https://github.com/urho3d/Urho3D/issues/2887
@@ -479,7 +479,7 @@ jobs:
xvfb-run ctest --test-dir $HOME/projects/UrhoApp_build
Linux_MinGW:
- runs-on: ubuntu-latest
+ runs-on: ubuntu-22.04
needs: init
if: needs.init.outputs.skip == '0'
@@ -14,6 +14,11 @@
#include <d3dcompiler.h>
+// https://github.com/urho3d/Urho3D/issues/2887
+#if defined(__MINGW32__) && !defined(D3D_COMPILER_VERSION)
+#error Please update MinGW
+#endif
+
#include "../../DebugNew.h"
namespace Urho3D