.gitlab-ci.yml 721 Bytes
Newer Older
Jonathan Lambrechts's avatar
Jonathan Lambrechts committed
1
makedg :
Jonathan Lambrechts's avatar
Jonathan Lambrechts committed
2
  image : immc/dg-valid:v0.1
Jonathan Lambrechts's avatar
Jonathan Lambrechts committed
3
4
5
  script:
    - mkdir build
    - cd build
6
    - cmake .. -DENABLE_GOTM=1 -DPYTHON_EXECUTABLE=/usr/bin/python3
7
    - make -j4
Jonathan Lambrechts's avatar
Jonathan Lambrechts committed
8
9
    - ctest --output-on-failure

10
win64 : 
Jonathan Lambrechts's avatar
Jonathan Lambrechts committed
11
  image : immc/dg-mingw:v0.2.11
12
13
14
  script :
    - mkdir build
    - cd build
15
    - cmake .. -DCMAKE_TOOLCHAIN_FILE=/mingw64/cmake-mingw -DCMAKE_CXX_FLAGS="-DMS_WIN64" -DPYTHON_EXECUTABLE=/mingw64/Python34/python.exe -DENABLE_FUNCTIONC=OFF
16
17
    - make -j4
    - make dg_main
18
19
    - PYTHONDIR=/mingw64/Python34 bash ./dgpy/make_windows_package.sh
    - mv slim ../slim-${CI_BUILD_TAG}
20
21
22
23
  only :
    - tags
  artifacts :
     paths :
24
       - slim-${CI_BUILD_TAG}
25
26
     expire_in : 1 day
     name : "slim-${CI_BUILD_TAG}"