.gitlab-ci.yml 1.82 KB
Newer Older
1
variables:
Raymond Toy's avatar
Raymond Toy committed
2
3
  download_url: "https://common-lisp.net/project/cmucl/downloads/snapshots/2020/04"
  version: "2020-04-x86"
4
  bootstrap: ""
5

6
linux-runner:
Raymond Toy's avatar
Raymond Toy committed
7
8
9
  artifacts:
    paths:
      - ansi-test/test.out
Raymond Toy's avatar
Raymond Toy committed
10
      - benchmarks/cl-bench/results
11
12
13
  tags:
    - linux
  before_script:
Raymond Toy's avatar
Raymond Toy committed
14
15
    - git clone https://gitlab.common-lisp.net/ansi-test/ansi-test.git
    - (cd ansi-test; git checkout rtoy-cmucl-expected-failures)
16
17
    - wget -nv $download_url/cmucl-$version-linux.tar.bz2
    - wget -nv $download_url/cmucl-$version-linux.extra.tar.bz2
Raymond Toy's avatar
Raymond Toy committed
18
    - mkdir snapshot
19
    - (cd snapshot; tar xjf ../cmucl-$version-linux.tar.bz2; tar xjf ../cmucl-$version-linux.extra.tar.bz2)
Raymond Toy's avatar
Raymond Toy committed
20
  script:
Raymond Toy's avatar
Raymond Toy committed
21
    - bin/build.sh $bootstrap -R -C "" -o snapshot/bin/lisp
Raymond Toy's avatar
Raymond Toy committed
22
23
    - bin/make-dist.sh -I dist linux-4
    - bin/run-tests.sh -l dist/bin/lisp 2>&1 | tee test.log
Raymond Toy's avatar
Raymond Toy committed
24
25
    - cd ansi-test
    - make LISP="../dist/bin/lisp -batch -noinit -nositeinit"
Raymond Toy's avatar
Raymond Toy committed
26
27
28
29
30
    - grep 'No unexpected \(successes\|failures\)' test.out
    - cd ../benchmarks/cl-bench
    - CMUCL=../../snapshot/bin/lisp run-cmucl.sh
    - CMUCL=../../dist/bin/lisp run-cmucl.sh
    - ../../snapshot/bin/lisp -load report
Raymond Toy's avatar
Raymond Toy committed
31

Raymond Toy's avatar
Raymond Toy committed
32
osx-runner:
Raymond Toy's avatar
Raymond Toy committed
33
34
35
  artifacts:
    paths:
      - ansi-test/test.out
Raymond Toy's avatar
Raymond Toy committed
36
37
  tags:
    - osx
38
  before_script:
Raymond Toy's avatar
Raymond Toy committed
39
40
    - git clone https://gitlab.common-lisp.net/ansi-test/ansi-test.git
    - (cd ansi-test; git checkout rtoy-cmucl-expected-failures)
41
    - curl -s -o cmucl-$version-darwin.tar.bz2 $download_url/cmucl-$version-darwin.tar.bz2
42
    - mkdir snapshot
43
    - (cd snapshot; tar xjf ../cmucl-$version-darwin.tar.bz2)
Raymond Toy's avatar
Raymond Toy committed
44
  script:
Raymond Toy's avatar
Raymond Toy committed
45
    - bin/build.sh $bootstrap -R -C "" -o snapshot/bin/lisp
Raymond Toy's avatar
Raymond Toy committed
46
47
    - bin/make-dist.sh -I dist darwin-4
    - bin/run-tests.sh -l dist/bin/lisp 2>&1 | tee test.log
Raymond Toy's avatar
Raymond Toy committed
48
49
50
    - cd ansi-test
    - make LISP="../dist/bin/lisp -batch -noinit -nositeinit"
    - grep 'No unexpected \(successes\|failures\)' test.out