mirror of
https://github.com/yuzu-emu/discord-rpc
synced 2024-11-26 01:38:07 +00:00
Fix appveyor build
This commit is contained in:
parent
364606f7e9
commit
18f6d878e0
1 changed files with 24 additions and 24 deletions
48
appveyor.yml
48
appveyor.yml
|
@ -1,29 +1,29 @@
|
||||||
version: '{build}'
|
version: '{build}'
|
||||||
install:
|
install:
|
||||||
- cmd: >-
|
- mkdir thirdparty
|
||||||
mkdir thirdparty
|
- cd thirdparty
|
||||||
|
- set CMAKE_URL="https://cmake.org/files/v3.8/cmake-3.8.0-win64-x64.zip"
|
||||||
|
- appveyor DownloadFile %CMAKE_URL% -FileName cmake.zip
|
||||||
|
- 7z x cmake.zip -o%cd% > nul
|
||||||
|
- move cmake-* cmake
|
||||||
|
- set PATH=%cd%\cmake\bin;%PATH%
|
||||||
|
- cmake --version
|
||||||
|
- cd ..
|
||||||
|
- python --version
|
||||||
|
- python -m pip install click
|
||||||
|
|
||||||
cd thirdparty
|
|
||||||
|
|
||||||
set CMAKE_URL="https://cmake.org/files/v3.8/cmake-3.8.0-win64-x64.zip"
|
|
||||||
|
|
||||||
appveyor DownloadFile %CMAKE_URL% -FileName cmake.zip
|
|
||||||
|
|
||||||
7z x cmake.zip -o%cd% > nul
|
|
||||||
|
|
||||||
move cmake-* cmake
|
|
||||||
|
|
||||||
set PATH=%cd%\cmake\bin;%PATH%
|
|
||||||
|
|
||||||
cmake --version
|
|
||||||
|
|
||||||
cd ..
|
|
||||||
build_script:
|
build_script:
|
||||||
- cmd: >-
|
- python --version
|
||||||
mkdir build
|
- python -m pip install click
|
||||||
|
- mkdir examples\unrealstatus\Plugins\discordrpc\Binaries\ThirdParty\discordrpcLibrary\Win64
|
||||||
|
- python build.py
|
||||||
|
|
||||||
cd build
|
artifacts:
|
||||||
|
- path: builds\win32-dynamic
|
||||||
cmake .. -DCMAKE_INSTALL_PREFIX="C:\Program Files (x86)\DiscordRPC"
|
name: win32-dynamic
|
||||||
|
- path: builds\win32-static
|
||||||
cmake --build . --config Release --target install
|
name: win32-static
|
||||||
|
- path: builds\win64-dynamic
|
||||||
|
name: win64-dynamic
|
||||||
|
- path: builds\win64-static
|
||||||
|
name: win64-static
|
||||||
|
|
Loading…
Reference in a new issue