.gitlab-ci.yml 1.02 KB
Newer Older
Mart Lubbers's avatar
Mart Lubbers committed
1
test-nightly:
Camil Staps's avatar
CI  
Camil Staps committed
2
  before_script:
Camil Staps's avatar
Camil Staps committed
3
    - install_clean.sh bundle-complete
Camil Staps's avatar
Camil Staps committed
4
    - apt-get update -qq
5
    - apt-get install -y -qq build-essential git coreutils libmariadb-dev libsnappy-dev libsqlite3-dev
6

Mart Lubbers's avatar
ci  
Mart Lubbers committed
7
    - make -C src/cdeps install
8 9

    - git clone https://gitlab.science.ru.nl/clean-compiler-and-rts/compiler tests/linux64/compiler
10
    - make -C tests/linux64/compiler/main/Unix
11 12 13
    - make -j -C tests/linux64/compiler/backendC/CleanCompilerSources -f Makefile.linux64
    - mkdir -p tests/linux64/compiler/backend/Clean\ System\ Files
    - ln -fs ../../backendC/CleanCompilerSources/backend.a tests/linux64/compiler/backend/Clean\ System\ Files/backend_library
Camil Staps's avatar
Camil Staps committed
14
  image: "camilstaps/clean:nightly"
Camil Staps's avatar
CI  
Camil Staps committed
15
  script:
16
    - COCLPATH=./compiler make -C tests/linux64 run
17
    - cleantest -r testproperties --options '-IL;Dynamics;-d;src/libraries/OS-Independent;-P;OutputTestEvents;-T;Tests 100000;-T;MaxStringLength 500;-T;Bent;-C;-h;-C;100m;-r' --junit junit.xml
18
  artifacts:
Camil Staps's avatar
Camil Staps committed
19
    when: always
20 21 22 23
    paths:
      - junit.xml
    reports:
      junit: junit.xml