From 1051dd3b02363932d67a39c2aa6517c5fe6e1f9c Mon Sep 17 00:00:00 2001 From: Alberto Fustinoni Date: Thu, 21 Dec 2017 21:40:35 +0900 Subject: [PATCH] Appveyor CI --- README | 3 +++ appveyor.yml | 33 +++++++++++++++++++++++++++++++++ 2 files changed, 36 insertions(+) create mode 100644 appveyor.yml diff --git a/README b/README index 0707be9..a8bad2e 100644 --- a/README +++ b/README @@ -1,3 +1,6 @@ +[![Build Status](https://travis-ci.org/libretro/gambatte-libretro.svg?branch=master)](https://travis-ci.org/libretro/gambatte-libretro) +[![Build status](https://ci.appveyor.com/api/projects/status/tejf7jniu1imotag/branch/master?svg=true)](https://ci.appveyor.com/project/bparker06/gambatte-libretro/branch/master) + -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- Copyright (C) 2007 by Sindre Aamås diff --git a/appveyor.yml b/appveyor.yml new file mode 100644 index 0000000..c67be97 --- /dev/null +++ b/appveyor.yml @@ -0,0 +1,33 @@ +version: 0.1.{build} + +shallow_clone: true + +image: Visual Studio 2017 + +environment: + makefile_location: "." + makefile_name: Makefile.libretro + target_name: gambatte + +configuration: + - release + +platform: + - windows_msvc2017_uwp_x64 + - windows_msvc2017_uwp_x86 + - windows_msvc2017_uwp_arm + - windows_msvc2017_desktop_x64 + - windows_msvc2017_desktop_x86 + +init: + - set Path=C:\msys64\usr\bin;%Path% + +build_script: + - cd %makefile_location% + - make -f %makefile_name% platform=%platform% + +artifacts: + - path: '**\%target_name%*.dll' + - path: '**\%target_name%*.lib' + - path: '**\%target_name%*.pdb' + - path: '**\libretro.h' \ No newline at end of file