SHARE
TWEET

cavif_appveyor

f11894 Feb 15th, 2020 95 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top