ci: hotfixes

This commit is contained in:
rjindael 2023-07-17 18:40:47 -07:00
parent 294cbbccbc
commit a2f9a1b5ba
No known key found for this signature in database
GPG Key ID: D069369C906CCF31
2 changed files with 7 additions and 4 deletions

View File

@ -39,19 +39,22 @@ jobs:
- name: Build (Ninja)
run: ninja -C build
# ouch - unless and until we start using CMake's install command, these commands are a necessary evil
- name: Organize binaries
run: mkdir build/dist && mv build/*.exe build/dist && cd build/dist && for x in *.exe; do mv $x "RNR.$x"; done && cd ../../
- name: Add Qt dependencies
run: windeployqt6 build/dist/*.exe
# ouch - unless and until we start using CMake's install command, these commands are a necessary evil
- name: Add runtime dependencies
run: ldd build/dist/*.exe | grep "=> /" | awk '{print $3}' | grep "mingw64" | xargs -I '{}' cp -v '{}' build/dist
- name: Add OGRE plugins
run: cp Content/win32_plugins.cfg build/dist/plugins.cfg && mkdir build/dist/plugins/ && cat build/dist/plugins.cfg | grep "Plugin=" | sed -e "s/Plugin=//" | xargs -I '{}' cp -v '/mingw64/bin/{}.dll' build/dist/plugins/
- name: Add OGRE shaders
run: mkdir build/dist/ShaderCache && mkdir build/dist/shaders && cp -R /mingw64/share/OGRE/Media/Main build/dist/shaders && cp -R /mingw64/share/OGRE/Media/RTShaderLib build/dist/shaders
- name: Add resources
run: cp -R Content/RNR build/dist/content && cp LICENSE build/dist

View File

@ -1,7 +1,7 @@
PluginFolder=plugins
Plugin=RenderSystem_Direct3D9
Plugin=RenderSystem_Direct3D11
# Plugin=RenderSystem_Direct3D9
# Plugin=RenderSystem_Direct3D11
Plugin=RenderSystem_GL
Plugin=RenderSystem_GL3Plus
Plugin=RenderSystem_GLES2