Summary Files Commits Branches @commit @diff @stats
path: root / .gitlab-ci.yml
diff options
context:
space:
mode:
Commit59f1c5d4dbcebc48d1d408dba0be2959d7970167 (patch)
Author
 Haelwenn (lanodan) Monnier <contact@hacktivis.me>
2020-02-04 09:14:42 +0100
Committer
 Haelwenn (lanodan) Monnier <contact@hacktivis.me>
2020-02-04 09:14:42 +0100
Files98e92b3ace336ba236e9d5e07c15648d070378c0 /.gitlab-ci.yml
goodwolf-0.5.0-rc.1.tar
goodwolf-0.5.0-rc.1.tar.gz
goodwolf-0.5.0-rc.1.zip
Parent9765887719fd5c3f784d30084111243caf90f16f (diff)
Parenteb974dcccdbcb35fa067ace053bc1fac7406b768 (diff)
Merge branch 'release-0.5' v0.5.0-rc.1
1 files changed, 37 insertions, 0 deletions
-rw-r--r--.gitlab-ci.yml37
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000..6753a20
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,37 @@
+image: archlinux/base:latest
+
+before_script:
+ - pacman -Syu --noconfirm make clang
+
+stages:
+ - lint
+ - test
+ - analysis
+
+test:
+ stage: test
+ script:
+ - pacman -Syu --noconfirm webkit2gtk pkg-config gettext gcc
+ - make CC=gcc test
+ - make clean
+ - make CC=clang test
+ - 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 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-gcc/*
+ - scan-build-clang/*