mirror of
https://github.com/libssh2/libssh2.git
synced 2025-11-20 02:42:09 +03:00
ci: merge make job into msys2 section, enable zlib + openssl
Follow up to dd62576627
Cherry-picked from #1030
This commit is contained in:
17
.github/workflows/ci.yml
vendored
17
.github/workflows/ci.yml
vendored
@@ -115,6 +115,7 @@ jobs:
|
|||||||
- { build: 'autotools', sys: clang64, env: clang-x86_64 }
|
- { build: 'autotools', sys: clang64, env: clang-x86_64 }
|
||||||
- { build: 'cmake' , sys: ucrt64, env: ucrt-x86_64 }
|
- { build: 'cmake' , sys: ucrt64, env: ucrt-x86_64 }
|
||||||
- { build: 'cmake' , sys: clang64, env: clang-x86_64 }
|
- { build: 'cmake' , sys: clang64, env: clang-x86_64 }
|
||||||
|
- { build: 'make' , sys: mingw64, env: x86_64 }
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
@@ -179,21 +180,13 @@ jobs:
|
|||||||
timeout-minutes: 10
|
timeout-minutes: 10
|
||||||
shell: msys2 {0}
|
shell: msys2 {0}
|
||||||
run: cd bld && ctest -VV --output-on-failure
|
run: cd bld && ctest -VV --output-on-failure
|
||||||
|
- name: 'make build'
|
||||||
build_msys2_gnu_make:
|
if: ${{ matrix.build == 'make' }}
|
||||||
name: 'msys2 (mingw64, x86_64, Makefile.mk)'
|
|
||||||
runs-on: windows-latest
|
|
||||||
timeout-minutes: 10
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v3
|
|
||||||
- uses: msys2/setup-msys2@v2
|
|
||||||
with:
|
|
||||||
msystem: mingw64
|
|
||||||
install: mingw-w64-x86_64-cc make
|
|
||||||
- name: 'Makefile.mk build'
|
|
||||||
env:
|
env:
|
||||||
CPPFLAGS: -DLIBSSH2_NO_MD5 -DLIBSSH2_NO_HMAC_RIPEMD -DLIBSSH2_NO_DSA -DLIBSSH2_NO_AES_CTR -DLIBSSH2_NO_BLOWFISH -DLIBSSH2_NO_RC4 -DLIBSSH2_NO_CAST -DLIBSSH2_NO_3DES
|
CPPFLAGS: -DLIBSSH2_NO_MD5 -DLIBSSH2_NO_HMAC_RIPEMD -DLIBSSH2_NO_DSA -DLIBSSH2_NO_AES_CTR -DLIBSSH2_NO_BLOWFISH -DLIBSSH2_NO_RC4 -DLIBSSH2_NO_CAST -DLIBSSH2_NO_3DES
|
||||||
LIBSSH2_CPPFLAGS_LIB: -DLIBSSH2_EXPORTS
|
LIBSSH2_CPPFLAGS_LIB: -DLIBSSH2_EXPORTS
|
||||||
|
ZLIB_PATH: /${{ matrix.sys }}
|
||||||
|
OPENSSL_PATH: /${{ matrix.sys }}
|
||||||
shell: msys2 {0}
|
shell: msys2 {0}
|
||||||
run: mkdir bld && cd bld && BLD_DIR=bld make -C .. -j3 -f Makefile.mk dyn example test
|
run: mkdir bld && cd bld && BLD_DIR=bld make -C .. -j3 -f Makefile.mk dyn example test
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user