Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cx-custom-gitlab-runner
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
Package registry
Model registry
Operate
Environments
Terraform modules
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Lukas Werner
cx-custom-gitlab-runner
Commits
d3fdfa2d
Commit
d3fdfa2d
authored
3 years ago
by
Lukas Werner
Browse files
Options
Downloads
Patches
Plain Diff
Update example.gitlab-ci.yml
parent
fc5182a4
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
example.gitlab-ci.yml
+4
-34
4 additions, 34 deletions
example.gitlab-ci.yml
with
4 additions
and
34 deletions
example.gitlab-ci.yml
+
4
−
34
View file @
d3fdfa2d
###############################################################################
## ##
## General settings ##
## ##
###############################################################################
variables
:
variables
:
AUTH_USER
:
hpc_username
AUTH_USER
:
hpc_username
...
@@ -10,17 +5,14 @@ stages:
...
@@ -10,17 +5,14 @@ stages:
-
build
-
build
-
test
-
test
###############################################################################
gcc_9_mpionly
:
## ##
stage
:
build
## Build templates ##
## ##
###############################################################################
.build_template
:
script
:
script
:
-
module load cmake/3.11.1
-
module load cmake/3.11.1
-
module load openmpi/3.1.5-gcc
-
module load openmpi/3.1.5-gcc
-
module load gcc/9.1.0
-
module load gcc/9.1.0
-
export CXX=g++
-
export CC=gcc
-
export NUM_CORES=$(nproc --all)
-
export NUM_CORES=$(nproc --all)
-
export MAX_BUILD_CORES=$(( $(awk '( $1 == "MemTotal:" ) { print $2 }' /proc/meminfo) / ( 4 * 1024 * 1024 ) ))
-
export MAX_BUILD_CORES=$(( $(awk '( $1 == "MemTotal:" ) { print $2 }' /proc/meminfo) / ( 4 * 1024 * 1024 ) ))
-
"
[[
$MAX_BUILD_CORES
-lt
$NUM_CORES
]]
&&
export
NUM_BUILD_CORES=$MAX_BUILD_CORES
||
export
NUM_BUILD_CORES=$NUM_CORES"
-
"
[[
$MAX_BUILD_CORES
-lt
$NUM_CORES
]]
&&
export
NUM_BUILD_CORES=$MAX_BUILD_CORES
||
export
NUM_BUILD_CORES=$NUM_CORES"
...
@@ -57,34 +49,12 @@ stages:
...
@@ -57,34 +49,12 @@ stages:
-
make -j $NUM_BUILD_CORES -l $NUM_CORES ReduceTest
-
make -j $NUM_BUILD_CORES -l $NUM_CORES ReduceTest
variables
:
variables
:
CTEST_EXCLUDE_LABELS
:
"
longrun"
CTEST_EXCLUDE_LABELS
:
"
longrun"
WALBERLA_BUILD_WITH_MPI
:
"
ON"
WALBERLA_BUILD_WITH_OPENMP
:
"
ON"
OMP_NUM_THREADS
:
"
4"
OMP_NUM_THREADS
:
"
4"
OMP_WAIT_POLICY
:
"
PASSIVE"
OMP_WAIT_POLICY
:
"
PASSIVE"
CMAKE_BUILD_TYPE
:
"
Release"
CMAKE_BUILD_TYPE
:
"
Release"
WALBERLA_BUFFER_DEBUG
:
"
OFF"
WALBERLA_BUFFER_DEBUG
:
"
OFF"
WALBERLA_DOUBLE_ACCURACY
:
"
ON"
WALBERLA_DOUBLE_ACCURACY
:
"
ON"
WALBERLA_BUILD_WITH_METIS
:
"
ON"
WALBERLA_BUILD_WITH_PARMETIS
:
"
ON"
WALBERLA_ENABLE_GUI
:
"
OFF"
WALBERLA_ENABLE_GUI
:
"
OFF"
tags
:
-
testfront
###############################################################################
## ##
## Linux builds ##
## ##
###############################################################################
gcc_9_mpionly
:
extends
:
.build_template
stage
:
build
before_script
:
-
export CXX=g++
-
export CC=gcc
variables
:
CTEST_EXCLUDE_LABELS
:
"
longrun"
WALBERLA_BUILD_WITH_MPI
:
"
ON"
WALBERLA_BUILD_WITH_MPI
:
"
ON"
WALBERLA_BUILD_WITH_OPENMP
:
"
OFF"
WALBERLA_BUILD_WITH_OPENMP
:
"
OFF"
WALBERLA_BUILD_WITH_METIS
:
"
OFF"
WALBERLA_BUILD_WITH_METIS
:
"
OFF"
...
...
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