Advertisement
f11894

cavif_appveyor

Feb 15th, 2020
162
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.90 KB | None | 0 0
  1. version: 1.0.{build}
  2. build_script:
  3. - cmd: >-
  4. set MSYSTEM=MINGW64
  5.  
  6. sed -r -i "s/git@github.com:([^ ]+)\.git$/https:\/\/github.com\/\1/" .gitmodules
  7.  
  8. sed -i "s/git:\/\//https:\/\//" .gitmodules
  9.  
  10. xcopy %CD% C:\msys64\home\appveyor\cavif /e/i/h
  11.  
  12. C:\msys64\usr\bin\bash -lc "pacman -S mingw-w64-x86_64-nasm mingw-w64-x86_64-cmake --noconfirm"
  13.  
  14. C:\msys64\usr\bin\bash -lc "cd cavif && git submodule update --init"
  15.  
  16. C:\msys64\usr\bin\bash -lc "cd cavif/external/libavif-container && sed -r -i 's/git@github.com:([^ ]+)\.git$/https:\/\/github.com\/\1/' .gitmodules && git submodule update --init"
  17.  
  18. C:\msys64\usr\bin\bash -lc "cd cavif && mkdir build && cd build && cmake .. -G 'MSYS Makefiles' -DCMAKE_CXX_FLAGS=-static && make -j4 && strip cavif.exe"
  19.  
  20. 7z a cavif.7z "C:\msys64\home\appveyor\cavif\build\*.exe"artifacts:
  21. - path: cavif.7z
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement