#6743 Added version calls prior to core build
This commit is contained in:
parent
86d15e919f
commit
2eac2feed2
3 changed files with 17 additions and 0 deletions
|
|
@ -3,6 +3,7 @@ steps:
|
|||
mkdir build-release
|
||||
cd build-release
|
||||
if [ -z $(which cmake) ]; then cmake3 -DCMAKE_BUILD_TYPE=Release ..; else cmake -DCMAKE_BUILD_TYPE=Release ..; fi
|
||||
. ./version
|
||||
make -j
|
||||
condition: eq(variables['packager'],'deb')
|
||||
displayName: 'Build Release deb'
|
||||
|
|
@ -16,6 +17,7 @@ steps:
|
|||
cmake3 -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX:PATH=$(pwd)/rpm/BUILDROOT/usr ..;
|
||||
else cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX:PATH=$(pwd)/rpm/BUILDROOT/usr ..;
|
||||
fi
|
||||
. ./version
|
||||
make -j
|
||||
condition: eq(variables['packager'],'rpm')
|
||||
displayName: 'Build Release rpm'
|
||||
|
|
@ -27,6 +29,7 @@ steps:
|
|||
cd build-ent
|
||||
export SYNERGY_ENTERPRISE=1
|
||||
if [ -z $(which cmake) ]; then cmake3 -DCMAKE_BUILD_TYPE=Release -DSYNERGY_ENTERPRISE=ON ..; else cmake -DCMAKE_BUILD_TYPE=Release -DSYNERGY_ENTERPRISE=ON ..; fi
|
||||
. ./version
|
||||
make -j
|
||||
displayName: 'Build enterprise'
|
||||
condition: eq(variables['packager'],'deb')
|
||||
|
|
@ -40,6 +43,7 @@ steps:
|
|||
cmake3 -DCMAKE_BUILD_TYPE=Release -DSYNERGY_ENTERPRISE=ON -DCMAKE_INSTALL_PREFIX:PATH=$(pwd)/rpm/BUILDROOT/usr ..;
|
||||
else cmake -DCMAKE_BUILD_TYPE=Release -DSYNERGY_ENTERPRISE=ON -DCMAKE_INSTALL_PREFIX:PATH=$(pwd)/rpm/BUILDROOT/usr ..;
|
||||
fi
|
||||
. ./version
|
||||
make -j
|
||||
condition: eq(variables['packager'],'rpm')
|
||||
displayName: 'Build enterprise rpm'
|
||||
|
|
|
|||
|
|
@ -28,6 +28,8 @@ steps:
|
|||
cmake -DCMAKE_OSX_DEPLOYMENT_TARGET=$(version) -DCMAKE_OSX_ARCHITECTURES=x86_64 -DCMAKE_BUILD_TYPE=Release -DCMAKE_CONFIGURATION_TYPES=Release ..
|
||||
displayName: 'Cmake standard'
|
||||
condition: eq(variables['buildType'], 'standard')
|
||||
env:
|
||||
GIT_COMMIT: $(Build.SourceVersion)
|
||||
|
||||
- task: CmdLine@2
|
||||
inputs:
|
||||
|
|
@ -39,14 +41,19 @@ steps:
|
|||
cmake -DCMAKE_OSX_DEPLOYMENT_TARGET=10.12 -DCMAKE_OSX_ARCHITECTURES=x86_64 -DCMAKE_BUILD_TYPE=Release -DCMAKE_CONFIGURATION_TYPES=Release -DSYNERGY_ENTERPRISE=ON ..
|
||||
displayName: 'Cmake enterprise'
|
||||
condition: eq(variables['buildType'], 'enterprise')
|
||||
env:
|
||||
GIT_COMMIT: $(Build.SourceVersion)
|
||||
|
||||
- task: CmdLine@2
|
||||
inputs:
|
||||
script: |
|
||||
cd build
|
||||
. ./version
|
||||
make -j
|
||||
make install/strip
|
||||
displayName: 'Compiling'
|
||||
env:
|
||||
GIT_COMMIT: $(Build.SourceVersion)
|
||||
|
||||
- task: CmdLine@2
|
||||
inputs:
|
||||
|
|
|
|||
|
|
@ -57,14 +57,17 @@ steps:
|
|||
BONJOUR_SDK_DIR: $(BONJOUR_SDK_DIR)
|
||||
QT_PATH: $(QT_BIN_PATH)
|
||||
MSARCH: 'x64'
|
||||
GIT_COMMIT: $(Build.SourceVersion)
|
||||
|
||||
- script: |
|
||||
call "%ENV_BAT%" -arch=x64
|
||||
cd build64
|
||||
call version
|
||||
msbuild synergy-core.sln /p:Platform="x64" /p:Configuration=Release
|
||||
displayName: 'Compiling x64'
|
||||
env:
|
||||
ENV_BAT: $(ENV_BAT)
|
||||
GIT_COMMIT: $(Build.SourceVersion)
|
||||
|
||||
- script: |
|
||||
call "%ENV_BAT%" -arch=x86
|
||||
|
|
@ -82,14 +85,17 @@ steps:
|
|||
BONJOUR_SDK_DIR: $(BONJOUR_SDK_DIR)
|
||||
QT_PATH: $(QT_BIN_PATH_32)
|
||||
MSARCH: 'Win32'
|
||||
GIT_COMMIT: $(Build.SourceVersion)
|
||||
|
||||
- script: |
|
||||
call "%ENV_BAT%" -arch=x86
|
||||
cd build32
|
||||
call version
|
||||
msbuild synergy-core.sln /p:Platform="Win32" /p:Configuration=Release
|
||||
displayName: 'Compiling x32'
|
||||
env:
|
||||
ENV_BAT: $(ENV_BAT)
|
||||
GIT_COMMIT: $(Build.SourceVersion)
|
||||
|
||||
- task: codesigning@2
|
||||
inputs:
|
||||
|
|
|
|||
Loading…
Reference in a new issue