mirror of
https://github.com/winsw/winsw.git
synced 2025-12-10 18:37:28 +08:00
* First configuration stub * Get rid of the old winsw_cert.pfx references, adjust docs * Fix the corrupted log4net reference, we use 2.0.3 * Generate stub SNK file * Signing: Try full SDK path to generate SNKs * Fix the path * Signing: Sign all assemblies being packed into WinSW * Tests: Try enabling tests * Tests and artifacts: Use absolute paths * Artifact path must be relative * The test DLL is the NUnit one * nunit-console does not require loggers * NUnit: Try picking all DLLs in the output folder * NUnit console: No wildcards * Tests: Fix the test project to make it properly working with the new project structure * Docs: Clarify the specifics of external extension usage * Add AppVeyor badge to README.md
39 lines
1.0 KiB
YAML
39 lines
1.0 KiB
YAML
|
|
version: 2.0.0.{build}
|
|
|
|
# Do not build on tags (GitHub and BitBucket)
|
|
skip_tags: true
|
|
|
|
# Project configuration
|
|
image: Visual Studio 2013
|
|
platform: Any CPU
|
|
configuration: Release
|
|
|
|
# Automatically register private account and/or project AppVeyor NuGet feeds.
|
|
nuget:
|
|
account_feed: true
|
|
project_feed: true
|
|
disable_publish_on_pr: true # disable publishing of .nupkg artifacts to
|
|
|
|
before_build:
|
|
# Check SDKs
|
|
- ECHO "Installed SDKs:"
|
|
- ps: "ls \"C:/Program Files/Microsoft SDKs/Windows\""
|
|
# Generates a temporary SNK. Not for real signing
|
|
- cmd: "\"C:/Program Files/Microsoft SDKs/Windows/v7.1/Bin/sn.exe\" -k winsw_key.snk"
|
|
|
|
build:
|
|
parallel: true
|
|
project: src\winsw.sln
|
|
|
|
test_script:
|
|
# Runner for NUnit2
|
|
- ps: nunit-console 'C:/projects/winsw/src/Test/winswTests/bin/Release/winswTests.dll' 'C:/projects/winsw/src/Test/winswTests/bin/Release/SharedDirectoryMapper.dll' 'C:/projects/winsw/src/Test/winswTests/bin/Release/RunawayProcessKiller.dll'
|
|
|
|
artifacts:
|
|
- path: 'src/Core/ServiceWrapper/bin/Release/winsw.exe'
|
|
name: WinSW
|
|
|
|
|
|
|
|
|