Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Y
yaxt
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
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
dkrz-sw
yaxt
Commits
3af87f6b
Commit
3af87f6b
authored
3 years ago
by
Thomas Jahns
Browse files
Options
Downloads
Patches
Plain Diff
Add gitlab ci setup for GCC 9.1.
parent
dee5837a
Branches
gitlab_ci
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!4
Gitlab ci
Pipeline
#13170
passed with warnings
3 years ago
Stage: tests
Stage: coverage
Stage: documentation
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+36
-8
36 additions, 8 deletions
.gitlab-ci.yml
with
36 additions
and
8 deletions
.gitlab-ci.yml
+
36
−
8
View file @
3af87f6b
...
...
@@ -37,12 +37,18 @@ stages:
tags
:
-
mistral, singularity
.init_build_gcc
:
.init_build_gcc
_6_4
:
extends
:
.init_build
before_script
:
-
*load_basic_modules
-
module load gcc/6.4.0 openmpi/2.0.2p2_hpcx-gcc64
.init_build_gcc_9_1
:
extends
:
.init_build
before_script
:
-
*load_basic_modules
-
module load gcc/9.1.0-gcc-7.1.0 openmpi/2.0.2p2-gcc-9.1.0
.init_build_intel
:
extends
:
.init_build
before_script
:
...
...
@@ -73,7 +79,7 @@ stages:
gen_cov_data
:
stage
:
coverage
dependencies
:
[]
extends
:
.init_build_gcc
extends
:
.init_build_gcc
_6_4
script
:
-
export OMPI_MCA_btl_sm_use_knem=0
-
export OMPI_MCA_btl_vader_single_copy_mechanism=none
...
...
@@ -96,9 +102,9 @@ gen_cov_data:
-
./*/*/*/*.gcda
expire_in
:
5min
run_test_gcc
:
run_test_gcc
_6_4
:
stage
:
tests
extends
:
.init_build_gcc
extends
:
.init_build_gcc
_6_4
script
:
-
export OMPI_MCA_btl_sm_use_knem=0
-
export OMPI_MCA_btl_vader_single_copy_mechanism=none
...
...
@@ -118,6 +124,28 @@ run_test_gcc:
-
make.err
expire_in
:
5min
run_test_gcc_9_1
:
stage
:
tests
extends
:
.init_build_gcc_9_1
script
:
-
export OMPI_MCA_btl_sm_use_knem=0
-
export OMPI_MCA_btl_vader_single_copy_mechanism=none
-
autoreconf -i
-
>
./configure
CC=mpicc FC=mpifort
FCFLAGS="-O2 -march=native -cpp -Wall -Wextra"
CFLAGS="-O2 -march=native -Wall -Wextra"
--disable-silent-rules
# build yaxt and unit tests without running tests
-
make -j8 2> >(tee make.err)
# run tests
-
make check
artifacts
:
paths
:
-
make.err
expire_in
:
5min
run_test_intel
:
stage
:
tests
extends
:
.init_build_intel
...
...
@@ -184,7 +212,7 @@ gen_cov_rep_html:
stage
:
documentation
needs
:
-
gen_cov_data
extends
:
.init_build_gcc
extends
:
.init_build_gcc
_6_4
rules
:
-
if
:
'
$CI_COMMIT_BRANCH
==
"master"'
when
:
always
...
...
@@ -234,13 +262,13 @@ check_warning_intel:
needs
:
-
run_test_intel
check_warning_gcc
:
check_warning_gcc
_6_4
:
stage
:
tests
extends
:
.check_warning
variables
:
OUTPUT_FILE
:
make.err
needs
:
-
run_test_gcc
-
run_test_gcc
_6_4
check_warning_nag
:
stage
:
tests
...
...
@@ -290,7 +318,7 @@ gen_cov_rep_xml:
stage
:
documentation
needs
:
-
gen_cov_data
extends
:
.init_build_gcc
extends
:
.init_build_gcc
_6_4
rules
:
-
if
:
'
$CI_PIPELINE_SOURCE
==
"merge_request_event"'
when
:
always
...
...
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