diff options
author | Tim Rühsen <tim.ruehsen@gmx.de> | 2018-03-04 21:05:03 +0100 |
---|---|---|
committer | Tim Rühsen <tim.ruehsen@gmx.de> | 2018-03-15 19:47:31 +0100 |
commit | cb511536592a62cfec63c7d3b13e9b470f760ff7 (patch) | |
tree | b59de9f91911195b884c8b716f414d559391fb0d /.gitlab-ci.yml | |
parent | 8abd74f3dc9a0482111a2fc8f99b59434f80acd9 (diff) | |
download | libmicrohttpd-cb511536592a62cfec63c7d3b13e9b470f760ff7.tar.gz libmicrohttpd-cb511536592a62cfec63c7d3b13e9b470f760ff7.zip |
Add MinGW CI build
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4d2d2032..131afe61 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml | |||
@@ -24,6 +24,7 @@ after_script: | |||
24 | variables: | 24 | variables: |
25 | BUILD_IMAGES_PROJECT: libmicrohttpd/build-images | 25 | BUILD_IMAGES_PROJECT: libmicrohttpd/build-images |
26 | DEBIAN_BUILD: buildenv-debian-stretch | 26 | DEBIAN_BUILD: buildenv-debian-stretch |
27 | MINGW_BUILD: buildenv-debian-mingw | ||
27 | GET_SOURCES_ATTEMPTS: "3" | 28 | GET_SOURCES_ATTEMPTS: "3" |
28 | CONFIGURE_BASE_FLAGS: --enable-asserts --cache-file cache/config.cache | 29 | CONFIGURE_BASE_FLAGS: --enable-asserts --cache-file cache/config.cache |
29 | CFLAGS_DEFAULT: -O0 -g -ggdb3 | 30 | CFLAGS_DEFAULT: -O0 -g -ggdb3 |
@@ -92,3 +93,11 @@ Scan-Build/Debian: | |||
92 | when: on_failure | 93 | when: on_failure |
93 | paths: | 94 | paths: |
94 | - scan-build/* | 95 | - scan-build/* |
96 | |||
97 | MinGW/Debian: | ||
98 | image: $CI_REGISTRY/$BUILD_IMAGES_PROJECT:$MINGW_BUILD | ||
99 | script: | ||
100 | - export CC="ccache $PREFIX-gcc" | ||
101 | - ./bootstrap | ||
102 | - ./configure $CONFIGURE_BASE_FLAGS --build=x86_64-pc-linux-gnu --host=$PREFIX | ||
103 | - make -j$(nproc) | ||