Raymond Toy pushed to branch issue-334-add-wiki-link-checker at cmucl / cmucl

Commits:

1 changed file:

Changes:

  • .gitlab-ci.yml
    ... ... @@ -10,6 +10,7 @@ stages:
    10 10
       - test
    
    11 11
       - ansi-test
    
    12 12
       - benchmark
    
    13
    +  - link-check
    
    13 14
     
    
    14 15
     cache:
    
    15 16
     
    
    ... ... @@ -193,24 +194,16 @@ osx:benchmark:
    193 194
         - ../../snapshot/bin/lisp -load report
    
    194 195
     
    
    195 196
     # From https://github.com/tcort/markdown-link-check
    
    197
    +# Checks links on the wiki pages whenever any wiki markdown pages change. 
    
    196 198
     linkchecker:
    
    197
    -  stage: test
    
    199
    +  stage: link-check
    
    198 200
       image:
    
    199 201
         name: ghcr.io/tcort/markdown-link-check:3.11.2
    
    200 202
         entrypoint: ["/bin/sh", "-c"]
    
    201 203
       script:
    
    204
    +    # Check links in the main repo
    
    202 205
         - find . -name \*.md -print0 | xargs -0 -n1 markdown-link-check
    
    203
    -  rules:
    
    204
    -    - changes:
    
    205
    -      - "**/*.md"
    
    206
    -
    
    207
    -# Checks links on the wiki pages whenever any wiki markdown pages change. 
    
    208
    -wikilinkchecker:
    
    209
    -  stage: test
    
    210
    -  image:
    
    211
    -    name: ghcr.io/tcort/markdown-link-check:3.11.2
    
    212
    -    entrypoint: ["/bin/sh", "-c"]
    
    213
    -  script:
    
    206
    +    # Clone the wiki pages and check the links there.
    
    214 207
         - git clone https://gitlab.common-lisp.net/cmucl/cmucl.wiki.git
    
    215 208
         - cd cmucl.wiki
    
    216
    -    - find . -name \*.md -print0 | xargs -0 -n1 markdown-link-check
    \ No newline at end of file
    209
    +    - find . -name \*.md -print0 | xargs -0 -n1 markdown-link-check