-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from Numerics88/Besler/CI
Implement continuous integration
- Loading branch information
Showing
123 changed files
with
2,190 additions
and
1,246 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
|
||
jobs: | ||
- job: Linux | ||
pool: | ||
vmImage: 'ubuntu-latest' | ||
strategy: | ||
matrix: | ||
Python27: | ||
python.version: '2.7' | ||
Python36: | ||
python.version: '3.6' | ||
Python37: | ||
python.version: '3.7' | ||
Python38: | ||
python.version: '3.8' | ||
steps: | ||
- bash: echo "##vso[task.prependpath]$CONDA/bin" | ||
displayName: Add conda to path | ||
- script: conda create -y -n n88 conda-build | ||
displayName: Setup conda | ||
- script: | | ||
source activate n88 | ||
conda-build -c Numerics88 -c conda-forge conda-recipe/vtkbone/ --variants "{'python': ['$(python.version)']}" | ||
displayName: Conda build | ||
- task: CopyFiles@2 | ||
inputs: | ||
sourceFolder: /usr/share/miniconda/envs/n88/conda-bld/linux-64/ | ||
contents: '*.tar.bz2' | ||
TargetFolder: '$(Build.ArtifactStagingDirectory)' | ||
displayName: Copy conda build | ||
- task: PublishBuildArtifacts@1 | ||
inputs: | ||
pathtoPublish: '$(Build.ArtifactStagingDirectory)' | ||
artifactName: vtkbone-Linux-$(python.version) | ||
displayName: Publish artifact | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
|
||
jobs: | ||
- job: macOS | ||
pool: | ||
vmImage: 'macOS-latest' | ||
strategy: | ||
matrix: | ||
Python27: | ||
python.version: '2.7' | ||
Python36: | ||
python.version: '3.6' | ||
Python37: | ||
python.version: '3.7' | ||
Python38: | ||
python.version: '3.8' | ||
steps: | ||
- bash: | | ||
echo "##vso[task.prependpath]$CONDA/bin" | ||
sudo chown -R $USER $CONDA | ||
displayName: Add conda to path | ||
- bash: | | ||
sudo mkdir -p /opt/ | ||
sudo chown -R $USER /opt/ | ||
curl -L https://github.com/phracker/MacOSX-SDKs/releases/download/10.13/MacOSX10.9.sdk.tar.xz -o MacOSX10.9.sdk.tar.xz | ||
tar -xJf MacOSX10.9.sdk.tar.xz -C /opt/ | ||
displayName: Download OSX SDK | ||
- script: conda create -y -n n88 conda-build | ||
displayName: Setup conda | ||
- script: | | ||
source activate n88 | ||
conda-build -c Numerics88 -c conda-forge conda-recipe/vtkbone/ --variants "{'python': ['$(python.version)']}" | ||
displayName: Conda build | ||
- task: CopyFiles@2 | ||
inputs: | ||
sourceFolder: /usr/local/miniconda/envs/n88/conda-bld/osx-64/ | ||
contents: '*.tar.bz2' | ||
TargetFolder: '$(Build.ArtifactStagingDirectory)' | ||
displayName: Copy conda build | ||
- task: PublishBuildArtifacts@1 | ||
inputs: | ||
pathtoPublish: '$(Build.ArtifactStagingDirectory)' | ||
artifactName: vtkbone-macOS-$(python.version) | ||
displayName: Publish artifact | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
|
||
jobs: | ||
- job: Windows | ||
pool: | ||
vmImage: 'vs2017-win2016' | ||
strategy: | ||
matrix: | ||
# Disable because no vtk=8.2 for win-py27 | ||
# Python27: | ||
# python.version: '2.7' | ||
Python36: | ||
python.version: '3.6' | ||
Python37: | ||
python.version: '3.7' | ||
Python38: | ||
python.version: '3.8' | ||
steps: | ||
- powershell: Write-Host "##vso[task.prependpath]$env:CONDA\Scripts" | ||
displayName: Add conda to path | ||
- script: conda create -y -n n88 conda-build | ||
displayName: Setup conda | ||
- script: | | ||
call activate n88 | ||
conda-build -c Numerics88 -c conda-forge --python=$(python.version) conda-recipe/vtkbone/ | ||
displayName: Conda build | ||
- task: CopyFiles@2 | ||
inputs: | ||
sourceFolder: C:\Miniconda\envs\n88\conda-bld\win-64\ | ||
contents: '*.tar.bz2' | ||
TargetFolder: '$(Build.ArtifactStagingDirectory)' | ||
displayName: Copy conda build | ||
- task: PublishBuildArtifacts@1 | ||
inputs: | ||
pathtoPublish: '$(Build.ArtifactStagingDirectory)' | ||
artifactName: vtkbone-Windows-$(python.version) | ||
displayName: Publish artifact | ||
|
Oops, something went wrong.