Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions .github/workflows/build_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,12 @@ jobs:
- name: Build source
working-directory: ./sdks/python
run: python setup.py sdist --formats=gztar,zip
- name: Add checksums
working-directory: ./sdks/python/dist
run: |
for file in *.zip *.tar.gz; do
sha512sum $file > ${file}.sha512
done
- name: Unzip source
working-directory: ./sdks/python
run: unzip dist/$(ls dist | grep .zip | head -n 1)
Expand Down Expand Up @@ -128,6 +134,15 @@ jobs:
CIBW_BEFORE_BUILD: pip install cython
run: cibuildwheel --print-build-identifiers && cibuildwheel --output-dir wheelhouse
shell: bash
- name: install sha512sum on MacOS
if: startsWith(matrix.os, 'macos')
run: brew install coreutils
- name: Add checksums
working-directory: apache-beam-source/wheelhouse/
run: |
for file in *.whl; do
sha512sum $file > ${file}.sha512
done
- name: Upload wheels as artifacts
uses: actions/upload-artifact@v2
with:
Expand Down