Buildbot: Explicitly disable code signer on Linux and macOS
authorSergey Sharybin <sergey.vfx@gmail.com>
Thu, 14 Nov 2019 09:37:16 +0000 (10:37 +0100)
committerSergey Sharybin <sergey.vfx@gmail.com>
Thu, 14 Nov 2019 09:40:28 +0000 (10:40 +0100)
The script requires Python 3.7 as a very minimum, and CentOS is
only 3.6.

On macOC there was an access to a None object, due to missing
implementation of code signer on this platform.

build_files/buildbot/slave_compile.py

index f8bab19a1e9b4891ce06e7d14905af9daf126db8..1abbb80087b9a235cfb5162dc0ff2432a6787713 100644 (file)
@@ -29,14 +29,14 @@ def get_cmake_options(builder):
 
     config_file = "build_files/cmake/config/blender_release.cmake"
     options = ['-DCMAKE_BUILD_TYPE:STRING=Release',
-               '-DWITH_GTESTS=ON',
-               '-DPOSTINSTALL_SCRIPT:PATH=' + post_install_script]
+               '-DWITH_GTESTS=ON']
 
     if builder.platform == 'mac':
         options.append('-DCMAKE_OSX_ARCHITECTURES:STRING=x86_64')
         options.append('-DCMAKE_OSX_DEPLOYMENT_TARGET=10.9')
     elif builder.platform == 'win':
         options.extend(['-G', 'Visual Studio 15 2017 Win64'])
+        options.extend(['-DPOSTINSTALL_SCRIPT:PATH=' + post_install_script])
     elif builder.platform == 'linux':
         config_file = "build_files/buildbot/config/blender_linux.cmake"