mirror of
https://github.com/yourWaifu/sleepy-discord.git
synced 2025-12-16 18:24:12 -06:00
fix compiler errors with boost asio Fix outdated azure wim image azure pipelines use newer openssl version azure pipeline switch to x86 azure pipelines use cmake command to build rename endian to net_endian
37 lines
1.0 KiB
YAML
37 lines
1.0 KiB
YAML
# .NET Desktop
|
|
# Build and run tests for .NET Desktop or Windows classic desktop solutions.
|
|
# Add steps that publish symbols, save build artifacts, and more:
|
|
# https://docs.microsoft.com/azure/devops/pipelines/apps/windows/dot-net
|
|
|
|
pool:
|
|
vmImage: 'windows-2022'
|
|
|
|
variables:
|
|
solution: 'build/*.sln'
|
|
buildPlatform: 'x86'
|
|
buildConfiguration: 'Release'
|
|
|
|
steps:
|
|
#To Do: Do both 32 bit and 64 bit
|
|
|
|
- script: |
|
|
git clone https://github.com/Microsoft/vcpkg.git
|
|
cd vcpkg
|
|
.\bootstrap-vcpkg.bat
|
|
.\vcpkg integrate install
|
|
call RefreshEnv.cmd
|
|
displayName: 'Vcpkg Setup'
|
|
|
|
- script: |
|
|
cd vcpkg
|
|
.\vcpkg install openssl:x86-windows-static
|
|
displayName: 'OpenSSL Install'
|
|
|
|
- task: CMake@1
|
|
inputs:
|
|
CMakeArgs: .. -A Win32 -DBUILD_SLEEPY_DISCORD_EXAMPLES=1 -DCMAKE_TOOLCHAIN_FILE=D:\a\1\s\vcpkg\scripts\buildsystems\vcpkg.cmake -DOPENSSL_USE_STATIC_LIBS=TRUE -DOPENSSL_ROOT_DIR="D:\a\1\s\vcpkg\installed\x86-windows-static" -DBUILD_CPR_TESTS=OFF
|
|
|
|
- task: CMake@1
|
|
inputs:
|
|
CMakeArgs: --build . --config Release
|