Sunshine/appveyor.yml

45 lines
1.6 KiB
YAML
Raw Normal View History

services:
- docker
2020-01-18 22:47:57 +00:00
environment:
matrix:
- APPVEYOR_BUILD_WORKER_IMAGE: Ubuntu2004
2021-12-19 15:40:11 +00:00
DOCKERFILE: Dockerfile-Ubuntu_20_04
- APPVEYOR_BUILD_WORKER_IMAGE: Ubuntu2004
2021-12-19 15:40:11 +00:00
DOCKERFILE: Dockerfile-Ubuntu_21_04
- APPVEYOR_BUILD_WORKER_IMAGE: Ubuntu2004
DOCKERFILE: Dockerfile-debian
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
BUILD_TYPE: Release
2020-01-18 22:47:57 +00:00
install:
2021-10-03 19:12:06 +00:00
- cmd: C:\msys64\usr\bin\bash -lc "pacman --needed --noconfirm -S mingw-w64-x86_64-binutils 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:
- cmd: git submodule update --init --recursive
- cmd: mkdir build
- cmd: cd build
- sh: cd scripts
- sh: ./build-container.sh -f $DOCKERFILE
2020-01-18 22:47:57 +00:00
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
2021-04-26 18:36:54 +00:00
- cmd: cmake -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DSUNSHINE_ASSETS_DIR=assets -G "MinGW Makefiles" ..
2020-01-21 02:09:28 +00:00
- cmd: mingw32-make -j2
- cmd: set PATH=%OLDPATH%
- sh: ./build-sunshine.sh -pu
2020-01-21 02:09:28 +00:00
after_build:
- 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
- cmd: 7z a Sunshine-Windows.zip tools\sunshinesvc.exe
- cmd: 7z a Sunshine-Windows.zip ..\tools\install-service.bat
2021-07-19 13:32:16 +00:00
- cmd: 7z a Sunshine-Windows.zip ..\tools\uninstall-service.bat
2020-01-24 00:12:05 +00:00
- cmd: appveyor PushArtifact Sunshine-Windows.zip
- sh: appveyor PushArtifact sunshine-build/sunshine.deb