@@ -12,8 +12,8 @@ global_job_config:
12
12
- checkout
13
13
blocks :
14
14
- name : " Wheels: OSX x64"
15
- run :
16
- when : " tag =~ '.*'"
15
+ # run:
16
+ # when: "tag =~ '.*'"
17
17
dependencies : []
18
18
task :
19
19
agent :
@@ -31,8 +31,8 @@ blocks:
31
31
- tar -czf wheelhouse-macOS-${ARCH}.tgz wheelhouse
32
32
- artifact push workflow wheelhouse-macOS-${ARCH}.tgz
33
33
- name : " Wheels: OSX arm64"
34
- run :
35
- when : " tag =~ '.*'"
34
+ # run:
35
+ # when: "tag =~ '.*'"
36
36
dependencies : []
37
37
task :
38
38
agent :
@@ -51,7 +51,6 @@ blocks:
51
51
- PIP_INSTALL_OPTIONS="--user" tools/wheels/build-wheels.sh "${LIBRDKAFKA_VERSION#v}" wheelhouse
52
52
- tar -czf wheelhouse-macOS-${ARCH}.tgz wheelhouse
53
53
- artifact push workflow wheelhouse-macOS-${ARCH}.tgz
54
-
55
54
- name : Source package verification with Python 3 (OSX x64) +docs
56
55
dependencies : []
57
56
task :
@@ -81,8 +80,8 @@ blocks:
81
80
- python setup.py build && python setup.py install
82
81
- make docs
83
82
- name : " Wheels: Linux arm64"
84
- run :
85
- when : " tag =~ '.*'"
83
+ # run:
84
+ # when: "tag =~ '.*'"
86
85
dependencies : []
87
86
task :
88
87
agent :
@@ -99,3 +98,66 @@ blocks:
99
98
- ./tools/build-manylinux.sh "${LIBRDKAFKA_VERSION#v}"
100
99
- tar -czf wheelhouse-linux-${ARCH}.tgz wheelhouse
101
100
- artifact push workflow wheelhouse-linux-${ARCH}.tgz
101
+ - name : " Wheels: Windows"
102
+ # run:
103
+ # when: "tag =~ '.*'"
104
+ dependencies : []
105
+ task :
106
+ agent :
107
+ machine :
108
+ type : s1-prod-windows
109
+ env_vars :
110
+ - name : OS_NAME
111
+ value : windows
112
+ - name : ARCH
113
+ value : x64
114
+ prologue :
115
+ commands :
116
+ - cache restore msys2-x64
117
+ - " .\\ tools\\ mingw-w64\\ setup-msys2.ps1"
118
+ - $env:PATH = 'C:\msys64\usr\bin;' + $env:PATH
119
+ - bash -lc './tools/mingw-w64/msys2-dependencies.sh'
120
+ - cache delete msys2-x64
121
+ - cache store msys2-x64 c:/msys64
122
+ jobs :
123
+ - name : Build
124
+ env_vars :
125
+ - name : CHERE_INVOKING
126
+ value : ' yes'
127
+ - name : MSYSTEM
128
+ value : UCRT64
129
+ commands :
130
+ - bash tools/mingw-w64/semaphore_commands.sh
131
+ - bash tools/wheels/install-librdkafka.sh $env:LIBRDKAFKA_VERSION.TrimStart("v") dest
132
+ - tools/wheels/build-wheels.bat x64 win_amd64 dest wheelhouse
133
+ - ls
134
+ - tar -czf wheelhouse-windows-${ARCH}.tgz wheelhouse
135
+ - artifact push workflow wheelhouse-windows-${ARCH}.tgz
136
+ - name : Source package verification with Python 3 (Linux x64) +docs
137
+ dependencies : []
138
+ task :
139
+ agent :
140
+ machine :
141
+ type : s1-prod-ubuntu20-04-amd64-3
142
+ env_vars :
143
+ - name : OS_NAME
144
+ value : linux
145
+ - name : ARCH
146
+ value : x64
147
+ jobs :
148
+ - name : Build
149
+ commands :
150
+ # use a virtualenv
151
+ - python3 -m venv _venv && source _venv/bin/activate
152
+ - pip install -r docs/requirements.txt
153
+ - pip install -U protobuf
154
+ # install librdkafka
155
+ - lib_dir=dest/runtimes/$OS_NAME-$ARCH/native
156
+ - tools/wheels/install-librdkafka.sh "${LIBRDKAFKA_VERSION#v}" dest
157
+ - export CFLAGS="$CFLAGS -I${PWD}/dest/build/native/include"
158
+ - export LDFLAGS="$LDFLAGS -L${PWD}/${lib_dir}"
159
+ - export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$PWD/$lib_dir"
160
+ - export DYLD_LIBRARY_PATH="$DYLD_LIBRARY_PATH:$PWD/$lib_dir"
161
+ # install confluent-kafka
162
+ - python setup.py build && python setup.py install
163
+ - make docs
0 commit comments