@@ -12,8 +12,8 @@ global_job_config:
1212 - checkout
1313blocks :
1414 - name : " Wheels: OSX x64"
15- run :
16- when : " tag =~ '.*'"
15+ # run:
16+ # when: "tag =~ '.*'"
1717 dependencies : []
1818 task :
1919 agent :
@@ -31,8 +31,8 @@ blocks:
3131 - tar -czf wheelhouse-macOS-${ARCH}.tgz wheelhouse
3232 - artifact push workflow wheelhouse-macOS-${ARCH}.tgz
3333 - name : " Wheels: OSX arm64"
34- run :
35- when : " tag =~ '.*'"
34+ # run:
35+ # when: "tag =~ '.*'"
3636 dependencies : []
3737 task :
3838 agent :
@@ -51,7 +51,6 @@ blocks:
5151 - PIP_INSTALL_OPTIONS="--user" tools/wheels/build-wheels.sh "${LIBRDKAFKA_VERSION#v}" wheelhouse
5252 - tar -czf wheelhouse-macOS-${ARCH}.tgz wheelhouse
5353 - artifact push workflow wheelhouse-macOS-${ARCH}.tgz
54-
5554 - name : Source package verification with Python 3 (OSX x64) +docs
5655 dependencies : []
5756 task :
@@ -81,8 +80,8 @@ blocks:
8180 - python setup.py build && python setup.py install
8281 - make docs
8382 - name : " Wheels: Linux arm64"
84- run :
85- when : " tag =~ '.*'"
83+ # run:
84+ # when: "tag =~ '.*'"
8685 dependencies : []
8786 task :
8887 agent :
@@ -99,3 +98,66 @@ blocks:
9998 - ./tools/build-manylinux.sh "${LIBRDKAFKA_VERSION#v}"
10099 - tar -czf wheelhouse-linux-${ARCH}.tgz wheelhouse
101100 - 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