Sunshine/appveyor.yml

39 lines
1.5 KiB
YAML
Raw Normal View History

2020-01-19 02:22:11 +00:00
image:
2021-04-26 18:36:54 +00:00
- Ubuntu2004
2020-01-19 02:22:11 +00:00
- Visual Studio 2019
2020-01-18 22:47:57 +00:00
environment:
matrix:
- BUILD_TYPE: Debug
- BUILD_TYPE: Release
install:
2020-01-19 02:22:11 +00:00
- sh: sudo apt update
2021-04-26 18:36:54 +00:00
- sh: sudo apt install -y build-essential cmake libssl-dev libavdevice-dev libboost-thread-dev libboost-filesystem-dev libboost-log-dev libpulse-dev libopus-dev libxtst-dev libx11-dev libxrandr-dev libxfixes-dev libevdev-dev libxcb1-dev libxcb-shm0-dev libxcb-xfixes0-dev
2020-01-26 21:20:40 +00:00
- cmd: C:\msys64\usr\bin\bash -lc "pacman --needed --noconfirm -S mingw-w64-x86_64-openssl mingw-w64-x86_64-cmake mingw-w64-x86_64-toolchain mingw-w64-x86_64-opus mingw-w64-x86_64-x265 mingw-w64-x86_64-boost git yasm nasm diffutils make"
2020-01-18 22:47:57 +00:00
before_build:
- git submodule update --init --recursive
- mkdir build
- cd build
build_script:
2020-01-21 02:09:28 +00:00
- cmd: set OLDPATH=%PATH%
2020-01-19 02:22:11 +00:00
- cmd: set PATH=C:\msys64\mingw64\bin
- sh: cmake -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DSUNSHINE_EXECUTABLE_PATH=sunshine -DSUNSHINE_ASSETS_DIR=/etc/sunshine ..
2021-04-26 18:36:54 +00:00
- cmd: cmake -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DSUNSHINE_ASSETS_DIR=assets -G "MinGW Makefiles" ..
2020-01-19 02:22:11 +00:00
- sh: make -j$(nproc)
2020-01-21 02:09:28 +00:00
- cmd: mingw32-make -j2
- cmd: set PATH=%OLDPATH%
after_build:
2020-01-29 22:06:32 +00:00
- sh: ./gen-deb
- cmd: Del ..\assets\apps_linux.json
- cmd: 7z a Sunshine-Windows.zip ..\assets
2020-01-21 02:09:28 +00:00
- cmd: 7z a Sunshine-Windows.zip sunshine.exe
2020-01-24 00:12:05 +00:00
- cmd: 7z a Sunshine-Windows.zip tools\dxgi-info.exe
2020-01-27 20:05:57 +00:00
- cmd: 7z a Sunshine-Windows.zip tools\audio-info.exe
2020-01-24 00:12:05 +00:00
- cmd: appveyor PushArtifact Sunshine-Windows.zip
2020-01-29 22:06:32 +00:00
- sh: appveyor PushArtifact package-deb/sunshine.deb
- sh: appveyor PushArtifact sunshine.service