Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dune-meshdist
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
Monitor
Service Desk
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
extensions
dune-meshdist
Commits
df5e765a
Commit
df5e765a
authored
2 months ago
by
Simon Praetorius
Browse files
Options
Downloads
Patches
Plain Diff
improve the ci script
parent
6993dd94
No related branches found
No related tags found
1 merge request
!2
Allow nanoflann and alglib to be external packages
Pipeline
#75916
failed
2 months ago
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+7
-3
7 additions, 3 deletions
.gitlab-ci.yml
with
7 additions
and
3 deletions
.gitlab-ci.yml
+
7
−
3
View file @
df5e765a
...
@@ -3,8 +3,12 @@ before_script: &before
...
@@ -3,8 +3,12 @@ before_script: &before
-
duneci-install-module https://gitlab.dune-project.org/extensions/dune-alugrid.git
-
duneci-install-module https://gitlab.dune-project.org/extensions/dune-alugrid.git
-
duneci-install-module https://gitlab.dune-project.org/extensions/dune-foamgrid.git
-
duneci-install-module https://gitlab.dune-project.org/extensions/dune-foamgrid.git
-
duneci-install-module https://gitlab.dune-project.org/extensions/dune-vtk.git
-
duneci-install-module https://gitlab.dune-project.org/extensions/dune-vtk.git
-
git config --global url."https://ci:${NANOFLANN_ACCESS_TOKEN}@gitlab.dune-project.org/simon.praetorius/nanoflann.git".insteadOf https://github.com/jlblancoc/nanoflann.git
-
git clone https://ci:${NANOFLANN_ACCESS_TOKEN}@gitlab.dune-project.org/simon.praetorius/nanoflann.git /tmp/nanoflann
-
git clone https://ci:${ALGLIB_ACCESS_TOKEN}@gitlab.dune-project.org/simon.praetorius/alglib.git /duneci/libs/alglib
-
cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_CXX_STANDARD=20 -DCMAKE_CXX_COMPILER=g++-12 -DCMAKE_INSTALL_PREFIX=/duneci/lib/nanoflann -B /tmp/nanoflann-build -S /tmp/nanoflann
-
cmake --build /tmp/nanoflann-build && cmake --install /tmp/nanoflann-build
-
git clone https://ci:${ALGLIB_ACCESS_TOKEN}@gitlab.dune-project.org/simon.praetorius/alglib.git /tmp/alglib
-
cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_CXX_STANDARD=20 -DCMAKE_CXX_COMPILER=g++-12 -DCMAKE_INSTALL_PREFIX=/duneci/lib/alglib -B /tmp/alglib-build -S /tmp/alglib
-
cmake --build /tmp/alglib-build && cmake --install /tmp/alglib-build
# Test with the master branch of the dependencies
# Test with the master branch of the dependencies
...
@@ -13,7 +17,7 @@ dune:git gcc-12 C++20:
...
@@ -13,7 +17,7 @@ dune:git gcc-12 C++20:
image
:
registry.dune-project.org/docker/ci/dune:git-debian-12-gcc-12-20
image
:
registry.dune-project.org/docker/ci/dune:git-debian-12-gcc-12-20
tags
:
[
duneci
]
tags
:
[
duneci
]
variables
:
variables
:
DUNECI_CMAKE_FLAGS
:
-Dalglib_
SOURCE_
DIR=/duneci/libs/alglib
DUNECI_CMAKE_FLAGS
:
-Dalglib_DIR=/duneci/libs/alglib
/share/cmake/alglib -Dnanoflann_DIR=/duneci/libs/nanoflann/share/cmake/nanoflann
before_script
:
before_script
:
-
*before
-
*before
script
:
duneci-standard-test
script
:
duneci-standard-test
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