Skip to content

Commit

Permalink
attempt 2 to fix
Browse files Browse the repository at this point in the history
  • Loading branch information
theomonnom committed Oct 3, 2023
1 parent b2c0e50 commit 17d2a90
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ jobs:
build_wheels:
name: Build api wheel
runs-on: ubuntu-latest
defaults:
run:
working-directory: ${{ env.PACKAGE_DIR }}
steps:
- uses: actions/checkout@v3
with:
Expand All @@ -23,17 +26,14 @@ jobs:

- name: Build wheel
run: python3 -m build --wheel
working-directory: ${{ env.PACKAGE_DIR }}
env:
CIBW_ARCHS: ${{ matrix.archs }}
CIBW_SKIP: "*-musllinux_*"

- name: Build SDist
working-directory: ${{ env.PACKAGE_DIR }}
run: pipx run build --sdist

- uses: actions/upload-artifact@v3
working-directory: ${{ env.PACKAGE_DIR }}
with:
name: api-release
path: |
Expand Down
11 changes: 6 additions & 5 deletions .github/workflows/build-rtc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@ jobs:
archs: AMD64 # ignore windows arm64 for now
- os: macos-latest
archs: x86_64 arm64

defaults:
run:
working-directory: ${{ env.PACKAGE_DIR }}
steps:
- uses: actions/checkout@v3
with:
Expand All @@ -40,31 +42,30 @@ jobs:

- name: Build wheels
run: python3 -m cibuildwheel --output-dir dist
working-directory: ${{ env.PACKAGE_DIR }}
env:
CIBW_ARCHS: ${{ matrix.archs }}
CIBW_SKIP: "*-musllinux_*"

- uses: actions/upload-artifact@v3
working-directory: ${{ env.PACKAGE_DIR }}
with:
name: rtc-release
path: dist/*.whl

make_sdist:
name: Make rtc sdist
runs-on: ubuntu-latest
defaults:
run:
working-directory: ${{ env.PACKAGE_DIR }}
steps:
- uses: actions/checkout@v3
with:
submodules: true

- name: Build SDist
working-directory: ${{ env.PACKAGE_DIR }}
run: pipx run build --sdist

- uses: actions/upload-artifact@v3
working-directory: ${{ env.PACKAGE_DIR }}
with:
name: rtc-release
path: dist/*.tar.gz
Expand Down

0 comments on commit 17d2a90

Please sign in to comment.