[Git][cmucl/cmucl][rtoy-refactor-ci-config] Clone ansi-test in the test stage instead of install.

Raymond Toy gitlab at common-lisp.net
Sat Sep 5 20:17:05 UTC 2020



Raymond Toy pushed to branch rtoy-refactor-ci-config at cmucl / cmucl


Commits:
c544cad2 by Raymond Toy at 2020-09-05T13:15:54-07:00
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.

- - - - -


1 changed file:

- .gitlab-ci.yml


Changes:

=====================================
.gitlab-ci.yml
=====================================
@@ -18,11 +18,8 @@ linux:install:
     - linux
   artifacts:
     paths:
-      - ansi-test/
       - snapshot/
   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.extra.tar.bz2
     - mkdir snapshot
@@ -51,10 +48,12 @@ linux:test:
       - ansi-test/test.out
       - test.log
   needs:
-    # Needs artifacts from install (ansi-test/) and build (dist/)
-    - job: linux:install
-      artifacts: true
+    # Needs artifacts from build (dist/)
     - 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:
     - bin/run-tests.sh -l dist/bin/lisp 2>&1 | tee test.log
     - cd ansi-test
@@ -86,11 +85,8 @@ osx:install:
     - osx
   artifacts:
     paths:
-      - ansi-test/
       - snapshot/
   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
     - mkdir snapshot
     - (cd snapshot; tar xjf ../cmucl-$version-darwin.tar.bz2)
@@ -118,10 +114,12 @@ osx:test:
       - ansi-test/test.out
       - test.log
   needs:
-    # Needs artifacts from install (ansi-test/) and build (dist/)
-    - job: osx:install
-      artifacts: true
+    # Needs artifacts from build (dist/)
     - 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:
     - bin/run-tests.sh -l dist/bin/lisp 2>&1 | tee test.log
     - cd ansi-test



View it on GitLab: https://gitlab.common-lisp.net/cmucl/cmucl/-/commit/c544cad209608ae87196c0099c62a4f3030023ca

-- 
View it on GitLab: https://gitlab.common-lisp.net/cmucl/cmucl/-/commit/c544cad209608ae87196c0099c62a4f3030023ca
You're receiving this email because of your account on gitlab.common-lisp.net.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/cmucl-cvs/attachments/20200905/4e792aba/attachment-0001.htm>


More information about the cmucl-cvs mailing list