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

View File

@ -18,3 +18,9 @@ find_package(OGRE REQUIRED COMPONENTS Bites CONFIG)
find_package(pugixml REQUIRED) 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()