1
0
Fork 0
mirror of https://github.com/gwm17/catima.git synced 2024-11-22 18:28:51 -05:00

Update appveyor.yml

This commit is contained in:
Andrej Prochazka 2021-05-17 17:37:40 +02:00 committed by GitHub
parent 3d16ee4463
commit 1f9aff85eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,11 +8,18 @@ environment:
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
CONFIG: Release
PYTHON: "C:\\Python37-x64"
Python_ROOT_DIR: C:\Python37-x64
PYTHON_ARCH: 64
install:
- set PATH=%Python_ROOT_DIR%;%PATH%
build_script:
- git submodule add -b stable ../../pybind/pybind11 extern/pybind11
- git submodule update --init
- mkdir build && cd build
- cmake -DBUILD_SHARED_LIBS=OFF -DPYTHON_EXECUTABLE=C:\\Python37-x64\python.exe -G "Visual Studio 16 2019" -A%PLATFORM% -DPYTHON_MODULE=ON ../
- cmake -DBUILD_SHARED_LIBS=OFF -DAPPS=OFF -G "Visual Studio 16 2019" -A%PLATFORM% -DPYTHON_MODULE=ON ../
- cmake --build ./ --config "%CONFIG%" .
artifacts:
- path: build\Release\*