Skip to content

Commit

Permalink
Merge pull request #159 from SuperElastix/Remove-Ubuntu1404-from-CI
Browse files Browse the repository at this point in the history
Remove Ubuntu1404 from CI, use tagged ITK 4.13.2
  • Loading branch information
N-Dekker authored Jul 1, 2019
2 parents 95e527a + 52b9ad9 commit 421cc17
Showing 1 changed file with 1 addition and 63 deletions.
64 changes: 1 addition & 63 deletions Testing/CI/Azure/ci.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
variables:
ITKv4_VERSION: release-4.13
ITKv4_VERSION: v4.13.2
ITKv5_VERSION: v5.0.0
ITK_SOURCE_DIR: $(Agent.BuildDirectory)/ITK-source
ITK_BINARY_DIR: $(Agent.BuildDirectory)/ITK-build
Expand Down Expand Up @@ -97,68 +97,6 @@ jobs:
- bash: ctest --config Release -VV -j 2
displayName: 'CTest Elastix'
workingDirectory: $(ELASTIX_BINARY_DIR)
- job: Ubuntu1404
timeoutInMinutes: 0
pool:
vmImage: 'ubuntu-16.04'
container: ubuntu:14.04
strategy:
matrix:
ITKv4:
itk.version: $(ITKv4_VERSION)
ITKv5:
itk.version: $(ITKv5_VERSION)
steps:
- script: |
sudo apt-get update && \
sudo apt-get -y upgrade && \
sudo apt-get install -y build-essential && \
sudo apt-get install -y software-properties-common && \
sudo apt-get install -y git wget
displayName: Install dependencies
- script: |
wget https://github.com/Kitware/CMake/releases/download/v3.13.3/cmake-3.13.3.tar.gz
tar -xvzf cmake-3.13.3.tar.gz
pushd cmake-3.13.3/
./configure
make -j2
sudo make install
popd
sudo update-alternatives --install /usr/bin/cmake cmake /usr/local/bin/cmake 1 --force
displayName: Build CMake
- script: |
git clone https://github.com/InsightSoftwareConsortium/ITK $(ITK_SOURCE_DIR)
pushd $(ITK_SOURCE_DIR)
git checkout $(itk.version)
popd
displayName: Clone ITK
- script: |
mkdir $(ITK_BINARY_DIR)
mkdir $(ELASTIX_BINARY_DIR)
displayName: Make build directories
- task: CMake@1
displayName: 'CMake Generate ITK'
inputs:
cmakeArgs: -DBUILD_EXAMPLES=OFF -DBUILD_TESTING=OFF $(ITK_SOURCE_DIR)
workingDirectory: $(ITK_BINARY_DIR)
- task: CMake@1
displayName: 'CMake Build ITK'
inputs:
cmakeArgs: --build . --config Release -j 2
workingDirectory: $(ITK_BINARY_DIR)
- task: CMake@1
displayName: 'CMake Generate Elastix'
inputs:
cmakeArgs: -DITK_DIR=$(ITK_BINARY_DIR) -DBUILD_TESTING=ON -DUSE_ALL_COMPONENTS=ON $(ELASTIX_SOURCE_DIR)
workingDirectory: $(ELASTIX_BINARY_DIR)
- task: CMake@1
displayName: 'CMake Build Elastix'
inputs:
cmakeArgs: --build . --config Release -j 2
workingDirectory: $(ELASTIX_BINARY_DIR)
- bash: ctest --config Release -VV -j 2
displayName: 'CTest Elastix'
workingDirectory: $(ELASTIX_BINARY_DIR)
- job: macOS
timeoutInMinutes: 0
pool:
Expand Down

0 comments on commit 421cc17

Please sign in to comment.