Commit 944c8e91 authored by Steffen Vogel's avatar Steffen Vogel 🎅🏼
Browse files

fix CI


Former-commit-id: eb585e82
parent 88cb9f2d
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
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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment