Add initial GitLab CI support
authorPetr Štetiar <[email protected]>
Mon, 5 Jul 2021 09:02:26 +0000 (11:02 +0200)
committerPetr Štetiar <[email protected]>
Mon, 5 Jul 2021 09:02:26 +0000 (11:02 +0200)
Uses currently proof-of-concept openwrt-ci[1] in order to:

 * improve the quality of the codebase in various areas
 * decrease code review time and help merging contributions faster
 * get automagic feedback loop on various platforms and tools
   - out of tree native build on x86/64 with GCC (versions 8, 9, 10) and Clang 11
   - out of tree native x86/64 static code analysis with cppcheck and
     scan-build from Clang 11

1. https://gitlab.com/ynezz/openwrt-ci/

Signed-off-by: Petr Štetiar <[email protected]>
.gitlab-ci.yml [new file with mode: 0644]

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644 (file)
index 0000000..8e4da83
--- /dev/null
@@ -0,0 +1,5 @@
+include:
+  - remote: https://gitlab.com/ynezz/openwrt-ci/raw/master/openwrt-ci/gitlab/main.yml
+
+various native checks:
+  extends: .openwrt-native-build