Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
libmtime
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
icon-libraries
libmtime
Commits
474c77cc
Commit
474c77cc
authored
3 weeks ago
by
Sergey Kosukhin
Browse files
Options
Downloads
Patches
Plain Diff
ci: drop autotools tests
parent
580fca35
No related branches found
No related tags found
1 merge request
!86
Draft: Drop Autotools
Pipeline
#100606
passed
3 weeks ago
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+9
-79
9 additions, 79 deletions
.gitlab-ci.yml
with
9 additions
and
79 deletions
.gitlab-ci.yml
+
9
−
79
View file @
474c77cc
...
...
@@ -134,7 +134,7 @@ include:
CC
:
gcc
CFLAGS
:
-g -O2
FC
:
gfortran
F
C
FLAGS
:
-g -O2
FFLAGS
:
-g -O2
LIBCHECK_ROOT
:
${CI_GITIGNORE_DIR}/libcheck
LIBCHECK_URL
:
https://github.com/libcheck/check/releases/download/0.15.2/check-0.15.2.tar.gz
LIBCHECK_SHA256
:
a8de4e0bacfb4d76dd1c618ded263523b53b85d92a146d8835eb1a52932fa20a
...
...
@@ -204,41 +204,10 @@ include:
paths
:
-
${LIBCHECK_ROOT}
.common_autotools
:
extends
:
.common
variables
:
CONFIG_EXTRA_ARGS
:
MAKEFLAGS
:
--jobs=${JOB_COUNT} V=1
AM_COLOR_TESTS
:
always
script
:
-
>
test -f ./configure || ./autogen.sh
-
mkdir build && cd build
-
>
../configure
--enable-check
--with-check-root="${LIBCHECK_ROOT}"
--enable-python
--disable-maintainer-mode
--prefix="${INSTALL_PREFIX}"
${CONFIG_EXTRA_ARGS}
-
make --output-sync=target check AM_COLOR_TESTS=no TESTS= 2>&1 | tee "${BUILD_LOG}"
-
make --silent --keep-going check
-
make install
-
make installcheck
-
!reference
[
.common
,
script
]
artifacts
:
when
:
on_failure
paths
:
-
"
**/config.log"
-
"
**/test-suite.log"
.common_cmake
:
extends
:
.common
variables
:
CMAKE_EXTRA_ARGS
:
# Cmake initializes Fortran compiler flags from FFLAGS:
FFLAGS
:
${FCFLAGS}
script
:
-
mkdir build && cd build
-
>
...
...
@@ -279,7 +248,7 @@ include:
.check_gcc
:
variables
:
CFLAGS
:
-g -O2 -Wall -Wextra -pedantic
F
C
FLAGS
:
-g -O2 -Wall -Wextra -pedantic -fbounds-check
FFLAGS
:
-g -O2 -Wall -Wextra -pedantic -fbounds-check
before_script
:
[]
.check_intel
:
...
...
@@ -299,42 +268,23 @@ include:
.check_nag
:
variables
:
FC
:
nagfor
F
C
FLAGS
:
-g -O2 -C=all
FFLAGS
:
-g -O2 -C=all
# Ignore Questionable warnings:
WARNINGS_AWK_SCRIPT
:
'
!/^\[NAG
Fortran
Compiler
normal
termination/
&&
(/warning/
||
/WARNING/
||
/Warning/)'
before_script
:
-
module load nag/7.1-gcc-11.2.0
Check with GCC 11.2.0 (Autotools)
:
extends
:
-
.common_autotools
-
.check_gcc
before_script
:
-
!reference
[
.common_autotools
,
before_script
]
-
!reference
[
.check_gcc
,
before_script
]
cache
:
policy
:
pull-push
Check with GCC 11.2.0 (CMake, Ninja)
:
Check with GCC 11.2.0 (Ninja)
:
extends
:
-
.common_cmake_ninja
-
.check_gcc
before_script
:
-
!reference
[
.common_cmake_ninja
,
before_script
]
-
!reference
[
.check_gcc
,
before_script
]
cache
:
policy
:
pull-push
Check with Intel 2021.5.0 (Autotools)
:
extends
:
-
.common_autotools
-
.check_intel
variables
:
# Ignore the warning on a deprecated flag injected by libtool:
WARNINGS_AWK_SCRIPT
:
'
!/-nofor_main/
&&
(/warning/
||
/WARNING/
||
/Warning/)'
before_script
:
-
!reference
[
.common_autotools
,
before_script
]
-
!reference
[
.check_intel
,
before_script
]
Check with Intel 2021.5.0 (CMake, Unix Makefiles)
:
Check with Intel 2021.5.0 (Unix Makefiles)
:
extends
:
-
.common_cmake_makefiles
-
.check_intel
...
...
@@ -342,17 +292,7 @@ Check with Intel 2021.5.0 (CMake, Unix Makefiles):
-
!reference
[
.common_cmake_makefiles
,
before_script
]
-
!reference
[
.check_intel
,
before_script
]
Check with NVHPC 24.7 (Autotools)
:
extends
:
-
.common_autotools
-
.check_nvhpc
before_script
:
-
!reference
[
.common_autotools
,
before_script
]
-
!reference
[
.check_nvhpc
,
before_script
]
# Libtool does not know about NVHPC and its PIC flag:
-
export FCFLAGS="$FCFLAGS -fpic"
Check with NVHPC 24.7 (CMake, Ninja)
:
Check with NVHPC 24.7 (Ninja)
:
extends
:
-
.common_cmake_ninja
-
.check_nvhpc
...
...
@@ -360,17 +300,7 @@ Check with NVHPC 24.7 (CMake, Ninja):
-
!reference
[
.common_cmake_ninja
,
before_script
]
-
!reference
[
.check_nvhpc
,
before_script
]
Check with NAG 7.1.7114 (Autotools)
:
extends
:
-
.common_autotools
-
.check_nag
before_script
:
-
!reference
[
.common_autotools
,
before_script
]
-
!reference
[
.check_nag
,
before_script
]
# nagfor is supposed to use non-default gcc:
-
export FCFLAGS="-Wc=`which gcc` $FCFLAGS"
Check with NAG 7.1.7114 (CMake, Unix Makefiles)
:
Check with NAG 7.1.7114 (Unix Makefiles)
:
extends
:
-
.common_cmake_makefiles
-
.check_nag
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment