.gitlab-ci.yml 573 Bytes
Newer Older
1
image: mjerabek/ghdl
2
before_script:
3
    - "export PATH=/opt/ghdl/bin:$PATH"
4 5 6 7 8 9

build_ip_and_tests:
    stage: build
    allow_failure: true
    script:
        - cd test
Martin Jeřábek's avatar
Martin Jeřábek committed
10
        - make elaborate
11

Martin Jeřábek's avatar
Martin Jeřábek committed
12
.build_driver:
13 14 15 16 17 18
    stage: build
    allow_failure: true
    script:
        - cd driver
        - "make -j`nproc`"

19
test_ip_unit:
20 21
    stage: test
    allow_failure: true
22
    script:
23
        - cd test
24
        - make test_unit XUNIT=1
Martin Jeřábek's avatar
Martin Jeřábek committed
25 26 27 28 29
        - make coverage
    coverage: "/lines......: ([^%]+%)/"
    artifacts:
        paths:
            - code_html
30
            - test_unit.xml