[dasher] Continous Integration for Windows (#145)



commit b9ae58f1352f253d86be40ba35431e66b78779ba
Author: erdemkiraz <erdemkiraz gmail com>
Date:   Sat Mar 24 00:01:58 2018 +0300

    Continous Integration for Windows (#145)
    
    * Created .yml file for appveyor
    
    * Added environment and build
    
    * Expat installation added via chocolatey
    
    * Fixes for last commit
    
    * Fixes for last commit(2)
    
    * Fixes for last commit(3)
    
    * Badge for appveyor
    
    * appveyor.yml updates
    
    * appveyor.yml updates(2)
    
    * appveyor.yml updates(3)
    
    * appveyor.yml updates(4)
    
    * appveyor.yml updates(5)
    
    * appveyor.yml updates(6)
    
    * appveyor.yml updates(7)
    
    * appveyor.yml updates(8)
    
    * Solution file without manual
    
    * Experiments for CI
    
    * Experiments for CI, update for install
    
    * Experiments for CI(2)
    
    * Experiments for CI(3)
    
    * Experiments for CI(4)
    
    * Experiments for CI(5)
    
    * Experiments for CI(6)
    
    * Silent installation of expat.exe
    
    * Bug fixes
    
    * Bug fixes(2)
    
    * Environment variables
    
    * Bug fixes
    
    * Bug fixes(2)
    
    * Bug fixes(3)
    
    * Bug fixes(5)
    
    * Bug fixes(6)
    
    * Bug fixes(7)
    
    * Verbosity updates
    
    * Experiment
    
    * Experiment(2)
    
    * Check with exit 0
    
    * Check Dasher.exe for determine any error
    
    * Check Dasher.exe for determine any error(fix)
    
    * Test
    
    * Test(2)
    
    * Test(3)
    
    * Final commit
    
    * More tests
    
    * Testing with dasher.exe
    
    * Check failing work
    
    * Verbosity update
    
    * Test
    
    * bug fix
    
    * bug fix
    
    * bug fix
    
    * Another try
    
    * Another try
    
    * Another try
    
    * Updating the correct path of libexpat.dll
    
    * Experiment
    
    * .wxs file updated for not to show errors
    
    * experiment
    
    * experiment
    
    * experiment
    
    * experiment
    
    * SHOULD FAIL
    
    * Should fail, wrong expat path
    
    * Final updates
    
    * Build:project test
    
    * Parallel building added, no-manuel.sln deleted
    
    * Changed to release configuration
    
    * Deleted if exists
    
    * If exists updated
    
    * Environment variable for config=release/debug
    
    * Two builds, release and debug
    
    * Bug fix
    
    * Bug fix
    
    * Bug fix
    
    * Bug fix
    
    * Bug fix
    
    * Bug fix
    
    * Bug fix
    
    * Bug fix
    
    * Bug fix
    
    * Commenting in .wxs file
    
    * Bug fix
    
    * Bug fix
    
    * Bug fix

 README.md                |  5 +++++
 Src/Installer/Dasher.wxs | 16 ++++++++++------
 appveyor.yml             | 16 ++++++++++++++++
 3 files changed, 31 insertions(+), 6 deletions(-)
---
diff --git a/README.md b/README.md
index 1940cc67..4d2cf14e 100644
--- a/README.md
+++ b/README.md
@@ -1,5 +1,10 @@
+Dasher Version 4.11
+-------------------
 ## Build Status:
 
+Windows:
+[![Build 
status](https://ci.appveyor.com/api/projects/status/hpvrm5230qlay15m?svg=true)](https://ci.appveyor.com/project/erdemkiraz/dasher)
+\-
 Linux:
 [![Build 
Status](https://travis-ci.org/dasher-project/dasher.svg?branch=master)](https://travis-ci.org/dasher-project/dasher)
 \-
diff --git a/Src/Installer/Dasher.wxs b/Src/Installer/Dasher.wxs
index 777f3861..001a3cae 100644
--- a/Src/Installer/Dasher.wxs
+++ b/Src/Installer/Dasher.wxs
@@ -18,11 +18,13 @@
                                        <Directory Id="INSTALLDIR" Name="Dasher 5.00">
                                                <Component Id="MainExecutable" 
Guid="5a93ba53-2e2d-4f88-8a1f-5bdd8f130394">
                                                        <File Id="DasherEXE" Name="Dasher.exe" DiskId="1" 
Source="..\Win32\Target\Release\Dasher.exe" Vital="yes"/>
-                                                       <File Id="ExpatDLL" Name="libexpat.dll" DiskId="1" 
Source="$(env.EXPAT)\bin\libexpat.dll" Vital="yes"/>
-                                               </Component>
-                                               <Component Id="Help" 
Guid="cf486329-8d04-462b-afd4-e8e0bccc9c95">
-                                                       <File Id="HelpFile" Name="Dasher.chm" DiskId="1" 
Source="..\..\Data\Help\Win32\dasher.chm"/>
+                                                       <File Id="ExpatDLL" Name="libexpat.dll" DiskId="1" 
Source="$(env.EXPAT)\Bin\libexpat.dll" Vital="yes"/>
                                                </Component>
+                                               <!-- Commenting this out for Appveyor CI to work: see 
/dasher/issues/148
+-                                                      <Component Id="Help" 
Guid="cf486329-8d04-462b-afd4-e8e0bccc9c95">
+                                                               <File Id="HelpFile" Name="Dasher.chm" 
DiskId="1" Source="..\..\Data\Help\Win32\dasher.chm"/>
+                                                       </Component>
+                                               -->
                                                <Directory Id="SystemRC" Name="system.rc">
                                                        <Component Id="Alphabets" 
Guid="e734711a-0e68-4897-b7a6-7a60a20062b5">
                                                                <File Id="alphabet.AfaanOromo.xml" 
Name="alphabet.AfaanOromo.xml" DiskId="1" Source="..\..\Data\alphabets\alphabet.AfaanOromo.xml"/>
@@ -268,8 +270,10 @@
                                <ComponentRef Id="Training"/>
       <ComponentRef Id="Colours"/>
       <ComponentRef Id="Control"/>
-      <ComponentRef Id="Settings"/>                            
-                               <ComponentRef Id="Help"/>
+      <ComponentRef Id="Settings"/>
+                       <!-- Commenting this out for Appveyor CI to work: see /dasher/issues/148
+               <ComponentRef Id="Help"/>
+                       -->
                </Feature>
                <WixVariable Id="WixUILicenseRtf" Value="License.rtf"/>
                <WixVariable Id="WixUIDialogBmp" Value="Background.bmp"/>
diff --git a/appveyor.yml b/appveyor.yml
new file mode 100644
index 00000000..b234dcc5
--- /dev/null
+++ b/appveyor.yml
@@ -0,0 +1,16 @@
+install:
+  - cmd: choco install wget
+  - cmd: wget https://github.com/libexpat/libexpat/releases/download/R_2_2_5/expat-win32bin-2.2.5.exe 
--output-document=C:\expat.exe
+  - cmd: C:\expat.exe /silent
+  - cmd: msbuild "Src\Win32\Dasher.sln"
+  - cmd: if exist Src\Win32\Target\Release\Dasher.exe appveyor exit
+  - cmd: if not exist Src\Win32\Target\Release\Dasher.exe exit 1 
+
+configuration: Release
+
+environment:
+  expat: 'C:\Program Files (x86)\Expat 2.2.5'
+  GENERATOR: Visual Studio 15 2017
+  PLATFORM: Win32
+  APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
+build: off


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]