Skip to content

Commit

Permalink
Added copy of build job to test_release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
integraledelebesgue committed Oct 5, 2024
1 parent 910c0e2 commit 8ad14ce
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/test_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,43 @@ jobs:
file_path: "mini_face_oxidized/open_face_api/vcpkg.json"
prop_path: "version"

# TODO: think about reusing this job instead of copying
build:
name: Build wheels on ${{ matrix.os }}

runs-on: ${{ matrix.os }}

strategy:
matrix:
os: [ubuntu-latest, macos-15]

steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"

- name: Install vcpkg
uses: lukka/[email protected]
# Separate vcpkg installation procedure on Linux
if: runner.os != 'Linux'

- name: Install cibuildwheel
run: python -m pip install cibuildwheel

- name: Build wheels
run: python -m cibuildwheel --output-dir dist

- name: Show obtained wheels and some debug info
run: |
ls ./dist
- name: Store wheels
uses: actions/upload-artifact@v3
with:
name: wheels
path: ./dist/*.whl

publish:
name: >-
Publish Python 🐍 distribution 📦 to PyPI
Expand Down

0 comments on commit 8ad14ce

Please sign in to comment.