Raymond Toy pushed to branch master at cmucl / cmucl Commits: ec60199f by Raymond Toy at 2025-11-09T11:30:40-08:00 Address #453: Save analyzer logs even if analyzer fails - - - - - 23ef5ca7 by Raymond Toy at 2025-11-09T11:30:40-08:00 Merge branch 'issue-453-save-analyzer-results' into 'master' Address #453: Save analyzer logs even if analyzer fails See merge request cmucl/cmucl!331 - - - - - 1 changed file: - .gitlab-ci.yml Changes: ===================================== .gitlab-ci.yml ===================================== @@ -312,7 +312,15 @@ linux:static-analyzer: # console. If someday there's less or no output, we can consider # having the logs go to the console too. - make -C build-4/lisp clean - - make -C build-4/lisp CFLAGS=-fanalyzer > analyzer.log 2>&1 + # From + # https://docs.gitlab.com/ci/yaml/script/#ignore-non-zero-exit-codes + # + # If the analyzer fails, we still want the logs to be saved. So + # ignore the failure, but also print a message so we know + # something happened. + - exit_code=0 + - make -C build-4/lisp CFLAGS=-fanalyzer > analyzer.log 2>&1 || exit_code=$? + - if [ $exit_code -ne 0 ]; then echo "Analyzer failed with code $exit_code"; fi; #### OpenSUSE jobs #### opensuse:install: View it on GitLab: https://gitlab.common-lisp.net/cmucl/cmucl/-/compare/8508d11e81ed0e1ff7887c4... -- View it on GitLab: https://gitlab.common-lisp.net/cmucl/cmucl/-/compare/8508d11e81ed0e1ff7887c4... You're receiving this email because of your account on gitlab.common-lisp.net.