
- Add OpenMP to macOS build - Use as many cores as possible in CI - Update travis osx image to xcode12.2 - Ignore .vscode folder - In `.travis/sign-macos.sh`, only create keychain when `CI` variable is present - Only run macOS deploy stage when a tag is pushed
17 lines
535 B
Bash
Executable File
17 lines
535 B
Bash
Executable File
#!/bin/sh -xe
|
|
|
|
MSBUILD_PATH="c:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin"
|
|
export PATH=$MSBUILD_PATH:$PATH
|
|
|
|
if echo $TRAVIS_TAG | grep ^v; then BUILD_TYPE=RelWithDebInfo; else BUILD_TYPE=Debug; fi
|
|
|
|
mkdir build
|
|
cd build
|
|
cmake .. -G "Visual Studio 15 2017 Win64" -DCMAKE_BUILD_TYPE=$BUILD_TYPE
|
|
|
|
MSBuild.exe "src/solvespace.vcxproj" -maxcpucount
|
|
MSBuild.exe "src/solvespace-cli.vcxproj" -maxcpucount
|
|
MSBuild.exe "test/solvespace-testsuite.vcxproj" -maxcpucount
|
|
|
|
bin/$BUILD_TYPE/solvespace-testsuite.exe
|