2021-05-17 09:41:58 -04:00
|
|
|
version: '{build}'
|
2021-05-17 10:13:43 -04:00
|
|
|
image:
|
|
|
|
- Visual Studio 2019
|
2021-05-17 09:41:58 -04:00
|
|
|
|
|
|
|
environment:
|
|
|
|
matrix:
|
2021-05-17 10:13:43 -04:00
|
|
|
- GENERATOR: "Visual Studio 16 2019"
|
2021-05-17 09:41:58 -04:00
|
|
|
CONFIG: Release
|
|
|
|
ARCH_ARG: "-A x64"
|
2021-05-17 10:19:24 -04:00
|
|
|
PYTHON: "C:\\Python38-x64"
|
|
|
|
PYTHON_ARCH: 64
|
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-17 10:11:19 -04:00
|
|
|
- cmake -G "Visual Studio 16 2019" -DPYTHON_MODULE=ON ../
|
|
|
|
- cmake --build _builds --config "%CONFIG%" .
|