diff options
author | Anderson Toshiyuki Sasaki <ansasaki@redhat.com> | 2018-11-21 16:48:01 +0100 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2018-11-30 18:25:12 +0100 |
commit | 6d3672911bcd5fbe85967f8e16ac29aca53d6549 (patch) | |
tree | 543a48c7c2e2ac2ae5f5d55c2e351fe48224bec7 | |
parent | 95f83c2391fa52c8603f2d5471f8c0a178b08cfa (diff) | |
download | libssh-6d3672911bcd5fbe85967f8e16ac29aca53d6549.tar.gz libssh-6d3672911bcd5fbe85967f8e16ac29aca53d6549.tar.xz libssh-6d3672911bcd5fbe85967f8e16ac29aca53d6549.zip |
gitlab-ci: Added builds for native Windows
This uses a runner configured with the tag "vs2017 or windows".
Signed-off-by: Anderson Toshiyuki Sasaki <ansasaki@redhat.com>
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
-rw-r--r-- | .gitlab-ci.yml | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 826e617b..060d46a2 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -412,3 +412,56 @@ tumbleweed/static-analysis: when: on_failure paths: - obj/scan + +visualstudio/x86_64: + script: + - $env:VCPKG_DEFAULT_TRIPLET="x64-windows" + - cd obj + - cmake + -A x64 + -DCMAKE_TOOLCHAIN_FILE="$env:VCPKG_TOOLCHAIN_FILE" + -DPICKY_DEVELOPER=ON + -DWITH_SFTP=ON -DWITH_SERVER=ON -DWITH_ZLIB=ON -DWITH_PCAP=ON + -DUNIT_TESTING=ON .. + - cmake --build . + - ctest --output-on-failure + tags: + - vs2017 + - windows + except: + - tags + only: + - branches@libssh/libssh-mirror + - branches@ansasaki/libssh-mirror + - branches@cryptomilk/libssh-mirror + artifacts: + expire_in: 1 week + when: on_failure + paths: + - obj/ + +visualstudio/x86: + script: + - $env:VCPKG_DEFAULT_TRIPLET="x86-windows" + - cd obj + - cmake + -DCMAKE_TOOLCHAIN_FILE="$env:VCPKG_TOOLCHAIN_FILE" + -DPICKY_DEVELOPER=ON + -DWITH_SFTP=ON -DWITH_SERVER=ON -DWITH_ZLIB=ON -DWITH_PCAP=ON + -DUNIT_TESTING=ON .. + - cmake --build . + - ctest --output-on-failure + tags: + - vs2017 + - windows + except: + - tags + only: + - branches@libssh/libssh-mirror + - branches@ansasaki/libssh-mirror + - branches@cryptomilk/libssh-mirror + artifacts: + expire_in: 1 week + when: on_failure + paths: + - obj/ |