Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,20 @@ build_script:
- cd c:\projects/osmium-tool
- build-appveyor.bat

after_build:
- cd c:\projects
- mkdir osmium-tool-bin
- set dllsuffix=""
- if "%config%"=="Debug" set dllsuffix="d"
- appveyor DownloadFile "https://raw.githubusercontent.com/libexpat/libexpat/master/expat/COPYING" -FileName osmium-tool-bin\COPYING-expat.txt
- appveyor DownloadFile "https://raw.githubusercontent.com/asimonov-im/bzip2/master/LICENSE" -FileName osmium-tool-bin\LICENSE-bzip2.txt
- copy /y C:\projects\osmium-tool\LICENSE.txt osmium-tool-bin
- copy /y C:\projects\osmium-tool\LICENSE-rapidjson.txt osmium-tool-bin
- copy /y C:\projects\osmium-tool\build\src\%config%\osmium.exe osmium-tool-bin
- copy /y C:\projects\expat.v140.2.2.5\build\native\bin\x64\%config%\libexpat%dllsuffix%.dll osmium-tool-bin
- copy /y C:\projects\bzip2.v140.1.0.6.9\build\native\bin\x64\MT-%config%\bzip2%dllsuffix%.dll osmium-tool-bin
- 7z a c:\projects\osmium-tool\osmium_%config%_%platform%.zip osmium-tool-bin -tzip

artifacts:
- path: osmium_%config%_%platform%.zip

2 changes: 1 addition & 1 deletion build-appveyor.bat
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ SET CMAKE_CMD=cmake .. -LA -G "Visual Studio 14 Win64" ^
-DEXPAT_INCLUDE_DIR=C:/projects/expat.v140.2.2.5/build/native/include ^
-DEXPAT_LIBRARY=C:/projects/expat.v140.2.2.5/build/native/lib/x64/%config%/libexpat%libpostfix%.lib ^
-DBZIP2_INCLUDE_DIR=C:/projects/bzip2.v140.1.0.6.9/build/native/include ^
-DBZIP2_LIBRARIES=C:/projects/bzip2.v140.1.0.6.9/build/native/lib/x64/%config%/libbz2%libpostfix%.lib ^
-DBZIP2_LIBRARIES=C:/projects/bzip2.v140.1.0.6.9/build/native/lib/x64/MT-%config%/libbz2%libpostfix%.lib ^
-DBoost_USE_STATIC_LIBS=ON

ECHO calling^: %CMAKE_CMD%
Expand Down