Skip to content

Commit

Permalink
gitlab: add testing for flux-sched on system instance clusters
Browse files Browse the repository at this point in the history
Problem: We need to be testing flux-sched's integration with the
rest of the framework, and we're not.

Do that on corona and tioga since they're the system-instance clusters.

Use autotools while awaiting solutions to CMake build system problems.
  • Loading branch information
wihobbs committed Feb 22, 2024
1 parent 584a73c commit e6b5765
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,23 @@ default:
- make -j $(nproc) check
- make -j $(nproc) install

.test-sched:
extends: .lc-variables
variables:
PYTHON: "/usr/bin/python3"
debug: t
FLUX_TESTS_LOGFILE: t
script:
- cd ${CI_DIRECTORY}
- export PKG_CONFIG_PATH=${CORE_INSTALL_PREFIX}/lib/pkgconfig:$(pkg-config --variable pc_path pkg-config)
- git clone https://github.com/flux-framework/flux-sched
- cd flux-sched
- module load gcc
- ${CORE_INSTALL_PREFIX}/bin/flux start ./configure
- make -j $(nproc)
- make -j $(nproc) install
- ctest -j 16 -E "t5000-valgrind.t"

.test-core-mpi:
extends: .lc-variables
## this will need coral2 XOR pmix depending on system (hopefully both eventually)
Expand All @@ -101,6 +118,13 @@ corona-core-test:
- .corona
stage: test

corona-sched-test:
needs: ["corona-core-build"]
extends:
- .test-sched
- .corona
stage: test

poodle-core-build:
extends:
- .build-core
Expand Down Expand Up @@ -140,6 +164,13 @@ tioga-coral2-test:
- .tioga
stage: test

tioga-sched-test:
needs: ["tioga-core-build"]
extends:
- .test-sched
- .tioga
stage: test

tioga-mpi-test:
needs: ["tioga-core-build", "tioga-coral2-test"]
extends:
Expand Down

0 comments on commit e6b5765

Please sign in to comment.