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>
Этот коммит содержится в:
родитель
95f83c2391
Коммит
6d3672911b
@ -412,3 +412,56 @@ tumbleweed/static-analysis:
|
|||||||
when: on_failure
|
when: on_failure
|
||||||
paths:
|
paths:
|
||||||
- obj/scan
|
- 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/
|
||||||
|
Загрузка…
Ссылка в новой задаче
Block a user