-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathappveyor.yml
63 lines (52 loc) · 2.04 KB
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
environment:
matrix:
- APPVEYOR_BUILD_WORKER_IMAGE: Ubuntu2204
APPVEYOR_JOB_NAME: "linux-x64"
- PYTHON: "Python39"
BUILD_ARCH: "x86"
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022
- PYTHON: "Python310"
BUILD_ARCH: "x86"
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022
- PYTHON: "Python311"
BUILD_ARCH: "x86"
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022
- PYTHON: "Python39-x64"
BUILD_ARCH: "x64"
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022
- PYTHON: "Python310-x64"
BUILD_ARCH: "x64"
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022
- PYTHON: "Python311-x64"
BUILD_ARCH: "x64"
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022
stack: python 3.12
install:
- sh: python -m pip install --upgrade pip
- sh: python -m pip install cibuildwheel==2.21.3
build_script:
# - '.\venv\Scripts\python setup.py build_ext --inplace'
# - '.\venv\Scripts\python setup.py bdist_wheel'
- cmd: 'move omniORBpy omniORB\src\lib'
- cmd: 'cd omniORB'
- cmd: 'set PATH=%PATH%;%CD%\bin\x86_win32'
# doesn't work: - 'echo platform = x86_win32_vs_14>>config\config.mk'
- cmd: 'sed -i "s/.*Uncomment one of the following platform lines.*/platform = x86_win32_vs_14/" config/config.mk'
- cmd: 'echo PYTHON = /cygdrive/c/%PYTHON%/python>>mk\platforms\x86_win32_vs_14.mk'
# install cygwin make
- cmd: '"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" %BUILD_ARCH%'
- cmd: 'set path=%path%;c:\cygwin\bin;c:\%PYTHON%'
- cmd: 'set path=c:\Program Files (x86)\Windows Kits\10\bin\10.0.18362.0\x86;c:\Program Files (x86)\Windows Kits\10\bin\10.0.17134.0\x86\;%PATH%'
- cmd: 'cd src'
- cmd: 'make export'
- cmd: 'cd lib\omniORBpy'
- cmd: 'make export'
- cmd: 'cd ..\..\..\..'
- cmd: 'c:\%PYTHON%\python.exe -m pip install wheel'
- cmd: 'c:\%PYTHON%\python.exe setup.py bdist_wheel'
# Generate wheels for Linux CPython x86_64 3.7+
- sh: python -m cibuildwheel --output-dir dist
artifacts:
- path: 'dist/*whl'
name: Wheels
test: false