Advertisement
shchuko

Untitled

Mar 12th, 2020
756
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 1.55 KB | None | 0 0
  1. fast_finish: false
  2.  
  3. platform:
  4.  - x64
  5.   - x86
  6.  
  7. configuration:
  8.  - Debug
  9.   - Release
  10.  
  11. environment:
  12.   matrix:
  13.     - COMPILER: "gcc"
  14.       PLATFORM: "mingw64"
  15.     - COMPILER: "gcc"
  16.       PLATFORM: "mingw32"
  17.     - COMPILER: "gcc"
  18.       PLATFORM: "clang"
  19. install:
  20.  - ECHO Installing %COMPILER% %PLATFORM% %CONFIGURATION%
  21.   - MKDIR bin
  22.   - if [%COMPILER%]==[gcc] SET PATH_ORIGINAL=%PATH%
  23.   - if [%COMPILER%]==[gcc] (
  24.     SET "PATH_MINGW32=c:\MinGW\bin;c:\MinGW\usr\bin" &&
  25.     SET "PATH_MINGW64=C:\mingw-w64\x86_64-8.1.0-posix-seh-rt_v6-rev0\bin;c:\msys64\usr\bin" &&
  26.     COPY C:\MinGW\bin\mingw32-make.exe C:\MinGW\bin\make.exe &&
  27.     COPY C:\MinGW\bin\gcc.exe C:\MinGW\bin\cc.exe
  28.     )
  29.  
  30. build_script:
  31.  - mkdir build
  32.   - cd build
  33.   - cmake ..
  34.   - cmake --build . --target all
  35.   - if [%APPVEYOR_REPO_TAG%] 7z a -tzip -mx0 -r0 %APPVEYOR_PROJECT_NAME%-%PLATFORM%-%APPVEYOR_REPO_TAG_NAME% .\bin
  36.  
  37.  
  38.  
  39. test_script:
  40.  - ctest --output-on-failure
  41.  
  42.  
  43. artifacts:
  44.   - path:
  45.   - path:
  46. deploy:
  47.   - provider: GitHub
  48.     artifact: bin\lz4_x64.zip
  49.     auth_token:
  50.       secure: w6UJaGie0qbZvffr/fqyhO/Vj8rMiQWnv9a8qm3gxfngdHDTMT42wYupqJpIExId
  51.     force_update: true
  52.     prerelease: true
  53.     on:
  54.       COMPILER: gcc
  55.       PLATFORM: "mingw64"
  56.       appveyor_repo_tag: true
  57.   - provider: GitHub
  58.     artifact: bin\lz4_x86.zip
  59.     auth_token:
  60.       secure: w6UJaGie0qbZvffr/fqyhO/Vj8rMiQWnv9a8qm3gxfngdHDTMT42wYupqJpIExId
  61.     force_update: true
  62.     prerelease: true
  63.     on:
  64.       COMPILER: gcc
  65.       PLATFORM: "mingw32"
  66.       appveyor_repo_tag: true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement