mirror of
https://github.com/hashcat/hashcat.git
synced 2024-11-24 00:51:05 +00:00
43 lines
1.8 KiB
YAML
43 lines
1.8 KiB
YAML
environment:
|
|
CYG_MIRROR: http://cygwin.mirror.constant.com
|
|
CYG_PACKAGES: make,gcc-core,clang
|
|
matrix:
|
|
- CYG_ROOT: C:\cygwin64
|
|
CYG_CACHE: C:\cygwin64\var\cache\setup
|
|
CYG_SETUP: setup-x86_64.exe
|
|
BASH: C:\cygwin64\bin\bash
|
|
CC: gcc
|
|
- CYG_ROOT: C:\cygwin
|
|
CYG_CACHE: C:\cygwin\var\cache\setup
|
|
CYG_SETUP: setup-x86.exe
|
|
BASH: C:\cygwin\bin\bash
|
|
CC: gcc
|
|
- MSYSTEM: MINGW64
|
|
BASH: C:\msys64\usr\bin\bash
|
|
MSYS_CACHE: C:\msys64\var\cache\pacman\pkg
|
|
CC: gcc
|
|
- MSYSTEM: MINGW32
|
|
BASH: C:\msys64\usr\bin\bash
|
|
MSYS_CACHE: C:\msys64\var\cache\pacman\pkg
|
|
CC: gcc
|
|
|
|
clone_depth: 1
|
|
|
|
# Attempt to ensure we don't try to convert line endings to Win32 CRLF as this will cause build to fail
|
|
init:
|
|
- git config --global core.autocrlf input
|
|
# Allows RDP
|
|
# - ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
|
|
|
|
# Install needed build dependencies
|
|
install:
|
|
- ps: if (Test-Path Env:\CYG_ROOT) { Start-FileDownload "http://cygwin.com/$env:CYG_SETUP" -FileName "$env:CYG_SETUP" }
|
|
- if defined CYG_ROOT (%CYG_SETUP% --quiet-mode --no-shortcuts --only-site --root "%CYG_ROOT%" --site "%CYG_MIRROR%" --local-package-dir "%CYG_CACHE%" --packages "%CYG_PACKAGES%" --upgrade-also)
|
|
- if defined MSYSTEM (%BASH% -lc "pacman -Suuy --noconfirm")
|
|
- if defined MSYSTEM (%BASH% -lc "pacman -Suuy --noconfirm")
|
|
build_script:
|
|
- if defined BASH (%BASH% -lc "cd $(cygpath ${APPVEYOR_BUILD_FOLDER}) && git submodule update --init && make")
|
|
# Allows RDP
|
|
#on_finish:
|
|
# - ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
|