Skip to content

Commit b046839

Browse files
committed
Attempt basic parallelisation
1 parent 9f1b09d commit b046839

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

.github/workflows/docs.yml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,17 +31,19 @@ jobs:
3131
module purge
3232
module unuse $MODULEPATH
3333
module use /cvmfs/software.eessi.io/init/modules/
34-
module load EESSI/2025.06
35-
module load EasyBuild/5
36-
module load EESSI-extend
37-
python generate_data_files.py --eessi-version=2023.06
38-
python generate_data_files.py --eessi-version=2025.06
39-
python merge_data_files.py out.yaml eessi*.yaml
34+
# First do 2023.06 for EB 4
35+
( module load EESSI/2023.06 && module load EasyBuild/4 && module load EESSI-extend && python scripts/generate_data_files.py --eessi-version=2023.06 ) &
36+
# then 2023.06 for EB 5
37+
( module load EESSI/2023.06 && module load EasyBuild/5 && module load EESSI-extend && python scripts/generate_data_files.py --eessi-version=2023.06 ) &
38+
# then 2025.06 for EB 5 (does not have EB4)
39+
( module load EESSI/2025.06 && module load EasyBuild/5 && module load EESSI-extend && python scripts/generate_data_files.py --eessi-version=2025.06 ) &
40+
# Merge all these results together
41+
wait
42+
python scripts/merge_data_files.py out.yaml eessi*.yaml
4043
mv out.yaml docs/data/eessi_software_metadata.yaml
4144
# Generate Markdown index for data files
4245
echo "# Data Files" > docs/data/index.md
4346
for f in docs/data/eessi*.yaml; do
44-
[ "$f" = "docs/data/index.md" ] && continue
4547
echo "- [$f]($f)" >> docs/data/index.md
4648
done
4749
- run: zensical build --clean

0 commit comments

Comments
 (0)