2021-05-17 09:41:58 -04:00
|
|
|
version: '{build}'
|
2021-05-17 10:37:15 -04:00
|
|
|
|
|
|
|
platform:
|
|
|
|
- x64
|
2021-05-17 09:41:58 -04:00
|
|
|
|
|
|
|
environment:
|
|
|
|
matrix:
|
2021-05-17 10:40:01 -04:00
|
|
|
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
|
2021-05-17 09:41:58 -04:00
|
|
|
CONFIG: Release
|
2021-05-17 10:37:15 -04:00
|
|
|
PYTHON: "C:\\Python37-x64"
|
2021-05-17 11:37:40 -04:00
|
|
|
Python_ROOT_DIR: C:\Python37-x64
|
2021-05-17 10:19:24 -04:00
|
|
|
PYTHON_ARCH: 64
|
2021-05-17 09:41:58 -04:00
|
|
|
|
2021-05-17 11:37:40 -04:00
|
|
|
install:
|
|
|
|
- set PATH=%Python_ROOT_DIR%;%PATH%
|
|
|
|
|
2021-05-17 09:41:58 -04:00
|
|
|
build_script:
|
|
|
|
- git submodule add -b stable ../../pybind/pybind11 extern/pybind11
|
2021-05-17 09:50:00 -04:00
|
|
|
- git submodule update --init
|
2021-05-17 10:13:43 -04:00
|
|
|
- mkdir build && cd build
|
2021-05-19 10:22:47 -04:00
|
|
|
- cmake -DBUILD_SHARED_LIBS=OFF -DAPPS=OFF -G "Visual Studio 16 2019" -A%PLATFORM% -DPYTHON_WHEEL=ON ../
|
2021-05-17 10:53:53 -04:00
|
|
|
- cmake --build ./ --config "%CONFIG%" .
|
2021-05-17 11:37:40 -04:00
|
|
|
|
|
|
|
artifacts:
|
2021-05-19 10:22:47 -04:00
|
|
|
- path: build\dist\*
|