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 77311f420a
Replaces #7591
Closes #7922
This commit is contained in:
parent
77311f420a
commit
f03cc1b7a6
@ -83,7 +83,7 @@ stages:
|
|||||||
- script: ./buildconf && ./configure --enable-warnings --enable-werror $(configure)
|
- script: ./buildconf && ./configure --enable-warnings --enable-werror $(configure)
|
||||||
displayName: 'configure $(name)'
|
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'
|
displayName: 'compile'
|
||||||
env:
|
env:
|
||||||
MAKEFLAGS: "-j 2"
|
MAKEFLAGS: "-j 2"
|
||||||
@ -191,7 +191,7 @@ stages:
|
|||||||
- script: $(container_cmd) -l -c "cd $(echo '%cd%') && ./buildconf && ./configure $(configure)"
|
- script: $(container_cmd) -l -c "cd $(echo '%cd%') && ./buildconf && ./configure $(configure)"
|
||||||
displayName: 'configure $(name)'
|
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'
|
displayName: 'compile'
|
||||||
env:
|
env:
|
||||||
MAKEFLAGS: "-j 2"
|
MAKEFLAGS: "-j 2"
|
||||||
|
|||||||
@ -36,6 +36,7 @@ commands:
|
|||||||
build:
|
build:
|
||||||
steps:
|
steps:
|
||||||
- run: make V=1
|
- run: make V=1
|
||||||
|
- run: make V=1 examples
|
||||||
|
|
||||||
test:
|
test:
|
||||||
steps:
|
steps:
|
||||||
|
|||||||
@ -57,7 +57,7 @@ freebsd_task:
|
|||||||
# esac
|
# 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; }
|
- ./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:
|
compile_script:
|
||||||
- make V=1 && cd tests && make V=1
|
- make V=1 && make V=1 examples && cd tests && make V=1
|
||||||
test_script:
|
test_script:
|
||||||
# blackhole?
|
# blackhole?
|
||||||
- sysctl net.inet.tcp.blackhole
|
- sysctl net.inet.tcp.blackhole
|
||||||
@ -122,7 +122,7 @@ windows_task:
|
|||||||
configure_script: |
|
configure_script: |
|
||||||
%container_cmd% -l -c "cd $(echo '%cd%') && ./buildconf && ./configure %configure%"
|
%container_cmd% -l -c "cd $(echo '%cd%') && ./buildconf && ./configure %configure%"
|
||||||
compile_script: |
|
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: |
|
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 .. {} \;"
|
%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: |
|
test_script: |
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user