File tree Expand file tree Collapse file tree 1 file changed +33
-7
lines changed
Expand file tree Collapse file tree 1 file changed +33
-7
lines changed Original file line number Diff line number Diff line change @@ -40,20 +40,46 @@ workflow:
4040# Check Source
4141# ###################################################################################################
4242
43- core_compile_all_commits :
43+ .check_source :
44+ extends : .on_merge_without_squash
4445 stage : check_source
45- image : git.damask-multiphysics.org:5050/damask/damask/gcc_petsc-default:${PETSC_GCC_LATEST}
4646 variables :
4747 GIT_DEPTH : 0
48- allow_failure : false
49- extends :
50- - .on_merge_without_squash
48+ allow_failure : true
49+
50+
51+ .core :
52+ extends : .check_source
5153 script :
5254 - |
53- for COMMIT in $(git log --reverse --format=format:%H origin/$CI_MERGE_REQUEST_TARGET_BRANCH_NAME..$CI_COMMIT_SHA); do
54- echo $COMMIT
55+ COMMITS=$(git log --reverse --format=format:%H origin/$CI_MERGE_REQUEST_TARGET_BRANCH_NAME..$CI_COMMIT_SHA)
56+ for COMMIT in ${COMMITS};do
57+ echo ${COMMIT}
58+ git checkout ${COMMIT}
59+ cmake -DDAMASK_SOLVER=grid -B build/grid && cmake --build build/grid --parallel 4 --target install
60+ cmake -DDAMASK_SOLVER=mesh -B build/mesh && cmake --build build/mesh --parallel 4 --target install
5561 done
5662
63+ core_GCC :
64+ extends : .core
65+ image : git.damask-multiphysics.org:5050/damask/damask/gcc_petsc-default:${PETSC_GCC_LATEST}
66+
67+ core_oneAPI :
68+ extends : .core
69+ image : git.damask-multiphysics.org:5050/damask/damask/oneapi_petsc-default:${PETSC_ONEAPI_LATEST}
70+
71+
72+ processing :
73+ extends : .check_source
74+ image : git.damask-multiphysics.org:5050/damask/damask/gcc_petsc-default:${PETSC_GCC_LATEST}
75+ script :
76+ - |
77+ source env/DAMASK.sh
78+ COMMITS=$(git log --reverse --format=format:%H origin/$CI_MERGE_REQUEST_TARGET_BRANCH_NAME..$CI_COMMIT_SHA)
79+ for COMMIT in ${COMMITS};do
80+ echo ${COMMIT}
81+ python -c 'import damask;print(damask.__version__)'
82+ done
5783
5884# ###################################################################################################
5985# Processing
You can’t perform that action at this time.
0 commit comments