Aegisub/appveyor.yml

30 lines
1.1 KiB
YAML
Raw Normal View History

2019-12-28 21:20:46 +01:00
image: Visual Studio 2019
2019-12-28 22:00:53 +01:00
environment:
2019-12-28 22:43:11 +01:00
ICUWIN: '%APPVEYOR_BUILD_FOLDER%\icu'
2019-12-28 22:00:53 +01:00
2019-12-28 21:20:46 +01:00
install:
# Set paths to dependencies (based on architecture)
2019-12-28 21:31:18 +01:00
- cmd: set PYTHON_ROOT=C:\python37-x64
2019-12-28 21:20:46 +01:00
# Add necessary paths to PATH variable
2020-05-04 16:47:44 +02:00
- cmd: set PATH=%cd%;%PYTHON_ROOT%;%PYTHON_ROOT%\Scripts;%PATH%
# Set up the build environment
- cmd: set BOOST_ROOT=C:\Libraries\boost_1_73_0
- cmd: '"C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvarsall.bat" x86_amd64'
2019-12-28 21:20:46 +01:00
# Install meson and ninja
2020-06-13 13:11:57 +02:00
- cmd: pip install meson
2020-06-13 13:14:45 +02:00
- cmd: chdir %APPVEYOR_BUILD_FOLDER%
2020-06-13 13:11:57 +02:00
- cmd: curl -LO https://github.com/ninja-build/ninja/releases/download/v1.10.0/ninja-win.zip
- cmd: unzip ninja-win.zip
2019-12-28 22:43:11 +01:00
# Download ICU
- cmd: mkdir %ICUWIN%
- cmd: chdir %ICUWIN%
2019-12-28 23:19:42 +01:00
- cmd: curl -L -o icu.zip https://github.com/unicode-org/icu/releases/download/release-65-1/icu4c-65_1-Win64-MSVC2017.zip
2019-12-28 22:43:11 +01:00
- cmd: 7z x icu.zip
2020-06-13 13:14:45 +02:00
- cmd: chdir %APPVEYOR_BUILD_FOLDER%
2019-12-28 21:20:46 +01:00
build_script:
- cmd: meson --backend=ninja --buildtype release -Dicu_path=%ICUWIN% builddir
2019-12-28 22:26:39 +01:00
- cmd: ninja -C builddir
2019-12-28 21:20:46 +01:00