moar CI fixes

This commit is contained in:
rjindael 2023-07-19 15:30:28 -07:00
parent 8e8950f17b
commit 17be07fb60
No known key found for this signature in database
GPG Key ID: D069369C906CCF31
2 changed files with 10 additions and 3 deletions

View File

@ -19,9 +19,9 @@ jobs:
- name: Install required packages
uses: awalsh128/cache-apt-pkgs-action@latest
with:
version: 2.1
version: 3.0
packages: >-
build-essential
clang
cmake
ninja-build
libboost-dev
@ -31,6 +31,7 @@ jobs:
- name: Install Qt
uses: jurplel/install-qt-action@v3
with:
arch: clang_64
version: 6.*
cache: true

View File

@ -17,4 +17,10 @@ find_package(Boost REQUIRED)
find_package(OGRE REQUIRED COMPONENTS Bites CONFIG)
find_package(pugixml REQUIRED)
add_subdirectory(Projects)
add_subdirectory(Projects)
if(CI AND UNIX)
file(COPY ${OGRE_MEDIA_DIR}/ShadowVolume/ DESTINATION ${CMAKE_BINARY_DIR}/shaders)
file(COPY ${OGRE_MEDIA_DIR}/RTShaderLib/ DESTINATION ${CMAKE_BINARY_DIR}/shaders)
file(COPY ${OGRE_PLUGIN_DIR}/ DESTINATION ${CMAKE_BINARY_DIR}/plugins)
endif()