Raymond Toy pushed to branch master at cmucl / cmucl

Commits:

1 changed file:

Changes:

  • .gitlab-ci.yml
    ... ... @@ -312,7 +312,15 @@ linux:static-analyzer:
    312 312
         # console.  If someday there's less or no output, we can consider
    
    313 313
         # having the logs go to the console too.
    
    314 314
         - make -C build-4/lisp clean
    
    315
    -    - make -C build-4/lisp CFLAGS=-fanalyzer > analyzer.log 2>&1 
    
    315
    +    # From
    
    316
    +    # https://docs.gitlab.com/ci/yaml/script/#ignore-non-zero-exit-codes
    
    317
    +    #
    
    318
    +    # If the analyzer fails, we still want the logs to be saved.  So
    
    319
    +    # ignore the failure, but also print a message so we know
    
    320
    +    # something happened.
    
    321
    +    - exit_code=0
    
    322
    +    - make -C build-4/lisp CFLAGS=-fanalyzer > analyzer.log 2>&1 || exit_code=$?
    
    323
    +    - if [ $exit_code -ne 0 ]; then echo "Analyzer failed with code $exit_code"; fi;
    
    316 324
     
    
    317 325
     #### OpenSUSE jobs ####
    
    318 326
     opensuse:install: