Collection of DPF-based plugins for packaging
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- if("${CMAKE_HOST_SYSTEM_NAME}" STREQUAL "Windows")
- execute_process(COMMAND "${CMAKE_COMMAND}" --build "$ENV{GITHUB_WORKSPACE}/cmake-build"
- --config $ENV{BUILD_TYPE}
-
- RESULT_VARIABLE result
- )
- elseif("${CMAKE_HOST_SYSTEM_NAME}" STREQUAL "Linux")
- execute_process(COMMAND "${CMAKE_COMMAND}" --build "$ENV{GITHUB_WORKSPACE}/cmake-build"
- -- -j 3
-
- RESULT_VARIABLE result
- )
- elseif("${CMAKE_HOST_SYSTEM_NAME}" STREQUAL "Darwin")
- execute_process(COMMAND "${CMAKE_COMMAND}" --build "$ENV{GITHUB_WORKSPACE}/cmake-build"
- --config $ENV{BUILD_TYPE}
- -- -j 5
-
- RESULT_VARIABLE result
- )
- endif()
-
- if(NOT result EQUAL 0)
- message(FATAL_ERROR "CMake returned bad exit status")
- endif()
|