From ed7f191f1763661f85987935c171a870a16ca79d Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Sat, 18 Jan 2020 14:47:57 -0800 Subject: [PATCH] Add AppVeyor CI support --- appveyor.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 appveyor.yml diff --git a/appveyor.yml b/appveyor.yml new file mode 100644 index 00000000..627a5e33 --- /dev/null +++ b/appveyor.yml @@ -0,0 +1,22 @@ +image: Ubuntu + +environment: + matrix: + - BUILD_TYPE: Debug + - BUILD_TYPE: Release + +install: + - sudo add-apt-repository ppa:hnakamur/icu + - sudo add-apt-repository ppa:hnakamur/boost + - sudo apt update + - sudo apt install -y cmake libssl-dev libavdevice-dev libboost-thread1.67-dev libboost-filesystem1.67-dev libboost-log1.67-dev libpulse-dev libopus-dev libxtst-dev libx11-dev libxfixes-dev libevdev-dev libxcb1-dev libxcb-shm0-dev libxcb-xfixes0-dev + - sudo update-alternatives --set gcc /usr/bin/gcc-8 + +before_build: + - git submodule update --init --recursive + - mkdir build + - cd build + +build_script: + - cmake -DCMAKE_BUILD_TYPE=$BUILD_TYPE .. + - make -j$(nproc) \ No newline at end of file