Skip to content

Commit

Permalink
PERF: Remove Ubuntu1404 from CI
Browse files Browse the repository at this point in the history
Remove Ubuntu1404 from Azure CI to speedup the CI build, as we discussed at our SuperElastix sprint.
  • Loading branch information
N-Dekker committed Jul 1, 2019
1 parent 95e527a commit 0716b52
Showing 1 changed file with 0 additions and 62 deletions.
62 changes: 0 additions & 62 deletions Testing/CI/Azure/ci.yml
Original file line number Diff line number Diff line change
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 0716b52

Please sign in to comment.