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

Try jammy for codecoverage in circle-ci #29

Merged
merged 2 commits into from
Jun 30, 2024
Merged
Changes from all commits
Commits
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
11 changes: 7 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@

version: 2.1
parameters:
# we use ubuntu 24.04 by default for all build except codecoverage.
# for codecoverage we use jammy
docker-img-os:
type: string
default: noble
Expand All @@ -20,7 +22,7 @@ commands:
parameters:
cmake-args:
type: string
default: -DCMAKE_BUILD_TYPE=Release -DEnable_Tests=ON -DEnable_Documentation=OFF -DDisable_Docker_MPI_Tests=OFF <<pipeline.parameters.cmake-include-dirs>>
default: -DCMAKE_BUILD_TYPE=Release -DEnable_Tests=ON -DEnable_Apps=ON -DEnable_Documentation=OFF -DDisable_Docker_MPI_Tests=OFF <<pipeline.parameters.cmake-include-dirs>>
steps:
- run:
name: Cmake configure
Expand Down Expand Up @@ -71,7 +73,7 @@ jobs:
steps:
- checkout
- libcmake:
cmake-args: -DCMAKE_BUILD_TYPE=Release -DEnable_Tests=ON -DEnable_Documentation=ON -DDisable_Docker_MPI_Tests=OFF <<pipeline.parameters.cmake-include-dirs>>
cmake-args: -DCMAKE_BUILD_TYPE=Release -DEnable_Tests=ON -DEnable_Apps=ON -DEnable_Documentation=ON -DDisable_Docker_MPI_Tests=OFF <<pipeline.parameters.cmake-include-dirs>>
- libdoc
- run:
name: Push doc files to gh-pages
Expand Down Expand Up @@ -169,12 +171,13 @@ jobs:
fi
codecoverage:
docker:
- image: prashjha/peridem-base-<<pipeline.parameters.docker-img-os>>:latest
# - image: prashjha/peridem-base-<<pipeline.parameters.docker-img-os>>:latest
- image: prashjha/peridem-base-jammy:latest
user: user
steps:
- checkout
- libcmake:
cmake-args: -DCMAKE_BUILD_TYPE=Release -DEnable_Tests=ON -DDisable_Docker_MPI_Tests=OFF -DCMAKE_CXX_FLAGS="-g -O0 -fprofile-arcs -ftest-coverage -fpic" <<pipeline.parameters.cmake-include-dirs>>
cmake-args: -DCMAKE_BUILD_TYPE=Release -DEnable_Tests=ON -DEnable_Apps=ON -DDisable_Docker_MPI_Tests=OFF -DCMAKE_CXX_FLAGS="-g -O0 -fprofile-arcs -ftest-coverage -fpic" <<pipeline.parameters.cmake-include-dirs>>
- libmake
- libtest
- run:
Expand Down
Loading