Skip to content

Commit 9481a52

Browse files
Merge pull request #81 from sandialabs/ci_updates
Ci updates
2 parents 6e7b2d9 + dfb1878 commit 9481a52

File tree

9 files changed

+8
-61
lines changed

9 files changed

+8
-61
lines changed

.github/docker-compose.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff 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

.github/workflows/ci_checks.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ jobs:
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
@@ -37,4 +40,4 @@ jobs:
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

examples/01_hello_world/fenix/run.batch

Lines changed: 0 additions & 9 deletions
This file was deleted.

examples/01_hello_world/mpi/run.batch

Lines changed: 0 additions & 8 deletions
This file was deleted.

examples/02_send_recv/fenix/run.batch

Lines changed: 0 additions & 8 deletions
This file was deleted.

examples/02_send_recv/mpi/run.batch

Lines changed: 0 additions & 8 deletions
This file was deleted.

examples/03_reduce/fenix/run.batch

Lines changed: 0 additions & 8 deletions
This file was deleted.

examples/03_reduce/mpi/run.batch

Lines changed: 0 additions & 8 deletions
This file was deleted.

examples/05_subset_create/run.batch

Lines changed: 0 additions & 8 deletions
This file was deleted.

0 commit comments

Comments
 (0)