Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ACS
Public
Power System Simulation and Optimization
DPsim
DPsim
Commits
eb585e82
Commit
eb585e82
authored
Nov 28, 2017
by
Steffen Vogel
🎅🏼
Browse files
fix CI
parent
7809c23d
Changes
2
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
eb585e82
variables
:
DOCKER_IMAGE
:
dpsim-dev-${CI_COMMIT_REF_NAME}
DOCKER_TAG_DEV
:
${CI_COMMIT_REF_NAME}
DOCKER_IMAGE_DEV
:
villas/dpsim-dev
GIT_SUBMODULE_STRATEGY
:
recursive
stages
:
...
...
@@ -11,7 +12,7 @@ stages:
docker
:
stage
:
prepare
script
:
-
docker build -t ${DOCKER_IMAGE} .
-
docker build -t ${DOCKER_IMAGE
_DEV}:${DOCKER_TAG_DEV
} .
tags
:
-
shell
...
...
@@ -22,7 +23,7 @@ build:
-
cd Source/build
-
cmake ..
-
make
image
:
${DOCKER_IMAGE}
image
:
${DOCKER_IMAGE
_DEV}:${DOCKER_TAG_DEV
}
artifacts
:
paths
:
-
Source/build
...
...
@@ -33,7 +34,7 @@ docs:
stage
:
docs
script
:
-
make docs
image
:
${DOCKER_IMAGE}
image
:
${DOCKER_IMAGE
_DEV}:${DOCKER_TAG_DEV
}
artifacts
:
paths
:
-
Documentation/html
...
...
@@ -46,6 +47,6 @@ test:
PYTHONPATH
:
Source/build
script
:
-
python3 Examples/Python/ci.py
image
:
${DOCKER_IMAGE}
image
:
${DOCKER_IMAGE
_DEV}:${DOCKER_TAG_DEV
}
tags
:
-
docker
Dockerfile
View file @
eb585e82
FROM
fedora:latest
MAINTAINER
Steffen Vogel <stvogel@eonerc.rwth-aachen.de>
FROM
registry.fedoraproject.org/fedora:27
LABEL
\
org.label-schema.schema-version = "1.0" \
org.label-schema.name = "DPsim" \
org.label-schema.license = "GPL-3.0" \
org.label-schema.vendor = "Institute for Automation of Complex Power Systems, RWTH Aachen University" \
org.label-schema.author.name = "Steffen Vogel" \
org.label-schema.author.email = "stvogel@eonerc.rwth-aachen.de" \
org.label-schema.url = "http://fein-aachen.org/projects/dpsim/" \
org.label-schema.vcs-url = "https://git.rwth-aachen.de/acs/core/simulation/DPsim"
ADD
https://villas.fein-aachen.org/packages/villas.repo /etc/yum.repos.d/
RUN
dnf
-y
update
# Toolchain
RUN
dnf
-y
install
\
git
\
gcc-c++
\
make
\
cmake
\
make cmake
\
doxygen
# Dependencies
RUN
dnf
-y
install
\
eigen3-devel
\
doxygen
\
libxml2-devel
\
python3-pandas
\
python3-numpy
\
python3-sphinx
villas-node-devel
\
libcimpp-devel
RUN
dnf
-y
install
villas-node-devel
# Python Packages
RUN
pip
install
\
pandas
\
numpy
\
matplotlib
\
sphinx
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment