mirror of
https://github.com/libssh2/libssh2.git
synced 2025-11-20 02:42:09 +03:00
12
.github/workflows/ci.yml
vendored
12
.github/workflows/ci.yml
vendored
@@ -38,6 +38,11 @@ jobs:
|
|||||||
crypto_backend: OpenSSL
|
crypto_backend: OpenSSL
|
||||||
enable_zlib_compression: 'OFF'
|
enable_zlib_compression: 'OFF'
|
||||||
build: autotools
|
build: autotools
|
||||||
|
- compiler: clang
|
||||||
|
crypto_backend: OpenSSL
|
||||||
|
enable_zlib_compression: 'ON'
|
||||||
|
build: autotools
|
||||||
|
target: 'distcheck'
|
||||||
env:
|
env:
|
||||||
CC: ${{ matrix.compiler }}
|
CC: ${{ matrix.compiler }}
|
||||||
CC_FOR_BUILD: ${{ matrix.compiler }}
|
CC_FOR_BUILD: ${{ matrix.compiler }}
|
||||||
@@ -69,11 +74,14 @@ jobs:
|
|||||||
if: ${{ matrix.build == 'autotools' }}
|
if: ${{ matrix.build == 'autotools' }}
|
||||||
run: mkdir bld && cd bld && ../configure --enable-werror --enable-debug
|
run: mkdir bld && cd bld && ../configure --enable-werror --enable-debug
|
||||||
- name: 'autotools build'
|
- name: 'autotools build'
|
||||||
if: ${{ matrix.build == 'autotools' }}
|
if: ${{ matrix.build == 'autotools' && !matrix.target }}
|
||||||
run: make -C bld -j3
|
run: make -C bld -j3
|
||||||
- name: 'autotools tests'
|
- name: 'autotools tests'
|
||||||
if: ${{ matrix.build == 'autotools' }}
|
if: ${{ matrix.build == 'autotools' && !matrix.target }}
|
||||||
run: make -C bld check VERBOSE=1
|
run: make -C bld check VERBOSE=1
|
||||||
|
- name: 'autotools distcheck'
|
||||||
|
if: ${{ matrix.target == 'distcheck' }}
|
||||||
|
run: make -C bld -j3 distcheck
|
||||||
- name: 'cmake configure'
|
- name: 'cmake configure'
|
||||||
if: ${{ matrix.build == 'cmake' }}
|
if: ${{ matrix.build == 'cmake' }}
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user