Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
4c725bb
Add build using VS2015 to Azure Pipelines [skip travis] [skip appveyor]
mloskot Mar 19, 2019
9268070
Remove UsePythonVersion task
mloskot Mar 19, 2019
6c3e745
Restore UsePythonVersion but with Python 2.7
mloskot Mar 19, 2019
c419753
Remove architecture parameter from UsePythonVersion task
mloskot Mar 19, 2019
a9369ca
Replace UsePythonVersion with Python's ensurepip
mloskot Mar 19, 2019
bcfd82c
Use Chocolatey to install Python 3.7
mloskot Mar 19, 2019
42a33fc
Download Python installer directly
mloskot Mar 19, 2019
d152a0a
Fiddle with Python in PATH
mloskot Mar 19, 2019
8f87746
Fiddle with Python in PATH
mloskot Mar 19, 2019
0445857
Install Conan from installer
mloskot Mar 19, 2019
a2f3a85
Hack inability to persist PATH changes on AzP
mloskot Mar 19, 2019
1f01cd5
Remove Python symlink
mloskot Mar 19, 2019
5849667
Replace symlink with ##vso[task.prependpath]
mloskot Mar 19, 2019
a693282
Merge steps
mloskot Mar 19, 2019
9b59d87
Revert
mloskot Mar 19, 2019
f423f22
Decrease required CMake from 3.10 to 3.7
mloskot Mar 19, 2019
77de6bb
Install latest CMake
mloskot Mar 19, 2019
2f05221
Fix file name
mloskot Mar 19, 2019
bdf1200
Final fiddling
mloskot Mar 19, 2019
5767828
Delete GIL from installed Boost 1.68 [skip travis] [skip appveyor]
mloskot Mar 20, 2019
57060ad
Fiddle with logs verbosity [skip travis] [skip appveyor]
mloskot Mar 20, 2019
815c9cc
Fiddle with logs verbosity [skip travis] [skip appveyor]
mloskot Mar 20, 2019
c7cc98b
Fiddle with logs verbosity [skip travis] [skip appveyor]
mloskot Mar 20, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions .azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,31 @@ jobs:
use_conan: 'yes'
cxxver: '17'

- job: 'win2012_vs2015_cmake'
pool:
vmImage: 'vs2015-win2012r2'
steps:
- powershell: |
Invoke-WebRequest https://cmake.org/files/v3.14/cmake-3.14.0-win64-x64.zip -OutFile C:\cmake-3.14.0-win64-x64.zip
Expand-Archive C:\cmake-3.14.0-win64-x64.zip -DestinationPath C:\
Rename-Item -Path C:\cmake-3.14.0-win64-x64 -NewName C:\cmake
Write-Host "##vso[task.prependpath]C:\cmake\bin"
displayName: 'Install CMake 3.14'
- template: .ci/azure-pipelines/steps-check-cmake.yml
- powershell: |
Invoke-WebRequest https://www.python.org/ftp/python/3.7.1/python-3.7.1-amd64-webinstall.exe -OutFile C:\py3-setup.exe
C:\py3-setup.exe /quiet PrependPath=1 InstallAllUsers=1 Include_launcher=1 InstallLauncherAllUsers=1 Include_test=0 Include_doc=0 Include_dev=0 Include_debug=0 Include_tcltk=0 TargetDir=C:\Python37 | Out-Null
Write-Host "##vso[task.prependpath]C:\Python37"
Write-Host "##vso[task.prependpath]C:\Python37\Scripts"
displayName: 'Install Python 3.7'
- template: .ci/azure-pipelines/steps-install-conan.yml
parameters:
python: C:\Python37\python.exe
- template: .ci/azure-pipelines/steps-install-boost.yml
- template: .ci/azure-pipelines/steps-cmake-build-and-test.yml
parameters:
use_conan: 'yes'

- job: 'macos1013_xcode91_cmake'
pool:
vmImage: 'macOS-10.13'
Expand Down
10 changes: 8 additions & 2 deletions .ci/azure-pipelines/steps-install-boost.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,22 @@ steps:
tar -xf boost.tar.gz
displayName: 'Download Boost'

- bash: |
cd boost_*
rm -r libs/gil
ls libs
displayName: 'Remove libs/gil from Boost 1.68'

- script: |
cd boost_*
./bootstrap.sh
sudo ./b2 -d0 -j4 variant=${{ parameters.variant }} toolset=${{ parameters.toolset }} --with-filesystem --with-test install
sudo ./b2 -j4 variant=${{ parameters.variant }} toolset=${{ parameters.toolset }} --with-filesystem --with-test install
displayName: 'Install Boost on Unix'
condition: ne(variables['Agent.OS'], 'Windows_NT')

- script: |
cd boost_*
call .\bootstrap.bat
.\b2 -d0 -j4 variant=${{ parameters.variant }} --with-filesystem --with-test install
.\b2 -j4 variant=${{ parameters.variant }} --with-filesystem --with-test install
displayName: 'Install Boost on Windows'
condition: eq(variables['Agent.OS'], 'Windows_NT')
1 change: 1 addition & 0 deletions .ci/azure-pipelines/steps-install-conan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ parameters:
steps:
- script: |
${{ parameters.python }} --version
${{ parameters.python }} -m ensurepip
${{ parameters.python }} -m pip install --upgrade pip
${{ parameters.python }} -m pip install --upgrade conan
conan --version
Expand Down