Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement continuous integration #5

Merged
merged 30 commits into from
Dec 18, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
1e90864
Implement azure pipeline
Besler Nov 6, 2019
697bc3e
Create conda recipe
Besler Nov 6, 2019
7e5ee1d
Fix sparse azure pipeline definitions
Besler Nov 21, 2019
6d96457
Correct boost version for boost/cmake compatibility
Besler Nov 21, 2019
d24cf13
Have conda build echo commands
Besler Nov 21, 2019
cf3bd88
Add compiler to build of meta.yaml
Besler Nov 21, 2019
7025e9b
Add override to PrintSelf to end compiler warnings
Besler Nov 26, 2019
be68bef
Remove trailing white spaces
Besler Nov 26, 2019
f906813
Fix all "not marked 'override'" compiler warnings
Besler Nov 26, 2019
0edbfc2
Fix *StringMacro behaviour for vtkCommand
Besler Nov 26, 2019
22ecd47
Add vtkboneTensor
Besler Nov 26, 2019
d589cc8
Update dependancies and wrapping
Besler Nov 26, 2019
a696628
Reorganize CMake
Besler Dec 2, 2019
07f3c78
Fix Azure build
Besler Dec 2, 2019
c5634a8
Fix testing errors
Besler Dec 3, 2019
1116d9a
Implement many python build
Besler Dec 3, 2019
b399f64
Fix minor python2-python3 issues
Besler Dec 4, 2019
dceb704
Fix "file already has LC_RPATH" mac build error
Besler Dec 4, 2019
e3e1adf
Clean up netCDF library
Besler Dec 5, 2019
7202ded
Fix python version on tests with py2 on mac
Besler Dec 9, 2019
bce0a67
Pin python version
Besler Dec 9, 2019
cabbe8c
Update to v1.1
Besler Dec 9, 2019
17f923c
Add sunday scheduler to CI
Besler Dec 9, 2019
80901ec
Add status badges to README.md
Besler Dec 9, 2019
7c22fdf
Update python CMake, distribution, and imports
Besler Dec 10, 2019
798af4e
Add python 3.8
Besler Dec 10, 2019
a56b170
Add windows build
Besler Dec 11, 2019
ddb0c4e
Fix nosetest for win, py3.8
Besler Dec 11, 2019
bc2037e
Fix import tests in meta.yaml for conda
Besler Dec 12, 2019
9dfff9a
Update libnetcdf version in meta.yaml
Besler Dec 13, 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
36 changes: 36 additions & 0 deletions .azure-pipelines/azure-pipelines-linux.yml
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

44 changes: 44 additions & 0 deletions .azure-pipelines/azure-pipelines-osx.yml
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

37 changes: 37 additions & 0 deletions .azure-pipelines/azure-pipelines-win.yml
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

Loading