1
0
Fork 0
mirror of https://github.com/gwm17/catima.git synced 2024-11-26 12:08:52 -05:00
catima/appveyor.yml

39 lines
1.1 KiB
YAML
Raw Normal View History

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 10:19:24 -04:00
PYTHON_ARCH: 64
2021-05-19 13:20:03 -04:00
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
CONFIG: Release
PYTHON: "C:\\Python38-x64"
PYTHON_ARCH: 64
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
CONFIG: Release
PYTHON: "C:\\Python39-x64"
PYTHON_ARCH: 64
2021-05-17 09:41:58 -04:00
2021-05-17 11:37:40 -04:00
install:
2021-05-19 11:06:10 -04:00
- set PATH=%PYTHON%;%PYTHON%\Scripts;%PATH%
- pip --version
2021-05-19 10:50:29 -04:00
- pip install pybind11
2021-05-19 10:57:07 -04:00
- pip install wheel
2021-05-17 11:37:40 -04:00
2021-05-17 09:41:58 -04:00
build_script:
2021-05-19 11:19:17 -04:00
- echo %PATH%
2021-05-19 10:28:21 -04:00
# - git submodule add -b stable ../../pybind/pybind11 extern/pybind11
# - git submodule update --init
2021-05-17 10:13:43 -04:00
- mkdir build && cd build
2021-05-19 13:10:47 -04:00
# - cmake -DBUILD_SHARED_LIBS=OFF -DAPPS=OFF -G "Visual Studio 16 2019" -A%PLATFORM% -DPYTHON_EXECUTABLE=$(python -c "import sys; print(sys.executable)") ../
- cmake -DBUILD_SHARED_LIBS=OFF -DAPPS=OFF -G "Visual Studio 16 2019" -A%PLATFORM% ../
2021-05-19 13:09:57 -04:00
- cmake --build ./ --config "%CONFIG%" .
2021-05-19 11:27:22 -04:00
- python ../pymodule/setup.py bdist_wheel
2021-05-17 11:37:40 -04:00
2021-05-19 11:28:29 -04:00
artifacts:
- path: build\dist\*