forked from nextcloud/desktop
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
96 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
[General] | ||
Branch = master | ||
ShallowClone = True | ||
Command=craft | ||
|
||
# Variables defined here override the default value | ||
# The variable names are casesensitive | ||
[Variables] | ||
#Values need to be overwritten to create a chache | ||
UseCache = True | ||
CreateCache = False | ||
|
||
# Settings applicable for all Crafts matrices | ||
# Settings are Category/key=value | ||
# Category is case sensitive | ||
|
||
[GeneralSettings] | ||
General/EMERGE_PKGDSTDIR=${Variables:APPVEYOR_BUILD_FOLDER}/binaries | ||
Paths/python = C:\Python36 | ||
Paths/python27 = C:\Python27 | ||
Paths/downloaddir = ${Variables:Root}\downloads | ||
ShortPath/Enabled = False | ||
ShortPath/EnableJunctions = True | ||
ShortPath/JunctionDir = C:\CM-SP\ | ||
Packager/CacheDir = ${Variables:Root}\cache | ||
Packager/UseCache = ${Variables:UseCache} | ||
Packager/CreateCache = ${Variables:CreateCache} | ||
; Packager/RepositoryUrl = https://files.kde.org/craft/ | ||
Packager/PackageType = PortablePackager | ||
Packager/RepositoryUrl = http://ftp.acc.umu.se/mirror/kde.org/files/craft/master/ | ||
Compile/BuildType = RelWithDebInfo | ||
ContinuousIntegration/Enabled = True | ||
|
||
[BlueprintSettings] | ||
# don't try to pip install on the ci | ||
python-modules.ignored = True | ||
|
||
libs/qt5.version = 5.9.3 | ||
craft/craft-core.version = master | ||
|
||
[windows-msvc2017_64-cl] | ||
General/ABI = windows-msvc2017_64-cl | ||
|
||
[windows-msvc2017_32-cl] | ||
General/ABI = windows-msvc2017_32-cl |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
version: '{build}-{branch}' | ||
|
||
branches: | ||
only: | ||
- master | ||
|
||
clone_depth: 50 | ||
|
||
|
||
init: | ||
- ps: | | ||
function craft($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 $target -c $args | ||
if($LASTEXITCODE -ne 0) {exit $LASTEXITCODE} | ||
} | ||
install: | ||
- 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" | ||
craft $env:TARGET -i craft | ||
craft $env:TARGET --install-deps owncloud-client | ||
build_script: | ||
- ps: | | ||
craft $env:TARGET --no-cache --src-dir $env:APPVEYOR_BUILD_FOLDER owncloud-client | ||
after_build: | ||
- ps: | | ||
craft $env:TARGET --src-dir $env:APPVEYOR_BUILD_FOLDER --package owncloud-client | ||
on_finish: | ||
- ps: | | ||
Get-ChildItem $env:USERPROFILE\.craft\* | % { Push-AppveyorArtifact $_.FullName -FileName $_.Name } | ||
#test_script: | ||
#- ps: | | ||
#craft $env:TARGET --src-dir $env:APPVEYOR_BUILD_FOLDER --test owncloud-client | ||
test: off | ||
|
||
environment: | ||
matrix: | ||
- TARGET: windows-msvc2017_32-cl | ||
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017 | ||
- TARGET: windows-msvc2017_64-cl | ||
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017 | ||
|
||
artifacts: | ||
- path: binaries/* |