.gitlab-ci.yml 744 Bytes
Newer Older
Guillem Cabo's avatar
Guillem Cabo committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# ======= SAME DOCKER IMAGE ===========
image: localhost:5000/spyglass_centos8:latest
# =========== ALL THE STAGES ===========
# All the stages will be executed in this order
stages:
    - linting

variables:
  GIT_SUBMODULE_STRATEGY: recursive

before_script:
  - git submodule sync --recursive
  - git submodule update --init --recursive

# =========== STAGE ===========
#   - linting
# =============================
linting_spyglass:
  stage: linting
  artifacts:
    paths:
      #TODO:add spyglass log
      - ./artifact_linting_verilator_BSC.log
    when: always
    expire_in: 30 days
  script:
    - echo "lint_spyglass"
    - make "docker_spyglass"    # This is a fake call inside the Makefile, just and example
  allow_failure: false