blob: 7893114c2c24eb68497530e4bb302abd82884804 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
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/*
|