swh:1:snp:63faa221fc049b646fe05259f4b99785e58e345d
Raw File
Tip revision: 22d9714f17c3a751388177297c9646ee587ed98d authored by Christophe Meynard on 26 January 2023, 10:44:14 UTC
Merge branch 'apib11'
Tip revision: 22d9714
appveyor.yml
# scripts to run before build
image: Visual Studio 2015
before_build:
  - echo Running cmake...
  - set QTDIR=C:\Qt\5.11.3\msvc2015_64
  - set PATH=%PATH%;%QTDIR%\bin
  - set INSTALL_DIR_LOCAL=%CD%
  - mkdir build
  - cd build
  - cmake .. -DWITH_QT5=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=%INSTALL_DIR_LOCAL% -G "Visual Studio 14 2015 Win64"
  
# force Release in the build
build_script:
  - cmake --build . --target INSTALL --config Release
  - cd ..
  # copy Qt DLL into bin
  - copy %QTDIR%\bin\Qt5Core.dll    bin
  - copy %QTDIR%\bin\Qt5Gui.dll     bin
  - copy %QTDIR%\bin\Qt5Xml.dll     bin
  - copy %QTDIR%\bin\Qt5OpenGL.dll  bin
  - copy %QTDIR%\bin\Qt5Widgets.dll bin
  - mkdir bin\platforms
  - copy %QTDIR%\plugins\platforms\qwindows.dll bin\platforms
  - mkdir bin\imageformats
  - copy %QTDIR%\plugins\imageformats\qjpeg.dll bin\imageformats
  - copy %QTDIR%\plugins\imageformats\qgif.dll bin\imageformats
  - copy %QTDIR%\plugins\imageformats\qicns.dll bin\imageformats
  - copy %QTDIR%\plugins\imageformats\qico.dll bin\imageformats
  - copy %QTDIR%\plugins\imageformats\qsvg.dll bin\imageformats
  - copy %QTDIR%\plugins\imageformats\qtga.dll bin\imageformats
  - copy %QTDIR%\plugins\imageformats\qtiff.dll bin\imageformats
  - copy %QTDIR%\plugins\imageformats\qwbmp.dll bin\imageformats
  - copy %QTDIR%\plugins\imageformats\qwebp.dll bin\imageformats
  

after_build:
  - 7z a micmac_win.zip bin\ binaire-aux\ include\XML_MicMac\ include\XML_GEN\ include\qt
  
artifacts:
  path: micmac_win.zip
  name: micmac_win

deploy:
  description: 'AppVeyor build'
  artifact: micmac_win
  auth_token:
    secure: /bJuMkK+l78lspexK/xcdi0TsITsIuiuW7nNnY8Aw1cI+k33h4epHXs2z/f6sJjJ
  provider: GitHub
  on:
    appveyor_repo_tag: true
back to top