.gitlab-ci.yml 349 Bytes
Newer Older
1
2
3
stages:
  - prepare
  - build
Georg Martin Reinke's avatar
Georg Martin Reinke committed
4
  - test
5
6
7
8
9
10
11
12
13
14
15
16
17
18

docker:
  stage: prepare
  script:
    - docker build -t dpsim-dev .
  tags:
    - shell

build:
  stage: build
  script:
    - make -C Source
  image: dpsim-dev
  tags:
Georg Martin Reinke's avatar
Georg Martin Reinke committed
19
20
21
22
23
    - docker

test:
  stage: test
  script:
Georg Martin Reinke's avatar
Georg Martin Reinke committed
24
    - make -C Source tests
Georg Martin Reinke's avatar
Georg Martin Reinke committed
25
    - cd Source/Tests
Georg Martin Reinke's avatar
Georg Martin Reinke committed
26
    - python3 run_tests.py
Georg Martin Reinke's avatar
Georg Martin Reinke committed
27
  image: dpsim-dev