.gitlab-ci.yml 1.32 KB
Newer Older
Mart Lubbers's avatar
Mart Lubbers committed
1
test-nightly:
Camil Staps's avatar
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 libsnappy-dev
6

Mart Lubbers's avatar
Mart Lubbers committed
7
    - make -C src/cdeps install
8 9 10 11 12 13

    - git clone https://gitlab.science.ru.nl/clean-compiler-and-rts/compiler tests/linux64/compiler
    - make -j -C tests/linux64/compiler/main/Unix
    - 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
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 19 20 21 22
  artifacts:
    paths:
      - junit.xml
    reports:
      junit: junit.xml
Mart Lubbers's avatar
Mart Lubbers committed
23

24 25 26 27 28 29 30 31 32 33
test-stable:
  before_script:
    - apt-get update -qq
    - apt-get install -y -qq patch build-essential coreutils libsnappy-dev
    - make -C src/cdeps install
    - install_clean.sh "stable lib-dynamics lib-tcpip lib-graphcopy lib-graphcopy test"
  image: "camilstaps/clean:nightly"
  script:
    - make -C tests/linux64 run
  allow_failure: true