[Git][cmucl/cmucl][rtoy-refactor-ci-config] Set up artifacts between install and build

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



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


Commits:
e6dc62db by Raymond Toy at 2020-09-05T10:32:55-07:00
Set up artifacts between install and build

In the build stage, keep the ansi-test and snapshot directories around
because we need that for running the tests.

- - - - -


1 changed file:

- .gitlab-ci.yml


Changes:

=====================================
.gitlab-ci.yml
=====================================
@@ -9,11 +9,17 @@ stages:
   - test
   - benchmark
 
+cache:
+
 
 linux:install:
   stage: install
   tags:
     - 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)
@@ -26,6 +32,9 @@ linux:build:
   stage: build
   tags:
     - linux
+  needs:
+    - job: linux:install
+      artifacts: true
   script:
     - bin/build.sh $bootstrap -R -C "" -o snapshot/bin/lisp
     - bin/make-dist.sh -I dist linux-4
@@ -61,6 +70,10 @@ osx:install:
   stage: install
   tags:
     - 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)
@@ -72,6 +85,9 @@ osx:build:
   stage: install
   tags:
     - osx
+  needs:
+    - job: osx:install
+      artifacts: true
   script:
     - bin/build.sh $bootstrap -R -C "" -o snapshot/bin/lisp
     - bin/make-dist.sh -I dist darwin-4



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

-- 
View it on GitLab: https://gitlab.common-lisp.net/cmucl/cmucl/-/commit/e6dc62dba11e1b09cd37b22a442c62a0bd458f5e
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/b5527fe1/attachment-0001.htm>


More information about the cmucl-cvs mailing list