From 572644800d049408250a168d3dc35922ef525793 Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Sat, 24 Jul 2021 17:36:49 -0500 Subject: [PATCH] Add AppVeyor CI --- README.md | 2 ++ appveyor.yml | 25 +++++++++++++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 appveyor.yml diff --git a/README.md b/README.md index f56c8dd..3745740 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # Moonlight Embedded +[![AppVeyor Build Status](https://ci.appveyor.com/api/projects/status/uaph3i3lfu7gl7m7/branch/master?svg=true)](https://ci.appveyor.com/project/cgutman/moonlight-embedded/branch/master) + Moonlight Embedded is an open source implementation of NVIDIA's GameStream, as used by the NVIDIA Shield, but built for Linux. Moonlight Embedded allows you to stream your full collection of games from diff --git a/appveyor.yml b/appveyor.yml new file mode 100644 index 0000000..1822176 --- /dev/null +++ b/appveyor.yml @@ -0,0 +1,25 @@ +version: 0.0.0.{build} + +clone_depth: 1 + +environment: + matrix: + - APPVEYOR_BUILD_WORKER_IMAGE: Ubuntu2004 + PACKAGES: libssl-dev libopus-dev libasound2-dev libudev-dev libavahi-client-dev libcurl4-openssl-dev libevdev-dev libexpat1-dev libpulse-dev uuid-dev cmake gcc g++ libavcodec-dev libavutil-dev libsdl2-dev libva-dev libvdpau-dev libcec-dev libp8-platform-dev + BUILD_TARGET: ubuntu + +install: + - 'sudo apt update' + - 'sudo apt install -y $PACKAGES' + +before_build: + - 'git submodule update --init --recursive' + +build_script: + - mkdir build + - cd build + - cmake -DCMAKE_INSTALL_PREFIX=/tmp .. + - make -j$(nproc) + - make install + +deploy: off