Browse Source

Merge remote-tracking branch 'origin/master'

Michael Ragazzon 6 years ago
parent
commit
e2e9949a26
1 changed files with 15 additions and 3 deletions
  1. 15 3
      .appveyor.yml

+ 15 - 3
.appveyor.yml

@@ -16,9 +16,11 @@ install:
 
 
     appveyor DownloadFile https://github.com/ubawurinna/freetype-windows-binaries/releases/download/v%FREETYPE_VER%/freetype-%FREETYPE_VER%.zip
     appveyor DownloadFile https://github.com/ubawurinna/freetype-windows-binaries/releases/download/v%FREETYPE_VER%/freetype-%FREETYPE_VER%.zip
 
 
-    unzip -o freetype-%FREETYPE_VER%.zip
+    unzip -o freetype-%FREETYPE_VER%.zip -d freetype-%FREETYPE_VER%
 
 
-    mv win64 lib
+    mv freetype-%FREETYPE_VER%/include include
+
+    mv freetype-%FREETYPE_VER%/win64 lib
 
 
     cd ..
     cd ..
 
 
@@ -26,4 +28,14 @@ install:
 build:
 build:
   project: RmlUi.sln
   project: RmlUi.sln
   parallel: true
   parallel: true
-  verbosity: minimal
+  verbosity: minimal
+after_build:
+- cmd: >-
+    IF "%BUILD_SHARED_LIBS%"=="ON" 7z a RmlUi-Debug-win64.zip ./Debug/* -r -x!*.exp -x!*.lib -x!*.ilk -x!*.pdb -x!src/*
+
+    IF "%BUILD_SHARED_LIBS%"=="ON" IF "%BUILD_SAMPLES%"=="ON" 7z a RmlUi-Debug-win64.zip Dependencies/freetype-%FREETYPE_VER%/*.txt ./Dependencies/lib/freetype.dll ./Samples/* -r -x!*.exp -x!*.lib -x!*.ilk -x!*.pdb -x!src/*
+
+    IF "%BUILD_SHARED_LIBS%"=="OFF" mkdir Lib && cp ./Debug/*.lib Lib && 7z a RmlUi-static-Debug-win64.zip Lib Include
+artifacts:
+- path: RmlUi-Debug-win64.zip
+- path: RmlUi-static-Debug-win64.zip