fcgi
Some checks failed
CMake on a single platform / build (push) Failing after 17s

This commit is contained in:
parovoz 2025-02-24 20:50:52 +04:00 committed by Andrey Alekseev
parent ab49a42b95
commit 4a5fb9c6c6
2 changed files with 20 additions and 20 deletions

View File

@ -23,19 +23,19 @@ jobs:
run: ~/stop.sh fourier || echo service was not started run: ~/stop.sh fourier || echo service was not started
- name: clear old installation - name: clear old installation
run: xargs rm < ~/build/install_manifest.txt || echo previous installation not found run: xargs rm < ~/build/fourier/install_manifest.txt || echo previous installation not found
- name: clear old builddir - name: clear old builddir
run: rm -rf ~/build || echo previous installation not found run: rm -rf ~/build/fourier || echo previous installation not found
- name: Configure CMake - name: Configure CMake
run: cmake -B ~/build -DCMAKE_INSTALL_PREFIX=~/.local run: cmake -B ~/build/fourier -DCMAKE_INSTALL_PREFIX=~/.local
- name: Build - name: Build
run: cmake --build ~/build run: cmake --build ~/build/fourier
- name: install - name: install
run: make -C ~/build install run: make -C ~/build/fourier install
- name: Start server - name: Start server
run: ~/start.sh fourier run: ~/start.sh fourier

View File

@ -7,7 +7,7 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON)
find_package(Wt REQUIRED find_package(Wt REQUIRED
Wt Wt
HTTP FCGI
) )
include(GNUInstallDirs) include(GNUInstallDirs)
@ -22,27 +22,27 @@ add_executable(${PROJECT_NAME}
target_link_libraries(${PROJECT_NAME} target_link_libraries(${PROJECT_NAME}
Wt::Wt Wt::Wt
Wt::HTTP Wt::FCGI
) )
configure_file( # configure_file(
run.sh.in # run.sh.in
${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}.wt # ${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}.wt
) # )
install( TARGETS ${PROJECT_NAME} install( TARGETS ${PROJECT_NAME}
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
) )
install( FILES wt_config.xml DESTINATION ${CMAKE_INSTALL_SYSCONFDIR}/${PROJECT_NAME}) # install( FILES wt_config.xml DESTINATION ${CMAKE_INSTALL_SYSCONFDIR}/${PROJECT_NAME})
install( # install(
FILES ${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}.wt # FILES ${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}.wt
DESTINATION ${CMAKE_INSTALL_BINDIR} # DESTINATION ${CMAKE_INSTALL_BINDIR}
PERMISSIONS # PERMISSIONS
OWNER_READ OWNER_WRITE OWNER_EXECUTE # OWNER_READ OWNER_WRITE OWNER_EXECUTE
GROUP_READ GROUP_EXECUTE # GROUP_READ GROUP_EXECUTE
WORLD_READ WORLD_EXECUTE # WORLD_READ WORLD_EXECUTE
) # )