# The variable names are case sensitive
[Variables]
#Root = D:\qt-sdk
+APPVEYOR_BUILD_FOLDER = ${Variables:Root}
# Settings applicable for all Crafts matrices
# Settings are Category/key=value
ShortPath/Enabled = False
Compile/BuildType = Release
ContinuousIntegration/Enabled = True
+Packager/Destination = ${Variables:APPVEYOR_BUILD_FOLDER}/binaries
+
+# the version of the config
+Version/ConfigVersion = 6
[BlueprintSettings]
quassel/quassel.version = master
- ps: |
#use cmd to silence powershell behaviour for stderr
& cmd /C "git clone -q --depth=1 git://anongit.kde.org/craftmaster.git C:\CraftMaster\CraftMaster 2>&1"
- & C:\python36\python.exe C:\CraftMaster\CraftMaster\CraftMaster.py --config $env:APPVEYOR_BUILD_FOLDER\.appveyor.ini --target $env:TARGET
+ & C:\python36\python.exe C:\CraftMaster\CraftMaster\CraftMaster.py --config $env:APPVEYOR_BUILD_FOLDER\.appveyor.ini --variables "APPVEYOR_BUILD_FOLDER=$env:APPVEYOR_BUILD_FOLDER" --target $env:TARGET
craft --add-blueprint-repository https://github.com/quassel/craft-blueprints-quassel.git
craft -p quassel/quassel
craft nsis
- ps: |
craft --no-cache --src-dir $env:APPVEYOR_BUILD_FOLDER quassel/quassel
-test_script:
+after_build:
- ps: |
- craft --src-dir $env:APPVEYOR_BUILD_FOLDER --test quassel/quassel
+ craft --src-dir $env:APPVEYOR_BUILD_FOLDER --package quassel/quassel
-on_success:
+test_script:
- ps: |
- craft --src-dir $env:APPVEYOR_BUILD_FOLDER --package quassel/quassel
- Get-ChildItem C:\CraftMaster\$env:TARGET\tmp\* | % { Push-AppveyorArtifact $_.FullName -FileName $_.Name }
+ craft --src-dir $env:APPVEYOR_BUILD_FOLDER --test quassel/quassel
environment:
matrix:
- TARGET: windows-msvc2017_64-cl
- TARGET: windows-msvc2017_32-cl
+
+artifacts:
+ - path: binaries\*