apache / cordova-windows

[DEPRECATED] Apache Cordova Windows
Apache License 2.0
203 stars 171 forks source link

ci(travis): Add Windows image #343

Closed janpio closed 2 years ago

janpio commented 5 years ago

This PR tries to run the existing tests on a Windows image on Travis (additionally to AppVeyor). It investigates what adaptions might be necessary and what errors or blockers we hit along the way.

janpio commented 5 years ago
C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\Microsoft\VisualStudio\v15.0\AppxPackage\Microsoft.AppXPackage.Targets(2519,5): warning APPX0105: Cannot import the key file 'CordovaApp_TemporaryKey.pfx'. The key file may be password protected. To correct this, try to import the certificate manually into the current user’s personal certificate store. [C:\Users\travis\build\apache\cordova-windows\temp\platforms\testcreate 応用\CordovaApp.Windows10.jsproj]
C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\Microsoft\VisualStudio\v15.0\AppxPackage\Microsoft.AppXPackage.Targets(2519,5): warning APPX0107: The certificate specified is not valid for signing. For more information about valid certificates, see http://go.microsoft.com/fwlink/?LinkID=241478. [C:\Users\travis\build\apache\cordova-windows\temp\platforms\testcreate 応用\CordovaApp.Windows10.jsproj]
C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\Microsoft\VisualStudio\v15.0\AppxPackage\Microsoft.AppXPackage.Targets(2638,5): error APPX0002: Task 'ValidateAppxManifest' failed. Retrieving the COM class factory for component with CLSID {5842A140-FF9F-4166-8F5C-62F5B7B0C781} failed due to the following error: 8007045a A dynamic link library (DLL) initialization routine failed. (Exception from HRESULT: 0x8007045A). [C:\Users\travis\build\apache\cordova-windows\temp\platforms\testcreate 応用\CordovaApp.Windows10.jsproj]
C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\Microsoft\VisualStudio\v15.0\AppxPackage\Microsoft.AppXPackage.Targets(2638,5): error APPX0002:  [C:\Users\travis\build\apache\cordova-windows\temp\platforms\testcreate 応用\CordovaApp.Windows10.jsproj]

Possible fix: https://stackoverflow.com/questions/2815366/cannot-import-the-keyfile-blah-pfx-error-the-keyfile-may-be-password-protec


and more different errors - will look at those in later runs

purplecabbage commented 2 years ago

windows is now deprecated, thanks for your contribution

janpio commented 2 years ago

2019 Jan would be very sad.