summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Hoersken <info@marc-hoersken.de>2021-12-14 07:53:39 +0100
committerMarc Hoersken <info@marc-hoersken.de>2021-12-14 07:53:39 +0100
commitf03cc1b7a693b03eddfed2b4c7f8b5fcba9a22e5 (patch)
treea121e02e81f4dbafd8eec9a2c471db2c691dc40c
parent77311f420a541a0de5b3014e0e40ff8b4205d4af (diff)
downloadcurl-f03cc1b7a693b03eddfed2b4c7f8b5fcba9a22e5.tar.gz
CI: build examples for additional code verification
Some CIs already build them, let's do it on more of them. Reviewed-by: Daniel Stenberg Follow up to #7690 and 77311f420a541a0de5b3014e0e40ff8b4205d4af Replaces #7591 Closes #7922
-rw-r--r--.azure-pipelines.yml4
-rw-r--r--.circleci/config.yml1
-rw-r--r--.cirrus.yml4
3 files changed, 5 insertions, 4 deletions
diff --git a/.azure-pipelines.yml b/.azure-pipelines.yml
index 56b9d3ff9..6f194c33f 100644
--- a/.azure-pipelines.yml
+++ b/.azure-pipelines.yml
@@ -83,7 +83,7 @@ stages:
- script: ./buildconf && ./configure --enable-warnings --enable-werror $(configure)
displayName: 'configure $(name)'
- - script: make V=1 && cd tests && make V=1
+ - script: make V=1 && make V=1 examples && cd tests && make V=1
displayName: 'compile'
env:
MAKEFLAGS: "-j 2"
@@ -191,7 +191,7 @@ stages:
- script: $(container_cmd) -l -c "cd $(echo '%cd%') && ./buildconf && ./configure $(configure)"
displayName: 'configure $(name)'
- - script: $(container_cmd) -l -c "cd $(echo '%cd%') && make V=1 && cd tests && make V=1"
+ - script: $(container_cmd) -l -c "cd $(echo '%cd%') && make V=1 && make V=1 examples && cd tests && make V=1"
displayName: 'compile'
env:
MAKEFLAGS: "-j 2"
diff --git a/.circleci/config.yml b/.circleci/config.yml
index 3c0ad67c8..fd0ef0fb6 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -36,6 +36,7 @@ commands:
build:
steps:
- run: make V=1
+ - run: make V=1 examples
test:
steps:
diff --git a/.cirrus.yml b/.cirrus.yml
index a719f8c76..c1d7fdaee 100644
--- a/.cirrus.yml
+++ b/.cirrus.yml
@@ -57,7 +57,7 @@ freebsd_task:
# esac
- ./configure --prefix="${HOME}"/install --enable-debug --with-openssl --with-libssh2 --with-brotli --with-gssapi --with-libidn2 --enable-manual --enable-ldap --enable-ldaps --with-librtmp --with-libpsl --with-nghttp2 || { tail -300 config.log; false; }
compile_script:
- - make V=1 && cd tests && make V=1
+ - make V=1 && make V=1 examples && cd tests && make V=1
test_script:
# blackhole?
- sysctl net.inet.tcp.blackhole
@@ -122,7 +122,7 @@ windows_task:
configure_script: |
%container_cmd% -l -c "cd $(echo '%cd%') && ./buildconf && ./configure %configure%"
compile_script: |
- %container_cmd% -l -c "cd $(echo '%cd%') && make V=1 && cd tests && make V=1"
+ %container_cmd% -l -c "cd $(echo '%cd%') && make V=1 && make V=1 examples && cd tests && make V=1"
install_script: |
%container_cmd% -l -c "cd $(echo '%cd%') && make V=1 install && PATH=/usr/bin:/bin find . -type f -path '*/.libs/*.exe' -print -execdir mv -t .. {} \;"
test_script: |