commit: add21f1aa1daac01ad155bd808bfef3e9753448d
parent: 06b34a53c2c7af02fbc673d53b5c13f40c2933a6
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Mon, 16 Dec 2019 01:52:58 +0100
.gitlab-ci.yml: test both gcc and clang
Diffstat:
1 file changed, 9 insertions(+), 4 deletions(-)
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
@@ -11,7 +11,9 @@ stages:
make:
stage: build
script:
- - pacman -Syu --noconfirm webkit2gtk pkg-config gettext
+ - pacman -Syu --noconfirm webkit2gtk pkg-config gettext gcc
+ - make CC=gcc
+ - make clean
- make CC=clang
- make install
@@ -25,8 +27,11 @@ format:
scan-build:
stage: analysis
script:
- - pacman -Syu --noconfirm webkit2gtk pkg-config gettext
- - scan-build -o scan-build make
+ - pacman -Syu --noconfirm webkit2gtk pkg-config gettext gcc
+ - scan-build --use-cc=gcc -o scan-build-gcc make
+ - make clean
+ - scan-build --use-cc=clang -o scan-build-clang make
artifacts:
paths:
- - scan-build/*
+ - scan-build-gcc/*
+ - scan-build-clang/*