diff options
author | Sebastian Pipping <sebastian@pipping.org> | 2019-08-15 00:28:44 +0200 |
---|---|---|
committer | Sebastian Pipping <sebastian@pipping.org> | 2022-10-25 15:22:32 +0200 |
commit | e626272891b70980e1b2d2e25fd9c88d4ab2da3c (patch) | |
tree | d5b5ad1c2ae0002d30e6591103071722c28ae2b2 | |
parent | 1df7a2df0dcff981c68f11d219ad5a3278d95a0e (diff) | |
download | libexpat-git-e626272891b70980e1b2d2e25fd9c88d4ab2da3c.tar.gz |
[REVERT ME] Build Windows installer and code installed by installerbuild-windows-installer-and-code-installed-by-installer
-rw-r--r-- | appveyor.yml | 29 |
1 files changed, 16 insertions, 13 deletions
diff --git a/appveyor.yml b/appveyor.yml index 91e7ab66..4754ec13 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -53,20 +53,23 @@ configuration: Debug environment: matrix: # Visual Studio 2017 Win32 - - GENERATOR: Visual Studio 15 2017 - PLATFORM: Win32 - EXPAT_DLL: libexpatd.dll - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017 + - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017 before_build: - - echo Running cmake... - - cd c:\projects\libexpat - - cmake -G"%GENERATOR%" -DCMAKE_BUILD_TYPE=%CONFIGURATION% -DEXPAT_WARNINGS_AS_ERRORS=ON %CMAKE_ARGS% expat + - cd c:\projects\libexpat\expat + - set PATH=%PATH%;C:\Program Files (x86)\Inno Setup 5 -build: - parallel: true # enable MSBuild parallel builds - project: expat.sln # path to Visual Studio solution or project +build_script: + - echo "PATH=%PATH%" + - dir win32 + - cmd /c win32\build_expat_iss.bat + - copy /b win32\expat-win32bin-*.*.*.exe win32\expat-installer.exe + - win32\expat-installer.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART + - cd C:\Program Files (x86)\Expat *\ + - md Build + - cd Build + - cmake -G"Visual Studio 15 2017" -DCMAKE_BUILD_TYPE=%CONFIGURATION% -DEXPAT_WARNINGS_AS_ERRORS=ON ..\Source\ + - msbuild "expat.sln" /m /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" -test_script: - - cp %CONFIGURATION%\\%EXPAT_DLL% tests\\%CONFIGURATION%\\ - - ctest --build-config %CONFIGURATION% --output-on-failure --parallel 2 +artifacts: + - path: 'expat\win32\expat-win32bin-*.exe' |