File tree Expand file tree Collapse file tree 9 files changed +8
-61
lines changed Expand file tree Collapse file tree 9 files changed +8
-61
lines changed Original file line number Diff line number Diff line change @@ -3,11 +3,12 @@ services:
33 image : " bootstrap"
44 build :
55 dockerfile_inline : |
6- FROM spack/ubuntu-jammy:0.22.2
6+ FROM spack/ubuntu-jammy:0.23
77 VOLUME /configs
88 ARG OMPI_VERSION
99 ENV OMPI_VERSION=$${OMPI_VERSION}
1010 CMD cp /configs/spack.yaml . && \
11+ export OMPI_VERSION=$( [[ "$${OMPI_VERSION}" == git.* ]] && echo "$${OMPI_VERSION}=main" || echo "$${OMPI_VERSION}" ) && \
1112 spack -e . add openmpi@$${OMPI_VERSION} && \
1213 spack -e . containerize >/configs/spack.Dockerfile
1314 args :
@@ -36,8 +37,8 @@ services:
3637 cmake /fenix \
3738 -DCMAKE_BUILD_TYPE=Release \
3839 -DCMAKE_C_COMPILER=mpicc \
39- -DFENIX_EXAMPLES =ON \
40- -DFENIX_TESTS =ON \
40+ -DBUILD_EXAMPLES =ON \
41+ -DBUILD_TESTING =ON \
4142 -DMPIEXEC_PREFLAGS="--allow-run-as-root;--map-by;:oversubscribe" && \
4243 make -j
4344
Original file line number Diff line number Diff line change 1212 ompi_version :
1313 - main
1414 - 5.0.3
15+ - git.v5.0.5
16+ - git.v5.0.7
17+ - git.v5.0.x
1518
1619 steps :
1720 - name : Checkout
3740 *.args.OMPI_VERSION=${{ matrix.ompi_version }}
3841
3942 - name : Test Fenix
40- run : docker run fenix
43+ run : docker run fenix ctest --output-on-failure --timeout 20 --repeat after-timeout:3
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments