Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- fast_finish: false
- platform:
- - x64
- - x86
- configuration:
- - Debug
- - Release
- environment:
- matrix:
- - COMPILER: "gcc"
- PLATFORM: "mingw64"
- - COMPILER: "gcc"
- PLATFORM: "mingw32"
- - COMPILER: "gcc"
- PLATFORM: "clang"
- install:
- - ECHO Installing %COMPILER% %PLATFORM% %CONFIGURATION%
- - MKDIR bin
- - if [%COMPILER%]==[gcc] SET PATH_ORIGINAL=%PATH%
- - if [%COMPILER%]==[gcc] (
- SET "PATH_MINGW32=c:\MinGW\bin;c:\MinGW\usr\bin" &&
- SET "PATH_MINGW64=C:\mingw-w64\x86_64-8.1.0-posix-seh-rt_v6-rev0\bin;c:\msys64\usr\bin" &&
- COPY C:\MinGW\bin\mingw32-make.exe C:\MinGW\bin\make.exe &&
- COPY C:\MinGW\bin\gcc.exe C:\MinGW\bin\cc.exe
- )
- build_script:
- - mkdir build
- - cd build
- - cmake ..
- - cmake --build . --target all
- - if [%APPVEYOR_REPO_TAG%] 7z a -tzip -mx0 -r0 %APPVEYOR_PROJECT_NAME%-%PLATFORM%-%APPVEYOR_REPO_TAG_NAME% .\bin
- test_script:
- - ctest --output-on-failure
- artifacts:
- - path:
- - path:
- deploy:
- - provider: GitHub
- artifact: bin\lz4_x64.zip
- auth_token:
- secure: w6UJaGie0qbZvffr/fqyhO/Vj8rMiQWnv9a8qm3gxfngdHDTMT42wYupqJpIExId
- force_update: true
- prerelease: true
- on:
- COMPILER: gcc
- PLATFORM: "mingw64"
- appveyor_repo_tag: true
- - provider: GitHub
- artifact: bin\lz4_x86.zip
- auth_token:
- secure: w6UJaGie0qbZvffr/fqyhO/Vj8rMiQWnv9a8qm3gxfngdHDTMT42wYupqJpIExId
- force_update: true
- prerelease: true
- on:
- COMPILER: gcc
- PLATFORM: "mingw32"
- appveyor_repo_tag: true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement