Adjusted install and workflow.
Some checks failed
Build & Release / Linux-AMD64-Build (push) Failing after 1m16s
Build & Release / Linux-AARCH64-Build (push) Failing after 1m27s

This commit is contained in:
Arron David Nelson 2024-02-04 22:07:20 -08:00
parent 8a44c25f47
commit 233387cfa6
2 changed files with 7 additions and 3 deletions

View File

@ -23,8 +23,10 @@ jobs:
- name: Building/Compiling Project - name: Building/Compiling Project
run: | run: |
cd ${{ gitea.workspace }} cd ${{ gitea.workspace }}
cmake -DCMAKE_BUILD_TYPE=Debug -DLINUX_WINDOW_SYSTEM:STRING=XCB . cmake -DCMAKE_BUILD_TYPE=Release -DLINUX_WINDOW_SYSTEM:STRING=XCB .
cmake --build . --config Debug cmake --build . --config Release
rm -R ~/.local/include/ehs
cmake --install .
- name: Creating Appropriate Directories - name: Creating Appropriate Directories
run: | run: |
@ -66,6 +68,8 @@ jobs:
cd ${{ gitea.workspace }} cd ${{ gitea.workspace }}
cmake -DCMAKE_BUILD_TYPE=Debug -DLINUX_WINDOW_SYSTEM:STRING=XCB . cmake -DCMAKE_BUILD_TYPE=Debug -DLINUX_WINDOW_SYSTEM:STRING=XCB .
cmake --build . --config Debug cmake --build . --config Debug
rm -R ~/.local/include/ehs
cmake --install .
- name: Creating Appropriate Directories - name: Creating Appropriate Directories
run: | run: |

View File

@ -221,7 +221,7 @@ add_executable(StrToHash src/StrToHash.cpp)
target_include_directories(EHS PUBLIC ${PROJECT_SOURCE_DIR}/include) target_include_directories(EHS PUBLIC ${PROJECT_SOURCE_DIR}/include)
set(CMAKE_INSTALL_PREFIX "/usr/local") set(CMAKE_INSTALL_PREFIX "${USER_HOME_DIRECTORY}/.local")
install(TARGETS EHS DESTINATION lib) install(TARGETS EHS DESTINATION lib)
install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/include/ DESTINATION include) install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/include/ DESTINATION include)