ci: build with clang and scan-build

ref: https://gitlab.alpinelinux.org/alpine/abuild/-/issues/10102
This commit is contained in:
Natanael Copa 2023-10-17 18:10:41 +02:00
parent a6a95ad633
commit 4128fa6392
1 changed files with 21 additions and 1 deletions

View File

@ -5,7 +5,27 @@ tests:
image:
name: alpinelinux/abuild-ci
stage: verify
script: [pwd]
script:
- make
- make check
tags:
- docker-alpine
- x86_64
build-clang:
image:
name: alpinelinux/abuild-ci
stage: verify
script: [CC=clang make]
tags:
- docker-alpine
- x86_64
build-scan:
image:
name: alpinelinux/abuild-ci
stage: verify
script: [scan-build --status-bugs make]
tags:
- docker-alpine
- x86_64