appveyor: use just 'make' instead of 'make install' (which is not supported on windows)

pull/1500/head
philsmd 6 years ago
parent a9d5f571b7
commit 67ff9f73fa
No known key found for this signature in database
GPG Key ID: 4F25D016D9D6A8AF

@ -1,7 +1,6 @@
environment: environment:
CYG_MIRROR: http://cygwin.mirror.constant.com CYG_MIRROR: http://cygwin.mirror.constant.com
CYG_PACKAGES: make,gcc-core,libiconv-devel CYG_PACKAGES: make,gcc-core,libiconv-devel
DOCUMENT_FOLDER: /share/doc/hashcat
matrix: matrix:
- CYG_ROOT: C:\cygwin64 - CYG_ROOT: C:\cygwin64
CYG_CACHE: C:\cygwin64\var\cache\setup CYG_CACHE: C:\cygwin64\var\cache\setup
@ -15,12 +14,10 @@ environment:
CC: gcc CC: gcc
- MSYSTEM: MINGW64 - MSYSTEM: MINGW64
MSYS_CACHE: C:\msys64\var\cache\pacman\pkg MSYS_CACHE: C:\msys64\var\cache\pacman\pkg
KERNEL_CACHE: C:\msys64\usr\local\bin\OpenCL\
BASH: C:\msys64\usr\bin\bash BASH: C:\msys64\usr\bin\bash
CC: gcc CC: gcc
- MSYSTEM: MINGW32 - MSYSTEM: MINGW32
MSYS_CACHE: C:\msys64\var\cache\pacman\pkg MSYS_CACHE: C:\msys64\var\cache\pacman\pkg
KERNEL_CACHE: C:\msys64\usr\local\bin\OpenCL\
BASH: C:\msys64\usr\bin\bash BASH: C:\msys64\usr\bin\bash
CC: gcc CC: gcc
@ -42,23 +39,20 @@ install:
- if defined MSYSTEM (%BASH% -lc "pacman -Suuy --noconfirm") - if defined MSYSTEM (%BASH% -lc "pacman -Suuy --noconfirm")
build_script: build_script:
- if defined BASH (%BASH% -lc "cd $(cygpath ${APPVEYOR_BUILD_FOLDER}) && git submodule update --init && make install") - if defined BASH (%BASH% -lc "cd $(cygpath ${APPVEYOR_BUILD_FOLDER}) && git submodule update --init && make")
test_script: test_script:
# some file globbing tests # some file globbing tests
# 1. hash file should not exist and therefore hashcat should complain (if it does not there might be a problem) # 1. hash file should not exist and therefore hashcat should complain (if it does not there might be a problem)
# 2. hash file should expand to example0.hash and succeed # 2. hash file should expand to example0.hash and succeed
- ps: >- - ps: >-
if (Test-Path Env:\MSYSTEM) cd $env:APPVEYOR_BUILD_FOLDER
{
mkdir $env:KERNEL_CACHE 2>&1 | out-null
}
& $env:BASH -lc "hashcat.exe -m 0 --show $env:DOCUMENT_FOLDER/*file_not_found.hash" 2>&1 | out-null & $env:BASH -c "./hashcat.exe -m 0 --show *file_not_found.hash" 2>&1 | out-null
if ($LastExitCode -eq 0) if ($LastExitCode -eq 0)
{ {
throw "test failed" throw "test failed"
} }
& $env:BASH -lc "hashcat.exe -m 0 --show $env:DOCUMENT_FOLDER/*ple0.hash" & $env:BASH -c "./hashcat.exe -m 0 --show *ple0.hash"

Loading…
Cancel
Save