But only on linux

This commit is contained in:
Ian Bell
2015-09-01 23:21:20 -06:00
parent d343f585da
commit d3abc3427a

View File

@@ -805,9 +805,10 @@ def swig_matlab_builder(platform, build_args = [], cmake_args = [], ctest_args =
# Run simple integration test, but only on platforms other than windows
factory.addStep(ShellCommand(command=["ctest", "--extra-verbose"] + ctest_args, workdir = "build/build", haltOnFailure = True))
# Package a zip file from the swigged sources
factory.addStep(ShellCommand(
command=prepend_path('chmod +x build_swigged_matlab.sh && ./build_swigged_matlab.sh'),
workdir= "build/dev/scripts", env = cmake_env, haltOnFailure = True))
if platform == 'linux':
factory.addStep(ShellCommand(
command=prepend_path('chmod +x build_swigged_matlab.sh && ./build_swigged_matlab.sh'),
workdir= "build/dev/scripts", env = cmake_env, haltOnFailure = True))
# Upload the files
factory.addStep(DirectoryUpload(slavesrc="install_root",masterdest=master_loc_rel,url="binaries",compress="bz2"))