mirror of
https://github.com/avast/retdec.git
synced 2025-02-17 12:20:11 +00:00
Fix grammar in .appveyor.yml and .travis.yml files.
This commit is contained in:
parent
4b66a11dba
commit
1db0cb6379
@ -21,26 +21,28 @@ before_build:
|
||||
|
||||
build_script:
|
||||
- cmd: cmake --build . --config Release -- /m
|
||||
# Get wget, etc. needed for install step. If we do this earlier, build step fails.
|
||||
# Otherwise, we could use `cmake --build . --config Release --target install -- -m` and save a few seconds.
|
||||
# Get wget, etc. needed for the install step. If we do this earlier, the build
|
||||
# step fails.
|
||||
# Otherwise, we could use `cmake --build . --config Release --target install -- -m`
|
||||
# and save a few seconds.
|
||||
- set Path=C:\msys64\usr\bin;C:\msys64\mingw64\bin;%Path%
|
||||
- cmd: cmake --build . --config Release --target install
|
||||
|
||||
test_script:
|
||||
# Test that install is movable and that it does not need build directory.
|
||||
# Check that install is movable and that it does not need the build directory.
|
||||
- cmd: mv install ../retdec-install
|
||||
- cmd: cd ..
|
||||
# Run unit tests.
|
||||
- cmd: C:\msys64\usr\bin\bash.exe retdec-install\bin\retdec-tests-runner.sh
|
||||
# Run decompilation script.
|
||||
# Run the decompilation script.
|
||||
- cmd: C:\msys64\usr\bin\bash.exe retdec-install\bin\retdec-decompiler.sh --help
|
||||
# Run simple decompilation.
|
||||
# Run a simple decompilation.
|
||||
- cmd: C:\msys64\usr\bin\echo.exe -e "#include <stdio.h>\n#include <stdlib.h>\nint main()\n{\n printf(\"hello world\\\n\");\n return 0;\n}\n" > hello-orig.c
|
||||
- cmd: cat hello-orig.c
|
||||
# Make sure 32-bit gcc will be used.
|
||||
# Make sure 32-bit GCC will be used.
|
||||
- set Path=C:\MinGW\bin;%Path%
|
||||
- cmd: gcc.exe -o hello.exe hello-orig.c
|
||||
# Prefer msys64 after we used 32-bit compiler.
|
||||
# Prefer msys64 after we have used 32-bit GCC.
|
||||
- set Path=C:\msys64\usr\bin;C:\msys64\mingw64\bin;%Path%
|
||||
- cmd: hello.exe
|
||||
- cmd: C:\msys64\usr\bin\bash.exe retdec-install\bin\retdec-decompiler.sh hello.exe
|
||||
|
10
.travis.yml
10
.travis.yml
@ -66,26 +66,26 @@ before_script:
|
||||
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then export PATH="$(brew --prefix coreutils)/libexec/gnubin:$PATH"; fi
|
||||
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then ln -s /usr/local/bin/greadlink /usr/local/bin/readlink; fi
|
||||
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then export PATH="/usr/local/opt/gnu-getopt/bin:$PATH"; fi
|
||||
# We need to add ccache before everything else in PATH.
|
||||
# We need to add ccache before everything else into PATH.
|
||||
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then export PATH="/usr/local/opt/ccache/libexec:$PATH"; fi
|
||||
|
||||
script:
|
||||
- mkdir build && cd build
|
||||
# We use "-O0" to speed-up build.
|
||||
# We use "-O0" to speed up the build.
|
||||
# "-O0" causes segfaults in LLVM if we do not use "-DNDEBUG" as well.
|
||||
- cmake -DCMAKE_CXX_FLAGS_RELEASE="-O0 -DNDEBUG" -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX="$(pwd)/install" -DRETDEC_TESTS=ON -DRETDEC_DEV_TOOLS=ON ..
|
||||
- time make install -j $NPROC
|
||||
# Test that install is movable and that it does not need build directory.
|
||||
# Check that install is movable and that it does not need the build directory.
|
||||
- mv install ../retdec-install
|
||||
- cd ..
|
||||
- rm -rf build
|
||||
# Run unit tests.
|
||||
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then /usr/local/bin/bash retdec-install/bin/retdec-tests-runner.sh; fi
|
||||
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then ./retdec-install/bin/retdec-tests-runner.sh; fi
|
||||
# Run decompilation script.
|
||||
# Run the decompilation script.
|
||||
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then /usr/local/bin/bash retdec-install/bin/retdec-decompiler.sh --help; fi
|
||||
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then ./retdec-install/bin/retdec-decompiler.sh --help; fi
|
||||
# Run simple decompilation.
|
||||
# Run a simple decompilation.
|
||||
- echo -e '#include <stdio.h>\n#include <stdlib.h>\nint main()\n{\n printf("hello world\\n");\n return 0;\n}\n' > hello-orig.c
|
||||
- cat hello-orig.c
|
||||
- gcc -m32 -o hello hello-orig.c
|
||||
|
Loading…
x
Reference in New Issue
Block a user