Skip to content

Commit

Permalink
Allow Apple install step to fail CI (#6796)
Browse files Browse the repository at this point in the history
Fail CI if Apple install step fails
  • Loading branch information
tresf authored Aug 5, 2023
1 parent 97c6ae1 commit 353221a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion cmake/install/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,9 @@ endif()

IF(LMMS_BUILD_APPLE)
INSTALL(CODE "EXECUTE_PROCESS(COMMAND chmod u+x ${CMAKE_BINARY_DIR}/install_apple.sh)")
INSTALL(CODE "EXECUTE_PROCESS(COMMAND ${CMAKE_BINARY_DIR}/install_apple.sh)")
INSTALL(CODE "EXECUTE_PROCESS(COMMAND ${CMAKE_BINARY_DIR}/install_apple.sh RESULT_VARIABLE EXIT_CODE)
IF(NOT EXIT_CODE EQUAL 0)
MESSAGE(FATAL_ERROR \"Execution of install_apple.sh failed\")
ENDIF()
")
ENDIF()

0 comments on commit 353221a

Please sign in to comment.