aahmed-se commented on a change in pull request #5931: Add github workflow to generate python wheel artifacts URL: https://github.com/apache/pulsar/pull/5931#discussion_r361250270
########## File path: .github/workflows/python-whl-osx.yaml ########## @@ -0,0 +1,56 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + +name: Python 37 wheel osx +on: + pull_request: + branches: + - master + +jobs: + + build-wheel: + name: build-wheel + runs-on: macos-latest + timeout-minutes: 15 + + steps: + - name: checkout + uses: actions/checkout@v1 + + - name: brew pakages + run: brew install boost-python3 protobuf python jsoncpp openssl zlib + + - name: build wheel file + run: | + cd pulsar-client-cpp + cmake . -DBUILD_TESTS=OFF \ + -DLINK_STATIC=ON \ + -DPYTHON_LIBRARY=/usr/local/Frameworks/Python.framework/Versions/3.7/lib/libpython3.7.dylib \ + -DPYTHON_INCLUDE_DIR=/usr/local/Frameworks/Python.framework/Versions/3.7/include/python3.7m + make _pulsar -j8 + cd python + python3 setup.py bdist_wheel + cd ../.. + + - uses: actions/upload-artifact@master + name: upload wheel artifact + with: + name: python-wheel-artifacts + path: pulsar-client-cpp/python/dist Review comment: In github it self it's in the job run https://github.com/apache/pulsar/pull/5931/checks?check_run_id=362655254 top right hand corner. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
