| ... |
... |
@@ -9,6 +9,18 @@ variables: |
|
9
|
9
|
tar_ext: "xz"
|
|
10
|
10
|
bootstrap: ""
|
|
11
|
11
|
|
|
|
12
|
+workflow:
|
|
|
13
|
+ rules:
|
|
|
14
|
+ # Always run on schedules (for analyze and markdown-link-check stages)
|
|
|
15
|
+ - if: $CI_PIPELINE_SOURCE == "schedule"
|
|
|
16
|
+ # Run on merge requests
|
|
|
17
|
+ - if: $CI_PIPELINE_SOURCE == "merge_request_event"
|
|
|
18
|
+ # Don't create a branch pipeline when an MR pipeline already exists
|
|
|
19
|
+ - if: $CI_COMMIT_BRANCH && $CI_OPEN_MERGE_REQUESTS
|
|
|
20
|
+ when: never
|
|
|
21
|
+ - if: $CI_COMMIT_BRANCH
|
|
|
22
|
+ - if: $CI_COMMIT_TAG
|
|
|
23
|
+
|
|
12
|
24
|
# Default install configuration to download the cmucl tarballs to use
|
|
13
|
25
|
# for building.
|
|
14
|
26
|
.install_template: &install_configuration
|
| ... |
... |
@@ -159,18 +171,12 @@ linux:cross-build: |
|
159
|
171
|
CONFIG: "x86_linux"
|
|
160
|
172
|
|
|
161
|
173
|
needs:
|
|
162
|
|
-
|
|
163
|
|
- # Normally need the linux:install stage to get the compiler to
|
|
164
|
|
- # use. But for #337, we need the normal build from linux:build to
|
|
165
|
|
- # do the cross-compile. Once the snapshot is made, we can use
|
|
166
|
|
- # linux:install instead.
|
|
167
|
|
- - job: linux:build
|
|
168
|
|
- #- job: linux:install
|
|
|
174
|
+ - job: linux:install
|
|
169
|
175
|
artifacts: true
|
|
170
|
176
|
script:
|
|
171
|
177
|
- bin/create-target.sh xtarget $CONFIG
|
|
172
|
178
|
- bin/create-target.sh xcross $CONFIG
|
|
173
|
|
- - bin/cross-build-world.sh -crl xtarget xcross src/tools/cross-scripts/cross-x86-x86.lisp dist/bin/lisp
|
|
|
179
|
+ - bin/cross-build-world.sh -crl xtarget xcross src/tools/cross-scripts/cross-x86-x86.lisp snapshot/bin/lisp
|
|
174
|
180
|
- bin/build.sh -b xlinux $bootstrap -R -C $CONFIG -o "xtarget/lisp/lisp -lib xtarget/lisp"
|
|
175
|
181
|
- bin/make-dist.sh -I xdist xlinux-4
|
|
176
|
182
|
|
| ... |
... |
@@ -294,7 +300,11 @@ linux:static-analyzer: |
|
294
|
300
|
needs:
|
|
295
|
301
|
- job: linux:build
|
|
296
|
302
|
artifacts: true
|
|
297
|
|
- when: manual
|
|
|
303
|
+ rules:
|
|
|
304
|
+ - if: $CI_PIPELINE_SOURCE == "schedule"
|
|
|
305
|
+ - if: $RUN_CHECKS
|
|
|
306
|
+ - when: manual
|
|
|
307
|
+ allow_failure: true
|
|
298
|
308
|
script:
|
|
299
|
309
|
# Analysis can generate huge amounts of output. For now just save
|
|
300
|
310
|
# the results to the log file instead of also having it go to the
|
| ... |
... |
@@ -354,10 +364,16 @@ markdown-link-check: |
|
354
|
364
|
# Only the linux runner has markdown-link-check installed
|
|
355
|
365
|
tags:
|
|
356
|
366
|
- linux
|
|
357
|
|
- when: manual
|
|
358
|
367
|
# It's ok if this fails; we don't want to declare the entire
|
|
359
|
368
|
# pipeline as having failed.
|
|
360
|
369
|
allow_failure: true
|
|
|
370
|
+ # This job doesn't depend on any others.
|
|
|
371
|
+ needs: []
|
|
|
372
|
+ rules:
|
|
|
373
|
+ - if: $CI_PIPELINE_SOURCE == "schedule"
|
|
|
374
|
+ - if: $RUN_CHECKS
|
|
|
375
|
+ - when: manual
|
|
|
376
|
+ allow_failure: true
|
|
361
|
377
|
script:
|
|
362
|
378
|
# Check links in the main repo
|
|
363
|
379
|
- find . -name \*.md -print0 | xargs -0 -n1 markdown-link-check
|
| ... |
... |
@@ -366,3 +382,4 @@ markdown-link-check: |
|
366
|
382
|
# https://gitlab.com/gitlab-org/gitlab/-/issues/17845.
|
|
367
|
383
|
- git clone https://gitlab.common-lisp.net/cmucl/cmucl.wiki.git
|
|
368
|
384
|
- find cmucl.wiki -name \*.md -print0 | xargs -0 -n1 markdown-link-check
|
|
|
385
|
+ |