Commit c544cad2 authored by Raymond Toy's avatar Raymond Toy

Clone ansi-test in the test stage instead of install.

Then the install stage doesn't need to save the ansi-test directory,
which isn't used until the test stage anyway.
parent ae2b154c
Pipeline #1820 passed with stages
in 20 minutes and 51 seconds
...@@ -18,11 +18,8 @@ linux:install: ...@@ -18,11 +18,8 @@ linux:install:
- linux - linux
artifacts: artifacts:
paths: paths:
- ansi-test/
- snapshot/ - snapshot/
script: script:
- git clone https://gitlab.common-lisp.net/ansi-test/ansi-test.git
- (cd ansi-test; git checkout rtoy-cmucl-expected-failures)
- wget -nv $download_url/cmucl-$version-linux.tar.bz2 - wget -nv $download_url/cmucl-$version-linux.tar.bz2
- wget -nv $download_url/cmucl-$version-linux.extra.tar.bz2 - wget -nv $download_url/cmucl-$version-linux.extra.tar.bz2
- mkdir snapshot - mkdir snapshot
...@@ -51,10 +48,12 @@ linux:test: ...@@ -51,10 +48,12 @@ linux:test:
- ansi-test/test.out - ansi-test/test.out
- test.log - test.log
needs: needs:
# Needs artifacts from install (ansi-test/) and build (dist/) # Needs artifacts from build (dist/)
- job: linux:install
artifacts: true
- job: linux:build - job: linux:build
artifacts: true
before_script:
- git clone https://gitlab.common-lisp.net/ansi-test/ansi-test.git
- (cd ansi-test; git checkout rtoy-cmucl-expected-failures)
script: script:
- bin/run-tests.sh -l dist/bin/lisp 2>&1 | tee test.log - bin/run-tests.sh -l dist/bin/lisp 2>&1 | tee test.log
- cd ansi-test - cd ansi-test
...@@ -86,11 +85,8 @@ osx:install: ...@@ -86,11 +85,8 @@ osx:install:
- osx - osx
artifacts: artifacts:
paths: paths:
- ansi-test/
- snapshot/ - snapshot/
script: script:
- git clone https://gitlab.common-lisp.net/ansi-test/ansi-test.git
- (cd ansi-test; git checkout rtoy-cmucl-expected-failures)
- curl -s -o cmucl-$version-darwin.tar.bz2 $download_url/cmucl-$version-darwin.tar.bz2 - curl -s -o cmucl-$version-darwin.tar.bz2 $download_url/cmucl-$version-darwin.tar.bz2
- mkdir snapshot - mkdir snapshot
- (cd snapshot; tar xjf ../cmucl-$version-darwin.tar.bz2) - (cd snapshot; tar xjf ../cmucl-$version-darwin.tar.bz2)
...@@ -118,10 +114,12 @@ osx:test: ...@@ -118,10 +114,12 @@ osx:test:
- ansi-test/test.out - ansi-test/test.out
- test.log - test.log
needs: needs:
# Needs artifacts from install (ansi-test/) and build (dist/) # Needs artifacts from build (dist/)
- job: osx:install
artifacts: true
- job: osx:build - job: osx:build
artifacts: true
before_script:
- git clone https://gitlab.common-lisp.net/ansi-test/ansi-test.git
- (cd ansi-test; git checkout rtoy-cmucl-expected-failures)
script: script:
- bin/run-tests.sh -l dist/bin/lisp 2>&1 | tee test.log - bin/run-tests.sh -l dist/bin/lisp 2>&1 | tee test.log
- cd ansi-test - cd ansi-test
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment