Skip to content

Commit

Permalink
COMP: Update CircleCI image to cimg/python:3.9
Browse files Browse the repository at this point in the history
cimg are the new CircleCI images based on Ubuntu.

This may address:

> Error message was: SSL certificate problem: certificate has expired

on CDash submission.

Due to:

  https://scotthelme.co.uk/lets-encrypt-old-root-expiration/

Change CTEST_CONFIGURATION_TYPE to MinSizeRel to prevent timeouts.
  • Loading branch information
thewtex committed Oct 3, 2021
1 parent ed5c976 commit b9e51f1
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ version: 2
jobs:
build:
docker:
- image: circleci/python:3.7-stretch
- image: cimg/python:3.9
working_directory: ~/
resource_class: medium
branches:
Expand Down Expand Up @@ -46,9 +46,11 @@ jobs:
- run:
name: Dependencies
command: |
sudo apt-get install -y rsync ninja-build ccache
sudo pip install --upgrade pip
sudo pip install cmake==3.16.3 scikit-ci-addons numpy
sudo apt-get update
sudo apt-get upgrade -y
sudo apt-get install -y rsync ninja-build ccache python3-pip
sudo pip3 install --upgrade pip
sudo pip3 install cmake==3.16.3 scikit-ci-addons numpy lxml
- run:
name: CCache initialization
command: |
Expand All @@ -61,8 +63,8 @@ jobs:
environment:
ITK_GLOBAL_DEFAULT_NUMBER_OF_THREADS: 2
CTEST_OUTPUT_ON_FAILURE: 1
CTEST_CONFIGURATION_TYPE: "Release"
CTEST_BUILD_FLAGS: "-j 2"
CTEST_CONFIGURATION_TYPE: "MinSizeRel"
CTEST_BUILD_FLAGS: "-j 3"
PARALLEL_LEVEL: 2
CTEST_CMAKE_GENERATOR: "Ninja"
command: |
Expand Down

0 comments on commit b9e51f1

Please sign in to comment.