with:
persist-credentials: false
- - name: 'cmake build-only (out-of-tree)'
+ - name: 'cmake build-only configure (out-of-tree)'
run: |
mkdir bld-1
cd bld-1
cmake .. -DCMAKE_UNITY_BUILD=ON -DCURL_WERROR=ON -DBUILD_SHARED_LIBS=ON \
-DCURL_USE_GNUTLS=ON -DENABLE_ARES=OFF -DCURL_ZSTD=OFF -DCURL_USE_GSSAPI=OFF -DCURL_USE_LIBSSH2=OFF -DCURL_USE_LIBSSH=OFF -DUSE_LIBRTMP=ON
- VERBOSE=1 make install
- src/curl --disable --version
+
+ - name: 'cmake build-only build'
+ run: VERBOSE=1 make -C bld-1 install
+
+ - name: 'cmake build-only curl -V'
+ run: bld-1/src/curl --disable --version
- name: 'cmake build-only configure log'
if: ${{ !cancelled() }}
grep -F '#define' bld-cares/lib/curl_config.h | sort || true
- name: 'cmake build'
- run: |
- make -C bld-cares
- bld-cares/src/curl --disable --version
+ run: make -C bld-cares
+
+ - name: 'cmake curl -V'
+ run: bld-cares/src/curl --disable --version
- name: 'cmake install'
run: make -C bld-cares install
run: make -C bld-cares curl-examples-build
- name: 'autoreconf'
- run: autoreconf -if
+ run: autoreconf -fi
- name: 'autotools configure (out-of-tree, c-ares, zstd, gssapi)'
run: |
grep -F '#define' bld-am/lib/curl_config.h | sort || true
- name: 'autotools build'
- run: |
- make -C bld-am
- bld-am/src/curl --disable --version
+ run: make -C bld-am
+
+ - name: 'autotools curl -V'
+ run: bld-am/src/curl --disable --version
- name: 'autotools install'
run: make -C bld-am install
make -C bld V=1 install
fi
- - name: 'curl version'
+ - name: 'curl -V'
timeout-minutes: 1
run: |
PATH=/usr/bin
make -C bld V=1 install
fi
- - name: 'curl version'
+ - name: 'curl -V'
timeout-minutes: 1
run: |
if [ "${MATRIX_BUILD}" = 'cmake' ]; then
PATH="/d/my-cache/${MATRIX_DIR}/bin:$PATH"
cmake --build bld
- - name: 'curl version'
+ - name: 'curl -V'
timeout-minutes: 1
run: |
/usr/bin/find . \( -name '*.exe' -o -name '*.dll' -o -name '*.a' \) -exec file '{}' \;
timeout-minutes: 5
run: cmake --build bld --config "${MATRIX_TYPE}" --parallel 5
- - name: 'curl version'
+ - name: 'curl -V'
timeout-minutes: 1
run: |
/usr/bin/find . \( -name '*.exe' -o -name '*.dll' -o -name '*.lib' -o -name '*.pdb' \) -exec file '{}' \;