aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fl.fischer@fau.de>2020-07-03 17:26:23 +0200
committerFlorian Fischer <florian.fl.fischer@fau.de>2020-07-03 17:48:42 +0200
commit336e5077156f72bd9da9c3c7b3af6d21e7223a55 (patch)
treea214dda4e26e20f6cd78c57ee273ab462bbc923a
parentb41cd0a02c3bec4099c9f632380ca3d51dddab7a (diff)
downloadchattymalloc-336e5077156f72bd9da9c3c7b3af6d21e7223a55.tar.gz
chattymalloc-336e5077156f72bd9da9c3c7b3af6d21e7223a55.zip
[gitlab-ci] add simple pipeline which builds chattymalloc and checks the code style
-rw-r--r--.gitlab-ci.yml21
1 files changed, 21 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000..e06f6b1
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,21 @@
+image: "flowdalic/debian-dev:1.4"
+
+before_script:
+ - |
+ TOOLS="cc c++ clang clang++ gcc g++ clang-tidy clang meson"
+ for tool in $TOOLS; do
+ echo "$tool version"
+ $tool --version
+ done
+
+stages:
+ - build
+ - test
+
+build:
+ stage: build
+ script: make
+
+check-format:
+ stage: test
+ script: make check \ No newline at end of file