Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
McMule
handyG
Commits
312c9505
Commit
312c9505
authored
Aug 28, 2019
by
ulrich_y
Browse files
Don't do speed tests during CI
parent
1c6d8bd1
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
3 deletions
+15
-3
.gitlab-ci.yml
.gitlab-ci.yml
+4
-3
checks/test.f90
checks/test.f90
+4
-0
configure
configure
+7
-0
No files found.
.gitlab-ci.yml
View file @
312c9505
...
...
@@ -4,9 +4,10 @@
before_script
:
-
date
-
whoami
-
export PATH=/afs/psi.ch/sys/psi.x86_64_slp6/Programming/gcc/8.2.0/bin/:/afs/psi.ch/sys/psi.x86_64_slp6/Programming/mathematica/11.0/Executables/:$PATH
-
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/afs/psi.ch/sys/psi.x86_64_slp6/Programming/gcc/8.2.0/lib64/:/afs/psi.ch/sys/psi.x86_64_slp6/Programming/gcc/8.2.0/lib
-
export PATH=/afs/psi.ch/sys/psi.x86_64_slp6/Programming/gcc/8.2.0/bin/:/afs/psi.ch/sys/psi.x86_64_slp6/Programming/mathematica/11.0/Executables/:$PATH
:/scratch/ulrich/usr/bin/
-
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/
scratch/ulrich/usr/lib/:/
afs/psi.ch/sys/psi.x86_64_slp6/Programming/gcc/8.2.0/lib64/:/afs/psi.ch/sys/psi.x86_64_slp6/Programming/gcc/8.2.0/lib
-
export PERL5LIB=/scratch/ulrich/usr/lib64/perl5/:/scratch/ulrich/usr/share/perl5/
-
export PKG_CONFIG_PATH=/scratch/ulrich/usr/lib/pkgconfig
-
gfortran -v
cache
:
...
...
@@ -24,7 +25,7 @@ configure:
stage
:
configure
script
:
-
mkdir usr/
-
./configure --
with-mcc --coverage
-
./configure --
ci
compile
:
stage
:
build
...
...
checks/test.f90
View file @
312c9505
...
...
@@ -28,8 +28,10 @@ PROGRAM TEST
#ifdef HAVE_GINAC
#ifdef HAVE_MM
call
do_ginac_tests
#ifndef NOSPEED
call
do_timing_tests
(
5
)
#endif
#endif
#endif
if
(
tests_successful
)
then
...
...
@@ -383,6 +385,7 @@ CONTAINS
end
subroutine
#ifndef NOSPEED
subroutine
do_one_speed_test
(
args
,
u
,
msg
)
use
maths_functions
,
only
:
clearcache
implicit
none
...
...
@@ -488,6 +491,7 @@ CONTAINS
close
(
unit
=
9
)
end
subroutine
#endif
FUNCTION
RAN2
(
randy
)
...
...
configure
View file @
312c9505
...
...
@@ -124,6 +124,13 @@ for arg in "$@" ; do
CONF_QUAD
=
true
;;
--coverage
)
COVERAGE
=
true
;;
--ci
)
echo
"Running in CI configuration. Will not perform speed tests!"
CONF_FFLAGS
=
"
$CONF_FLAGS
-DNOSPEED"
HAVE_MCC
=
true
HAVE_GINAC
=
true
DEBUG
=
true
COVERAGE
=
true
;;
--help
)
printhelp
;;
-
*
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment