mirror of
https://github.com/hashcat/hashcat.git
synced 2024-12-23 23:19:09 +00:00
14 lines
474 B
YAML
14 lines
474 B
YAML
# this is a workaround because some OpenCL headers cause problems with older gcc compilers (undefined macro: _WIN32)
|
|
before_install:
|
|
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then sed -i "" 's/if _WIN32/if defined (_WIN32)/' deps/OpenCL-Headers/CL/cl_platform.h; fi
|
|
- if [[ "$TRAVIS_OS_NAME" != "osx" ]]; then sed -i 's/if _WIN32/if defined (_WIN32)/' deps/OpenCL-Headers/CL/cl_platform.h; fi
|
|
os:
|
|
- linux
|
|
- osx
|
|
language: c
|
|
compiler:
|
|
- clang
|
|
- gcc
|
|
script:
|
|
- make
|