aboutsummaryrefslogtreecommitdiff
path: root/appveyor.yml
diff options
context:
space:
mode:
Diffstat (limited to 'appveyor.yml')
-rw-r--r--appveyor.yml38
1 files changed, 38 insertions, 0 deletions
diff --git a/appveyor.yml b/appveyor.yml
new file mode 100644
index 0000000..a94c26a
--- /dev/null
+++ b/appveyor.yml
@@ -0,0 +1,38 @@
+image: Visual Studio 2017
+configuration: Debug
+platform: Any CPU
+before_build:
+- nuget restore
+
+build:
+ verbosity: detailed
+ project: Microbit.sln
+
+after_build:
+- cmd: tree /F
+- cmd: 7z a -tzip "Microbit/bin/Debug/Microbit.zip" "Microbit/bin/Debug/*"
+
+artifacts:
+- path: Microbit/bin/Debug/Microbit.zip
+ name: DevBuild
+
+deploy:
+ provider: GitHub
+ release: Continuous build
+ description: 'Microbit Development Builds'
+ auth_token:
+ secure: MeuJU9DaBpnzRdWaqvDfR4M7WhtB90FIpmYkZ5GmS8GyVSWyHT2FAMtDczW3D/JQ
+ artifact: /.*\.zip/
+ draft: false
+ prerelease: true
+ force_update: true
+ tag: continuous
+ on:
+ appveyor_repo_tag: true
+
+on_success:
+ - ps: Invoke-RestMethod https://raw.githubusercontent.com/DiscordHooks/appveyor-discord-webhook/master/send.ps1 -o send.ps1
+ - ps: ./send.ps1 success $env:WEBHOOK_URL
+on_failure:
+ - ps: Invoke-RestMethod https://raw.githubusercontent.com/DiscordHooks/appveyor-discord-webhook/master/send.ps1 -o send.ps1
+ - ps: ./send.ps1 failure $env:WEBHOOK_URL \ No newline at end of file