From fa9427d22a7828be393e7e2d9d3e7f658b50666d Mon Sep 17 00:00:00 2001 From: LePresidente Date: Mon, 18 Feb 2019 13:50:48 +0200 Subject: Added appveyor build badge to readme.md Added appveyor.yml which will control the appveyor build in the future (currently extremely basic) --- appveyor.yml | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 appveyor.yml (limited to 'appveyor.yml') diff --git a/appveyor.yml b/appveyor.yml new file mode 100644 index 00000000..48511ced --- /dev/null +++ b/appveyor.yml @@ -0,0 +1,8 @@ +version: 1.0.{build} +image: Visual Studio 2017 +build_script: +- cmd: >- + git clone --depth=1 --branch=Appveyor https://github.com/ModOrganizer2/modorganizer-umbrella.git c:\projects\modorganizer-umbrella 2> $null + mkdir c:\projects\modorganizer-build -type directory + cd c:\projects\modorganizer-umbrella + C:\Python37-x64\python.exe unimake.py -d c:\projects\modorganizer-build -s Appveyor_Build=True %APPVEYOR_PROJECT_NAME% -- cgit v1.3.1 From 24ef8c56d272ce6d28135a4848d1abfb7c532072 Mon Sep 17 00:00:00 2001 From: LePresidente Date: Mon, 18 Feb 2019 14:30:26 +0200 Subject: Added blank lines between commands, due to appveyor sees it as a single command --- appveyor.yml | 3 +++ 1 file changed, 3 insertions(+) (limited to 'appveyor.yml') diff --git a/appveyor.yml b/appveyor.yml index 48511ced..fa0ca81d 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -3,6 +3,9 @@ image: Visual Studio 2017 build_script: - cmd: >- git clone --depth=1 --branch=Appveyor https://github.com/ModOrganizer2/modorganizer-umbrella.git c:\projects\modorganizer-umbrella 2> $null + mkdir c:\projects\modorganizer-build -type directory + cd c:\projects\modorganizer-umbrella + C:\Python37-x64\python.exe unimake.py -d c:\projects\modorganizer-build -s Appveyor_Build=True %APPVEYOR_PROJECT_NAME% -- cgit v1.3.1 From 63134bc94accd9d7bd66cb1654228fe6c5e3ed47 Mon Sep 17 00:00:00 2001 From: LePresidente Date: Mon, 18 Feb 2019 16:24:03 +0200 Subject: Use same branch on umbrella as the project. --- appveyor.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'appveyor.yml') diff --git a/appveyor.yml b/appveyor.yml index fa0ca81d..c3299a99 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -2,7 +2,7 @@ version: 1.0.{build} image: Visual Studio 2017 build_script: - cmd: >- - git clone --depth=1 --branch=Appveyor https://github.com/ModOrganizer2/modorganizer-umbrella.git c:\projects\modorganizer-umbrella 2> $null + git clone --depth=1 --branch=%APPVEYOR_REPO_BRANCH% https://github.com/ModOrganizer2/modorganizer-umbrella.git c:\projects\modorganizer-umbrella 2> $null mkdir c:\projects\modorganizer-build -type directory -- cgit v1.3.1 From f0f672f9b7ff01def3b56cb63ce14480ca30e971 Mon Sep 17 00:00:00 2001 From: LePresidente Date: Mon, 18 Feb 2019 16:27:45 +0200 Subject: appveyor really wants those blank lines between commands. --- appveyor.yml | 1 + 1 file changed, 1 insertion(+) (limited to 'appveyor.yml') diff --git a/appveyor.yml b/appveyor.yml index c3299a99..88530f52 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -2,6 +2,7 @@ version: 1.0.{build} image: Visual Studio 2017 build_script: - cmd: >- + git clone --depth=1 --branch=%APPVEYOR_REPO_BRANCH% https://github.com/ModOrganizer2/modorganizer-umbrella.git c:\projects\modorganizer-umbrella 2> $null mkdir c:\projects\modorganizer-build -type directory -- cgit v1.3.1