Aegisub/appveyor.yml

27 lines
951 B
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:16:27 +01:00
WXWIN: '%APPVEYOR_BUILD_FOLDER%\wxWidgets'
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%
2019-12-28 21:20:46 +01:00
# Install meson and ninja
- cmd: pip install ninja meson
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-01-25 01:40:03 +01:00
# Set up the build environment
2020-05-03 14:47:32 +02:00
- cmd: set BOOST_ROOT=C:\Libraries\boost_1_73_0
2020-01-25 01:40:03 +01:00
- 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
build_script:
2019-12-29 22:21:24 +01:00
- cmd: meson --backend=ninja --buildtype release -Dwx_path=%WXWIN% -Dicu_path=%ICUWIN% builddir
2019-12-28 22:26:39 +01:00
- cmd: ninja -C builddir
2019-12-28 21:20:46 +01:00