Attention une mise à jour du service Gitlab va être effectuée le mardi 30 novembre entre 17h30 et 18h00. Cette mise à jour va générer une interruption du service dont nous ne maîtrisons pas complètement la durée mais qui ne devrait pas excéder quelques minutes. Cette mise à jour intermédiaire en version 14.0.12 nous permettra de rapidement pouvoir mettre à votre disposition une version plus récente.

.gitlab-ci.yml 1.3 KB
Newer Older
ROKICKI Simon's avatar
ROKICKI Simon committed
1
before_script:
ROKICKI Simon's avatar
ROKICKI Simon committed
2 3
  - export PATH=/opt/Catapult-10.3a/Mgc_home/bin:$PATH
  - export LM_LICENSE_FILE=1717@licence.irisa.fr:2100@licence.irisa.fr
ROKICKI Simon's avatar
ROKICKI Simon committed
4
  - mkdir -p cache
5

ROKICKI Simon's avatar
ROKICKI Simon committed
6 7 8 9 10 11 12
cache:
  paths:
    - cache

stages:
  - build
  - test
13
  - HLS
ROKICKI Simon's avatar
ROKICKI Simon committed
14 15 16 17 18

# Note: we cannot use submodule commit as cache key, so we do it manually in
# subfolder of a big cache
cbuild:
  stage: build
ROKICKI Simon's avatar
ROKICKI Simon committed
19 20
  artifacts:
    paths:
ROKICKI Simon's avatar
ROKICKI Simon committed
21
      - build/bin
ROKICKI Simon's avatar
ROKICKI Simon committed
22
  script:
ROKICKI Simon's avatar
ROKICKI Simon committed
23 24 25 26
    - mkdir build
    - cd build
    - cmake ..
    - make all
ROKICKI Simon's avatar
ROKICKI Simon committed
27

28
catapult_ASIC:
29
  stage: HLS
ROKICKI Simon's avatar
ROKICKI Simon committed
30 31
  artifacts:
    paths:
32
      - comet.vhdl
33
    expire_in: 200y
ROKICKI Simon's avatar
ROKICKI Simon committed
34
  script:
PATUREL Joseph's avatar
PATUREL Joseph committed
35 36
    - mkdir build-catapult-asic
    - cd build-catapult-asic
37
    - catapult -shell -file $CI_PROJECT_DIR/scripts/catapult_asic.tcl
PATUREL Joseph's avatar
PATUREL Joseph committed
38
    - mv Catapult/doCore.v1/concat_rtl.vhdl ../comet.vhdl
39 40

catapult_Xilinx:
41
  stage: HLS
42 43 44
  artifacts:
    paths:
      - comet.vhdl
45
    expire_in: 200y
46
  script:
PATUREL Joseph's avatar
PATUREL Joseph committed
47 48
    - mkdir build-catapult-xilinx
    - cd build-catapult-xilinx
49
    - catapult -shell -file $CI_PROJECT_DIR/scripts/catapult_xilinx.tcl
PATUREL Joseph's avatar
PATUREL Joseph committed
50
    - mv Catapult/doCore.v1/concat_rtl.vhdl ../comet.vhdl
ROKICKI Simon's avatar
ROKICKI Simon committed
51 52 53 54 55

test:atomic:
  stage: test
  script:
    - cd build/bin
56 57 58 59 60 61 62
    - ./atomicTests $CI_PROJECT_DIR/tests/atomicTests

test:applications:
  stage: test
  script:
    - cd tests
    - ./runTests.sh
63 64 65
    
    
test:float:
66 67 68 69 70
  stage: test
  script:
    - cd build/bin
    - ./testFPU