image: archlinux/base:latest before_script: - pacman -Syu --noconfirm make clang stages: - lint - build - analysis make: stage: build script: - pacman -Syu --noconfirm webkit2gtk pkg-config gettext - make CC=clang - make install format: stage: lint script: - pacman -Syu --noconfirm git - make format - git diff --exit-code scan-build: stage: analysis script: - pacman -Syu --noconfirm webkit2gtk pkg-config gettext - scan-build -o scan-build make artifacts: paths: - scan-build/*