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

gitlab: add sched #15

Merged
merged 1 commit into from
Feb 22, 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
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 ./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
Loading