Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
dumux-lecture
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
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
dumux-repositories
dumux-lecture
Merge requests
!141
WIP [ci] add yml file for pipeline config
Code
Review changes
Check out branch
Download
Patches
Plain diff
Closed
WIP [ci] add yml file for pipeline config
feature/ci-integration
into
master
Overview
19
Commits
2
Pipelines
4
Changes
1
1 unresolved thread
Hide all comments
Closed
Dennis Gläser
requested to merge
feature/ci-integration
into
master
4 years ago
Overview
19
Commits
2
Pipelines
4
Changes
1
1 unresolved thread
Hide all comments
Expand
0
0
Merge request reports
Compare
master
version 3
42173587
4 years ago
version 2
b01316ff
4 years ago
version 1
11a1157f
4 years ago
master (base)
and
latest version
latest version
cff47ed5
2 commits,
4 years ago
version 3
42173587
2 commits,
4 years ago
version 2
b01316ff
1 commit,
4 years ago
version 1
11a1157f
1 commit,
4 years ago
1 file
+
60
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
.gitlab-ci.yml
0 → 100644
+
60
−
0
Options
default
:
image
:
registry.dune-project.org/docker/ci/dune:2.7-debian-11-gcc-9-20
cache
:
key
:
${CI_COMMIT_REF_SLUG}
paths
:
-
dep_modules
stages
:
-
build
-
test
# rules for build & test:
# - pipelines are built for commits to master, tags, merge requests
# - Within merge requests, we require manual trigger of the build stage
# to start off the pipeline
.build_rules
:
rules
:
-
if
:
$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
-
if
:
$CI_PIPELINE_SOURCE=="pipeline"
-
if
:
$CI_PIPELINE_SOURCE == "merge_request_event"
when
:
manual
.test_rules
:
rules
:
-
if
:
$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
-
if
:
$CI_PIPELINE_SOURCE=="pipeline"
-
if
:
$CI_PIPELINE_SOURCE == "merge_request_event"
build lecture
:
extends
:
.build_rules
stage
:
build
before_script
:
-
mkdir -p dep_modules; cd dep_modules
-
git clone -b releases/2.7 https://gitlab.dune-project.org/extensions/dune-foamgrid.git
-
git clone -b releases/2.7 https://gitlab.dune-project.org/extensions/dune-alugrid.git
-
git clone -b master https://git.iws.uni-stuttgart.de/dumux-repositories/dumux.git
-
dunecontrol --opts=/duneci/dune.opts --only=dune-foamgrid all
-
dunecontrol --opts=/duneci/dune.opts --only=dune-alugrid all
-
dunecontrol --opts=/duneci/dune.opts --only=dumux all
-
cd ..
script
:
-
cd ..
-
dunecontrol --opts=/duneci/dune.opts --only=dumux-lecture all
-
cd dumux-lecture/build-cmake
-
make -j 8 build_tests
artifacts
:
paths
:
-
build-cmake
expire_in
:
3 hours
test lecture
:
extends
:
.test_rules
stage
:
test
script
:
-
cd build-cmake
-
duneci-ctest -j4 --no-tests=error
needs
:
-
job
:
build lecture
artifacts
:
true
Loading