def run_build_instructions(): if not acceptCITestConfiguration(CI_HOST_OS, CI_HOST_OS_VER, CI_TARGET_ARCH, CI_COMPILER): exit() # Uses default python, hopefully we have python2 installed on all hosts # Skip building using Python 2 on Windows, because of different MSVC C runtimes (VS2008 vs VS2015+) if CI_HOST_OS != "Windows": call_setup("") # In case of packaging build, we have to build also python3 wheel if CI_RELEASE_CONF and CI_HOST_OS_VER not in ["RHEL_6_6"]: call_setup("3")
def run_test_instructions(): if not acceptCITestConfiguration(CI_HOST_OS, CI_HOST_OS_VER, CI_TARGET_ARCH, CI_COMPILER): exit() os.chdir(CI_ENV_AGENT_DIR) testRun = 0 # We didn't build for Python 2 in win if CI_HOST_OS != "Windows": call_testrunner("", str(testRun)) testRun = +1 # We know that second build was with python3 if CI_RELEASE_CONF and CI_HOST_OS_VER not in ["RHEL_6_6"]: call_testrunner("3", str(testRun))
def run_build_instructions(): if not acceptCITestConfiguration(CI_HOST_OS, CI_HOST_OS_VER, CI_TARGET_ARCH, CI_COMPILER): exit() # Remove some environment variables that impact cmake for env_var in ['CC', 'CXX']: if os.environ.get(env_var): del os.environ[env_var] # Uses default python, hopefully we have python2 installed on all hosts # Skip building using Python 2 on Windows, because of different MSVC C runtimes (VS2008 vs VS2015+) if CI_HOST_OS != "Windows": call_setup("") # In case of packaging build, we have to build also python3 wheel if CI_RELEASE_CONF and CI_HOST_OS_VER not in ["RHEL_6_6"]: call_setup("3")
def run_test_instructions(): if not acceptCITestConfiguration(CI_HOST_OS, CI_HOST_OS_VER, CI_TARGET_ARCH, CI_COMPILER): exit() # Remove some environment variables that impact cmake for env_var in ['CC', 'CXX']: if os.environ.get(env_var): del os.environ[env_var] os.chdir(CI_ENV_AGENT_DIR) testRun = 0 # We didn't build for Python 2 in win if CI_HOST_OS != "Windows": call_testrunner("", str(testRun)) testRun =+ 1 # We know that second build was with python3 if CI_RELEASE_CONF and CI_HOST_OS_VER not in ["RHEL_6_6"]: call_testrunner("3", str(testRun))
def run_test_instructions(): if not acceptCITestConfiguration(CI_HOST_OS, CI_HOST_OS_VER, CI_TARGET_ARCH, CI_COMPILER): exit() if CI_HOST_ARCH == "X86_64" and CI_TARGET_ARCH == "X86": print( "Disabled 32 bit build on 64 bit from Coin configuration, until toolchains provisioned" ) exit() os.chdir(CI_ENV_AGENT_DIR) testRun = 0 # We didn't build for Python 2 in win if CI_HOST_OS != "Windows": call_testrunner("", str(testRun)) testRun = +1 # We know that second build was with python3 if CI_RELEASE_CONF and CI_HOST_OS_VER not in ["RHEL_6_6"]: call_testrunner("3", str(testRun))