Skip to content

Commit

Permalink
environment variables must be set in specific yaml key
Browse files Browse the repository at this point in the history
  • Loading branch information
VincentRouvreau committed Dec 19, 2024
1 parent 33ad1cb commit 2aa6ccf
Showing 1 changed file with 3 additions and 40 deletions.
43 changes: 3 additions & 40 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,23 +6,18 @@ submodules: &checkout_submodules
git submodule sync
git submodule update --init
assertions: &activate_assertions
name: Activate assertions
command: |
export CXXFLAGS='-UNDEBUG'
export CFLAGS='-UNDEBUG'
jobs:
examples:
docker:
# cf. https://github.com/GUDHI/gudhi-deploy/blob/main/Dockerfile_for_circleci_image
- image: gudhi/ci_for_gudhi:2024.12.01
environment:
CXXFLAGS: "-UNDEBUG"
CFLAGS: "-UNDEBUG"
steps:
- checkout
- run:
<<: *checkout_submodules
- run:
<<: *activate_assertions
- run:
name: Build and test examples
command: |
Expand All @@ -39,8 +34,6 @@ jobs:
- checkout
- run:
<<: *checkout_submodules
- run:
<<: *activate_assertions
- run:
name: Build and test unitary tests
command: |
Expand All @@ -57,8 +50,6 @@ jobs:
- checkout
- run:
<<: *checkout_submodules
- run:
<<: *activate_assertions
- run:
name: Build and test unitary tests
command: |
Expand All @@ -75,8 +66,6 @@ jobs:
- checkout
- run:
<<: *checkout_submodules
- run:
<<: *activate_assertions
- run:
name: Build and test utilities
command: |
Expand All @@ -94,8 +83,6 @@ jobs:
- checkout
- run:
<<: *checkout_submodules
- run:
<<: *activate_assertions
- run:
name: Build and test python module. Generates and tests the python documentation
command: |
Expand Down Expand Up @@ -126,10 +113,6 @@ jobs:
- image: gudhi/doxygen_for_gudhi:2024.12.01
steps:
- checkout
- run:
<<: *checkout_submodules
- run:
<<: *activate_assertions
- run:
name: Generates the C++ documentation with doxygen
command: |
Expand All @@ -155,10 +138,6 @@ jobs:
- image: gudhi/doxygen_for_gudhi:2024.12.01
steps:
- checkout
- run:
<<: *checkout_submodules
- run:
<<: *activate_assertions
- run:
name: Test the LaTeX bibliography files
command: |
Expand All @@ -179,8 +158,6 @@ jobs:
- checkout
- run:
<<: *checkout_submodules
- run:
<<: *activate_assertions
- run:
name: Build and test examples without cgal and eigen
command: |
Expand All @@ -197,8 +174,6 @@ jobs:
- checkout
- run:
<<: *checkout_submodules
- run:
<<: *activate_assertions
- run:
name: Build and test unitary tests without cgal and eigen
command: |
Expand All @@ -215,8 +190,6 @@ jobs:
- checkout
- run:
<<: *checkout_submodules
- run:
<<: *activate_assertions
- run:
name: Build and test utilities without cgal and eigen
command: |
Expand All @@ -233,8 +206,6 @@ jobs:
- checkout
- run:
<<: *checkout_submodules
- run:
<<: *activate_assertions
- run:
name: Build and test python module without cgal and eigen
command: |
Expand All @@ -254,8 +225,6 @@ jobs:
- checkout
- run:
<<: *checkout_submodules
- run:
<<: *activate_assertions
- run:
name: Build and test examples without cgal
command: |
Expand All @@ -279,8 +248,6 @@ jobs:
- checkout
- run:
<<: *checkout_submodules
- run:
<<: *activate_assertions
- run:
name: Build and test unitary tests without cgal
command: |
Expand All @@ -304,8 +271,6 @@ jobs:
- checkout
- run:
<<: *checkout_submodules
- run:
<<: *activate_assertions
- run:
name: Build and test utilities without cgal
command: |
Expand All @@ -329,8 +294,6 @@ jobs:
- checkout
- run:
<<: *checkout_submodules
- run:
<<: *activate_assertions
- run:
name: Build and test python module without cgal
command: |
Expand Down

0 comments on commit 2aa6ccf

Please sign in to comment.