Skip to content

Commit

Permalink
Merge pull request #343 from LLNL/feature/ci_ruby
Browse files Browse the repository at this point in the history
Enable CI test on Ruby
  • Loading branch information
KIwabuchi authored Jan 7, 2025
2 parents 5e3b2b6 + be5b033 commit 71af827
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
# It would be better to install all Boost versions manually,
# as it causes errors often and could exceed the timelimit of the system.

# For '--reserv=ci' option in Slurm, see:
# https://lc.llnl.gov/confluence/spaces/GITLAB/pages/785285769/Special+partitions+for+CI+batch+jobs

include: [component: $CI_SERVER_FQDN/lc-components/id_tokens/id_tokens-component@main]

stages:
Expand All @@ -25,8 +28,7 @@ install_boost:
- shell
script:
- hostname
- srun -N1 -ppci -A seq spack install boost@1.86.0 boost@1.85.0 boost@1.84.0 boost@1.83.0 boost@1.82.0 boost@1.81.0 boost@1.80.0
- spack clean
- srun -N1 --reserv=ci -A seq sh -c 'for p in "boost@1.86.0" "boost@1.85.0" "boost@1.84.0" "boost@1.83.0" "boost@1.82.0" "boost@1.81.0" "boost@1.80.0"; do spack install --reuse $p; done; spack clean'


.build:
Expand All @@ -39,7 +41,7 @@ install_boost:
- module load gcc/${GCC_VERSION}
- spack load --first boost@${BOOST_VERSION} arch=$(spack arch)
- export METALL_TEST_DIR="/dev/shm/metall_test-${CI_CONCURRENT_ID}-${CI_PIPELINE_IID}"
- srun -N1 -ppci -A seq bash ./scripts/CI/build_and_test.sh
- srun -N1 --reserv=ci -A seq bash ./scripts/CI/build_and_test.sh

build_gcc12.1.1_bst1.86.0:
extends: .build
Expand Down

0 comments on commit 71af827

Please sign in to comment.