mirror of
https://github.com/CoolProp/CoolProp.git
synced 2026-04-23 03:00:17 -04:00
But only on linux
This commit is contained in:
@@ -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"))
|
||||
|
||||
Reference in New Issue
Block a user