.gitlab-ci.yml 554 Bytes
Newer Older
1
image: ghdl/ext:vunit
2 3 4 5 6 7 8 9
before_script:
    - apt-get -y install lcov make

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 19 20 21
    stage: build
    allow_failure: true
    script:
        - cd driver
        - "make -j`nproc`"

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