summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-02-14 16:40:42 -0300
committerJesusaves <cpntb1@ymail.com>2021-02-14 16:40:42 -0300
commitea9381a8ddd6d16d0958a10b28cdf68394680dc8 (patch)
treee0b783bb9bac4d625beed2503fcc9a3db4bbfa65
parentfcfe55a1a9a9b1bf1b9e8c5f38495ab7888bb351 (diff)
downloadevol-hercules-ea9381a8ddd6d16d0958a10b28cdf68394680dc8.tar.gz
evol-hercules-ea9381a8ddd6d16d0958a10b28cdf68394680dc8.tar.bz2
evol-hercules-ea9381a8ddd6d16d0958a10b28cdf68394680dc8.tar.xz
evol-hercules-ea9381a8ddd6d16d0958a10b28cdf68394680dc8.zip
Meh, give up and copy-paste Evol's CI scripts
-rw-r--r--.gitlab-ci.yml81
-rwxr-xr-xtools/ci/jobs/clang10.sh18
2 files changed, 65 insertions, 34 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index f4277cc..52d82b1 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -12,13 +12,13 @@ gcc-snapshot:
stage: build
script:
- ./tools/ci/jobs/gccsnapshot.sh --enable-werror
- image: debian:buster
+ image: debian:unstable
gcc-snapshot-i386:
stage: build
script:
- ./tools/ci/jobs/gccsnapshot.sh --enable-werror
- image: i386/debian:buster
+ image: i386/debian:unstable
gcc-4.8:
stage: build
@@ -48,73 +48,86 @@ gcc-6-i386:
stage: build
script:
- ./tools/ci/jobs/gcc7.sh --enable-werror
- image: debian:buster
+ image: debian:unstable
.gcc-7-i386:
stage: build
script:
- ./tools/ci/jobs/gcc7.sh --enable-werror
- image: i386/debian:buster
+ image: i386/debian:unstable
gcc-8:
stage: build
script:
- ./tools/ci/jobs/gcc8.sh --enable-werror
- image: debian:buster
+ image: debian:unstable
-.gcc-8-i386:
+gcc-8-i386:
stage: build
script:
- ./tools/ci/jobs/gcc8.sh --enable-werror
- image: i386/debian:buster
+ image: i386/debian:unstable
gcc-9:
stage: build
script:
- ./tools/ci/jobs/gcc9.sh --enable-werror
- image: debian:buster
+ image: debian:unstable
gcc-9-i386:
stage: build
script:
- ./tools/ci/jobs/gcc9.sh --enable-werror
- image: i386/debian:buster
+ image: i386/debian:unstable
-clang-6:
+.clang-6:
stage: build
script:
- ./tools/ci/jobs/clang6.sh --enable-werror
- image: debian:buster
+ image: debian:unstable
.clang-6-i386:
stage: build
script:
- ./tools/ci/jobs/clang6.sh --enable-werror
- image: i386/debian:buster
+ image: i386/debian:unstable
-clang-7:
+.clang-7:
stage: build
script:
- ./tools/ci/jobs/clang7.sh --enable-werror
- image: debian:buster
+ image: debian:unstable
.clang-7-i386:
stage: build
script:
- ./tools/ci/jobs/clang7.sh --enable-werror
- image: i386/debian:buster
+ image: i386/debian:unstable
-clang-8:
+.clang-8:
stage: build
script:
- ./tools/ci/jobs/clang8.sh --enable-werror
- image: debian:buster
+ image: debian:unstable
-clang-8-i386:
+.clang-8-i386:
stage: build
script:
- ./tools/ci/jobs/clang8.sh --enable-werror
- image: i386/debian:buster
+ image: i386/debian:unstable
+
+clang-10:
+ stage: build
+ script:
+ - ./tools/ci/jobs/clang10.sh --enable-werror
+ image: debian:unstable
+
+clang-10-i386:
+ stage: build
+ script:
+ - ./tools/ci/jobs/clang10.sh --enable-werror
+ image: i386/debian:unstable
+
# tests
@@ -122,13 +135,13 @@ gcc-snapshot_lto-sanitize:
stage: test
script:
- ./tools/ci/jobs/gccsnapshot.sh --enable-werror --enable-lto --enable-sanitize
- image: debian:buster
+ image: debian:unstable
gcc-snapshot-sanitize:
stage: test
script:
- ./tools/ci/jobs/gccsnapshot.sh --enable-werror --enable-sanitize
- image: debian:buster
+ image: debian:unstable
gcc-4.8-sanitize:
stage: test
@@ -147,7 +160,7 @@ gcc-4.9-sanitize:
stage: test
script:
- ./tools/ci/jobs/gcc5.sh --enable-werror --enable-sanitize
- image: debian:buster
+ image: debian:unstable
gcc-6-sanitize:
stage: test
@@ -159,19 +172,19 @@ gcc-6-sanitize:
stage: test
script:
- ./tools/ci/jobs/gcc7.sh --enable-werror --enable-sanitize
- image: debian:buster
+ image: debian:unstable
gcc-8-sanitize:
stage: test
script:
- ./tools/ci/jobs/gcc8.sh --enable-werror --enable-sanitize
- image: debian:buster
+ image: debian:unstable
gcc-9-sanitize:
stage: test
script:
- ./tools/ci/jobs/gcc9.sh --enable-werror --enable-sanitize
- image: debian:buster
+ image: debian:unstable
gcc-4.9_lto-sanitize:
stage: test
@@ -183,7 +196,7 @@ gcc-4.9_lto-sanitize:
stage: test
script:
- ./tools/ci/jobs/gcc5.sh --enable-werror --enable-lto --enable-sanitize
- image: debian:buster
+ image: debian:unstable
gcc-6_lto-sanitize:
stage: test
@@ -195,19 +208,19 @@ gcc-6_lto-sanitize:
stage: test
script:
- ./tools/ci/jobs/gcc7.sh --enable-werror --enable-lto --enable-sanitize
- image: debian:buster
+ image: debian:unstable
gcc-8_lto-sanitize:
stage: test
script:
- ./tools/ci/jobs/gcc8.sh --enable-werror --enable-lto --enable-sanitize
- image: debian:buster
+ image: debian:unstable
gcc-9_lto-sanitize:
stage: test
script:
- ./tools/ci/jobs/gcc9.sh --enable-werror --enable-lto --enable-sanitize
- image: debian:buster
+ image: debian:unstable
gcc-4.8-lto:
stage: test
@@ -225,7 +238,7 @@ gcc-4.9-lto:
stage: test
script:
- ./tools/ci/jobs/gcc5.sh --enable-werror --enable-lto
- image: debian:buster
+ image: debian:unstable
gcc-6_lto:
stage: test
@@ -237,19 +250,19 @@ gcc-6_lto:
stage: test
script:
- ./tools/ci/jobs/gcc7.sh --enable-werror --enable-lto
- image: debian:buster
+ image: debian:unstable
gcc-8_lto:
stage: test
script:
- ./tools/ci/jobs/gcc8.sh --enable-werror --enable-lto
- image: debian:buster
+ image: debian:unstable
gcc-9_lto:
stage: test
script:
- ./tools/ci/jobs/gcc9.sh --enable-werror --enable-lto
- image: debian:buster
+ image: debian:unstable
# disabled due not support -std=c11
.gcc-4.6:
@@ -271,7 +284,7 @@ gcc-4.8_stable_lto-sanitize:
stage: legacy
script:
- ./tools/ci/jobs/gcc5.sh --enable-werror --enable-lto --enable-sanitize
- image: debian:buster
+ image: debian:unstable
gcc-6_unstable_lto-sanitize:
stage: legacy
diff --git a/tools/ci/jobs/clang10.sh b/tools/ci/jobs/clang10.sh
new file mode 100755
index 0000000..df894ae
--- /dev/null
+++ b/tools/ci/jobs/clang10.sh
@@ -0,0 +1,18 @@
+#!/usr/bin/env bash
+
+export CC=clang-10
+export CXX=clang++-10
+export LOGFILE=clang10.log
+
+source ./tools/ci/scripts/init.sh
+
+aptget_install clang-10 \
+ git-core \
+ make autoconf automake autopoint \
+ libtool libmysqlclient-dev libz-dev libpcre3-dev
+
+do_init
+build_init
+
+run_configure $*
+run_make