Adjusted install and workflow.
This commit is contained in:
parent
8a44c25f47
commit
233387cfa6
@ -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: |
|
||||||
|
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user